应用程序升级会引发NPE

时间:2012-11-09 18:26:22

标签: java jnlp java-web-start

我正在使用JarDiff + Pack200 +签名app / jars

我的应用程序v1.0需要j2se版本= 1.6.0_16 在第一次安装/下载后,我部署了需要j2se版本= 1.7 +

的v2.0

使用空指针异常的随机jar升级失败 启动v2的第二次尝试总是成功。

我已经使用java 1.6.0_16和7u7从命令行测试了它。 任何想法意味着什么?

java.lang.NullPointerException
at com.sun.deploy.net.DownloadEngine.applyPatch(Unknown Source)
at com.sun.deploy.cache.CacheEntry.processTempDataFile(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

0 个答案:

没有答案