Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8030075

com.sun.jnlp.DownloadServiceImplTest.testRemoveAndLoadPart: NPE at ToolkitStore.get().getAppContext()

XMLWordPrintable

    • b06

        testRemoveAndLoadPart: NPE at ToolkitStore.get().getAppContext()

        Testcase: testRemoveAndLoadPart(com.sun.jnlp.DownloadServiceImplTest): Caused an ERROR
        null
        java.lang.NullPointerException
        at com.sun.deploy.model.ResourceProvider.isInBackgroundUpdateCheckList(ResourceProvider.java:422)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(ResourceProviderImpl.java:71)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(ResourceProviderImpl.java:235)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(ResourceProviderImpl.java:220)
        at com.sun.deploy.model.ResourceProvider.getResource(ResourceProvider.java:104)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(LaunchDescFactory.java:218)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:205)
        at com.sun.jnlp.DownloadServiceImplTest.setupJNLPClassLoader(DownloadServiceImplTest.java:141)
        at com.sun.jnlp.DownloadServiceImplTest.testRemoveAndLoadPart(DownloadServiceImplTest.java:62)
        at sun.tests.junit.DeployTestCase.runBare(DeployTestCase.java:131)

        Same as JNLP2ManagerTest:

        Testcase: testCodebaseCase6b(sun.plugin2.applet.JNLP2ManagerTest): Caused an ERROR
        null
        java.lang.NullPointerException
        at com.sun.deploy.model.ResourceProvider.isInBackgroundUpdateCheckList(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at sun.plugin2.applet.JNLP2ManagerTest.testCodebaseCase6b(JNLP2ManagerTest.java:588)
        at sun.tests.junit.DeployTestCase.runBare(DeployTestCase.java:131)

        Testcase: testGetDraggedTitle(sun.plugin2.applet.JNLP2ManagerTest): Caused an ERROR
        null
        java.lang.NullPointerException
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1011)
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1007)
        at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1002)
        at java.awt.Toolkit.getEventQueue(Toolkit.java:1730)
        at java.awt.EventQueue.isDispatchThread(EventQueue.java:1013)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1253)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349)
        at com.sun.deploy.uitoolkit.impl.awt.UIToolkitImpl.setContextClassLoader(Unknown Source)
        at com.sun.deploy.uitoolkit.DelegatingPluginUIToolkit.setContextClassLoader(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager.getOrCreatePlugin2ClassLoader(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager.getAppletClassLoader(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
        at sun.plugin2.applet.JNLP2ManagerTest.testGetDraggedTitle(JNLP2ManagerTest.java:345)
        at sun.tests.junit.DeployTestCase.runBare(DeployTestCase.java:131)

              yaow Yao Wang (Inactive)
              yaow Yao Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: