NullPointerException in Tomcat [message #126659] |
Wed, 01 April 2009 03:16  |
Eclipse User |
|
|
|
Hi,
I'm getting this error while running hello-world RAP-example in tomcat.
It's not a .war file, it's running out of eclipse and all JARs from the
RAP-runtime are in the WEB-INF/lib directory. plugin.xml and xxx.launch
are not exported, do i need them? where exactly do I need them to be?
Any suggestions? Please help me...
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
java.lang.NullPointerException
org.eclipse.ui.internal.Workbench.initializeImages(Workbench .java:1533)
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:567)
org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:168)
rapexample.Application.createUI(Application.java:15)
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
java.lang.Thread.run(Thread.java:619)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.
|
|
|
|
|
|
|
|
Re: NullPointerException in Tomcat [message #127305 is a reply to message #126769] |
Mon, 06 April 2009 06:18  |
Eclipse User |
|
|
|
Hi Anton,
we don't use web tools here, so we cannot advise with this case. But I
agree with Ivan, you should start with a normal war file deployment.
Then you can see what is needed and can mimic the contents of the war
file in your web tools project.
> [1]
> http://eclipsesource.com/blogs/2007/12/07/rap-deployment-par t-2-deploying-your-application-as-a-war-file/
I'd rather suggest that you refer to the RAP Help with has an chapter on
war deployment, too. It's included in your Eclipse IDE if you have RAP
Tooling installed. The help is more up to date and the blog post above
contains an approach that is not recommendable from our point of view.
Next thing you should do is get an OSGi console (enable -console in your
web.xml) and see which bundles are installed and active.
Best regards, Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.07295 seconds