-
Bug
-
Resolution: Fixed
-
P2
-
6u18
-
b04
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2198838 | 7 | Roman Kennke | P2 | Resolved | Fixed | b104 |
The new DownloadService2 API throws a NullPointerException when application calls DownloadService2.getCachedResources():
java.lang.NullPointerException
at com.sun.jnlp.DownloadService2Impl.matches(Unknown Source)
at com.sun.jnlp.DownloadService2Impl.getCachedResourcesImpl(Unknown Source)
at com.sun.jnlp.DownloadService2Impl.access$000(Unknown Source)
at com.sun.jnlp.DownloadService2Impl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.DownloadService2Impl.getCachedResources(Unknown Source)
at hello.test(hello.java:28)
at hello.<init>(hello.java:17)
at hello.main(hello.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.jnlp.DownloadService2Impl.matches(Unknown Source)
at com.sun.jnlp.DownloadService2Impl.getCachedResourcesImpl(Unknown Source)
at com.sun.jnlp.DownloadService2Impl.access$000(Unknown Source)
at com.sun.jnlp.DownloadService2Impl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.DownloadService2Impl.getCachedResources(Unknown Source)
at hello.test(hello.java:28)
at hello.<init>(hello.java:17)
at hello.main(hello.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- backported by
-
JDK-2198838 NullPointerException in DownloadService2
- Resolved
- duplicates
-
JDK-6894094 DownloadService2.getCachedResources is throwing NPE.
- Closed