harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1858) [classlib][luni] NPE in JarURLConnection.findJarFile() breaks Eclipse help system
Date Wed, 18 Oct 2006 08:50:36 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1858?page=all ]

Paulex Yang resolved HARMONY-1858.
----------------------------------

    Resolution: Fixed
      Assignee: Paulex Yang

Yerlan, please verify the problem has been fixed as you expected, thank you.

> [classlib][luni] NPE in JarURLConnection.findJarFile() breaks Eclipse help system
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-1858
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1858
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>         Environment: Eclipse 3.1.1/Eclipse 3.2 & Windows/Linux
>            Reporter: Yerlan A. Tokpanov
>         Assigned To: Paulex Yang
>         Attachments: harmony-1858-fix.patch.txt
>
>
> Start Eclipse, open menu Help->Help Contents. Help is opened with "HTTP 404 - File
not found" error.
> And, the logfile at %WORKSPACE%\.metadata\.plugins\org.eclipse.tomcat\catalina.2006-10-13.log
contains the following:
> WebappLoader[]: Deploying class repositories to work directory c:\users\lab_drlbuild\ccf\tests\win\3.1.1\EHLP\scenario_workspace\.metadata\.plugins\org.eclipse.tomcat\ROOT
> ContextConfig[]: Added certificates -> request attribute Valve
> StandardManager[]: Seeding random number generator class java.security.SecureRandom
> StandardManager[]: Seeding of random number generator has been completed
> StandardWrapper[:default]: Loading container servlet default
> StandardWrapper[:invoker]: Loading container servlet invoker
> CoyoteConnector Coyote can't register jmx for protocol
> WebappLoader[/help]: Deploying class repositories to work directory c:\users\lab_drlbuild\ccf\tests\win\3.1.1\EHLP\scenario_workspace\.metadata\.plugins\org.eclipse.tomcat\help
> WebappLoader[/help]: Deploy JAR /WEB-INF/lib/jsp.jar to C:\users\lab_drlbuild\ccf\3.1.1\eclipse\plugins\org.eclipse.help.webapp_3.1.0\WEB-INF\lib\jsp.jar
> WebappLoader[/help]: Deploy JAR /WEB-INF/lib/servlets.jar to C:\users\lab_drlbuild\ccf\3.1.1\eclipse\plugins\org.eclipse.help.webapp_3.1.0\WEB-INF\lib\servlets.jar
> ContextConfig[/help] Exception processing JAR at resource path /WEB-INF/lib/jsp.jar
> javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jsp.jar
> 	at java.lang.Exception.<init>(Exception.java:49)
> 	at javax.servlet.ServletException.<init>(ServletException.java:134)
> 	at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
> 	at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:867)
> 	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:645)
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:242)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:593)
> 	at org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppServer.java:487)
> 	at org.eclipse.help.internal.appserver.WebappManager.start(WebappManager.java:61)
> 	at org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRunning(BaseHelpSystem.java:245)
> 	at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay.java:206)
> 	at org.eclipse.help.internal.base.HelpDisplay.displayHelpResource(HelpDisplay.java:87)
> 	at org.eclipse.help.ui.internal.DefaultHelpUI.displayHelpResource(DefaultHelpUI.java:233)
> 	at org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelpResource(WorkbenchHelpSystem.java:899)
> 	at org.eclipse.ui.internal.ide.TipsAndTricksAction$1.run(TipsAndTricksAction.java:104)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:60)
> 	at org.eclipse.ui.internal.ide.TipsAndTricksAction.run(TipsAndTricksAction.java:102)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:997)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:536)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3079)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1697)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1660)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:365)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:104)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:225)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:162)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
> 	at org.eclipse.core.launcher.Main.run(Main.java:971)
> 	at org.eclipse.core.launcher.Main.main(Main.java:948)
> ----- Root Cause -----
> java.lang.NullPointerException
> 	at org.apache.harmony.luni.util.Util.decode(Util.java:239)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.openJarFile(JarURLConnection.java:251)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection$2.run(JarURLConnection.java:189)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection$2.run(JarURLConnection.java:185)
> 	at java.security.AccessController.doPrivilegedImpl(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Unknown Source)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.findJarFile(JarURLConnection.java:184)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:144)
> 	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:160)
> 	at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:905)
> 	at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:867)
> 	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:645)
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:242)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:593)
> 	at org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppServer.java:487)
> 	at org.eclipse.help.internal.appserver.WebappManager.start(WebappManager.java:61)
> 	at org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRunning(BaseHelpSystem.java:245)
> 	at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay.java:206)
> 	at org.eclipse.help.internal.base.HelpDisplay.displayHelpResource(HelpDisplay.java:87)
> 	at org.eclipse.help.ui.internal.DefaultHelpUI.displayHelpResource(DefaultHelpUI.java:233)
> 	at org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelpResource(WorkbenchHelpSystem.java:899)
> 	at org.eclipse.ui.internal.ide.TipsAndTricksAction$1.run(TipsAndTricksAction.java:104)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:60)
> 	at org.eclipse.ui.internal.ide.TipsAndTricksAction.run(TipsAndTricksAction.java:102)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:997)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:536)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3079)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1697)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1660)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:365)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:104)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:225)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:162)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
> 	at org.eclipse.core.launcher.Main.run(Main.java:971)
> 	at org.eclipse.core.launcher.Main.main(Main.java:948)
> ContextConfig[/help]: Marking this application unavailable due to previous error(s)
> StandardManager[/help]: Seeding random number generator class java.security.SecureRandom
> StandardManager[/help]: Seeding of random number generator has been completed
> StandardContext[/help]: Context startup failed due to previous errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message