0

Problem ZK Studio 9.0.3 when close Eclipse Ide!

asked 2009-03-24 09:45:18 +0800

kgibrank gravatar image kgibrank
48 1

Hi,
I use Ubuntu 8.10 and Eclipse IDE 3.4.2 (Ganymede) ... when I try to quit and go out IDE, I have this error in console:

START ECLIPSE IDE

RmiChannelServlet::init() contextPath=/www_xxxxx_it
Mar 24, 2009 10:30:15 AM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:126
INFO: Loading system default
Mar 24, 2009 10:30:16 AM org.zkoss.zk.ui.sys.ConfigParser parse:217
INFO: Parsing file:/opt/eclipse/configuration/org.eclipse.osgi/bundles/595/1/.cp/ZKVE_FRAME/WEB-INF/zk.xml
RmiChannelServlet: init VE_PORT is: 45253
EBD<<<<RmiChannel Report: Receive INS_EBD_DISPLAY

CLOSE ECLIPSE IDE (ERROR)

The event processing thread stops
java.lang.NullPointerException
	at org.zkoss.zk.ui.sys.SessionsCtrl.getSession(SessionsCtrl.java:90)
	at org.zkoss.zk.ui.http.WebManager.sessionDestroyed(WebManager.java:327)
	at org.zkoss.zk.ui.http.HttpSessionListener.sessionDestroyed(HttpSessionListener.java:41)
	at org.mortbay.jetty.servlet.AbstractSessionManager.removeSession(AbstractSessionManager.java:665)
	at org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:938)
	at org.mortbay.jetty.servlet.HashSessionManager$Session.invalidate(HashSessionManager.java:500)
	at org.mortbay.jetty.servlet.HashSessionManager.invalidateSessions(HashSessionManager.java:312)
	at org.mortbay.jetty.servlet.AbstractSessionManager.doStop(AbstractSessionManager.java:216)
	at org.mortbay.jetty.servlet.HashSessionManager.doStop(HashSessionManager.java:93)
	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:125)
	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
	at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:569)
	at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:485)
	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64)
	at org.zkoss.eclipse.ve.server.jetty.AJettyVeWebApplication.stop(AJettyVeWebApplication.java:101)
	at org.zkoss.eclipse.ve.server.jetty.ProjectVeWebApplication.stop(ProjectVeWebApplication.java:60)
	at org.zkoss.eclipse.ve.server.jetty.JettyEmbeddedServer.stop(JettyEmbeddedServer.java:145)
	at org.zkoss.eclipse.ve.VisualEditorPlugin.stop(VisualEditorPlugin.java:127)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046)
	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531)
	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:655)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:312)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:257)
	at org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:236)
	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:678)
	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:576)
	at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:424)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Thank you very much

ORAZIO

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-03-25 01:59:52 +0800

iantsai gravatar image iantsai
2755 1

Actually it's ZK's problem, ZK core should ignore session clean up when server is being shut down.
you can see the same error message if you use JBoss and try to close Web Container which run ZK inside.

link publish delete flag offensive edit

answered 2009-03-24 11:39:09 +0800

dennis gravatar image dennis
3669 1 6
http://www.javaworld.com....

hi, this is a no hurt bug, however, please post to bug list https://sourceforge.net/tracker/?group_id=225644&atid=1065690
thanks.

/Dennis

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-24 09:45:18 +0800

Seen: 890 times

Last updated: Mar 25 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More