Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Not able to create runtime server configuration in WTP 0.7.0
Not able to create runtime server configuration in WTP 0.7.0 [message #220950] Thu, 12 July 2007 03:39 Go to next message
Eclipse UserFriend
Originally posted by: inderjeet.singh.siemens.com

Hi,
I am using WTP 0.7.0. I have j2sdk 1.4.1_07 installed on my machine. I
also have Jboss 4.0.4GA App Server on my machine. I try to create 'New
Server Runtime' from Windows->Preference->Server->Installed Rutimes->Add.
When I select the Jboss server from the list and click on the 'next'
button, I do not see any change on the screen. But in .metedat/.log file I
see a 'Null Pointer Exception' coming. The entire trace comes like
following:

<code>
eclipse.buildId=I20050627-1435
java.version=1.4.1_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 4 2007-07-12 09:02:48.289
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-07-12 09:02:48.305
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jst.server.generic.internal.xml.XMLUtils.readFil e(XMLUtils.java:116)
at
org.eclipse.jst.server.generic.internal.xml.XMLUtils.refresh (XMLUtils.java:75)
at
org.eclipse.jst.server.generic.internal.xml.XMLUtils.<init>(XMLUtils.java:62)
at
org.eclipse.jst.server.generic.core.internal.ServerTypeDefin itionManager. <init>(ServerTypeDefinitionManager.java:52)
at
org.eclipse.jst.server.generic.core.internal.CorePlugin.getS erverTypeDefinitionManager(CorePlugin.java:88)
at
org.eclipse.jst.server.generic.ui.internal.ServerDefinitionT ypeAwareWizardFragment.getServerTypeDefinition(ServerDefinit ionTypeAwareWizardFragment.java:71)
at
org.eclipse.jst.server.generic.ui.internal.GenericServerRunt imeWizardFragment.enter(GenericServerRuntimeWizardFragment.j ava:112)
at
org.eclipse.wst.server.ui.internal.wizard.TaskWizard.switchW izardFragment(TaskWizard.java:292)
at
org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.set Visible(TaskWizardPage.java:84)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDi alog.java:1030)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog. java:1013)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.jav a:1003)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog. java:1001)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:753)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
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.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.wst.server.ui.internal.RuntimePreferencePage.sho wWizard(RuntimePreferencePage.java:356)
at
org.eclipse.wst.server.ui.internal.RuntimePreferencePage$2.w idgetSelected(RuntimePreferencePage.java:135)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
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.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

</code>

I am not able to find out that what is the problem. Earlier it used to
work fine. I was trying to get the new version of WTP installed, but that
did not work. When I reverted back my changes, it stopped working. I tried
to install WTP freshly at a new location on my machine but getting the
same problem.

Any pointers to this problem would be very helpful to me.

Thanks & Regards
Inder Jeet Singh
Re: Not able to create runtime server configuration in WTP 0.7.0 [message #221013 is a reply to message #220950] Thu, 12 July 2007 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Hi,

First of all, with question concerning WTP you should go to
eclipse.webtools newsgroup.

Second of all, the current version of WTP is 2.0, which works with
Eclipse 3.3.
If you want to develop JEE applications you should consider downloading
"Eclipse IDE for Java EE Developers" version of Eclipse from
http://www.eclipse.org/downloads/

And if you have just fresh copy of Eclipse 3.3 you can use Update
Manager to download all the web tools.

Hope this helps,

--
Jakub Jurkiewicz
http://eclipser-blog.blogspot.com/

Inder Jeet Singh wrote:
> Hi,
> I am using WTP 0.7.0. I have j2sdk 1.4.1_07 installed on my machine. I
> also have Jboss 4.0.4GA App Server on my machine. I try to create 'New
> Server Runtime' from Windows->Preference->Server->Installed
> Rutimes->Add. When I select the Jboss server from the list and click on
> the 'next' button, I do not see any change on the screen. But in
> .metedat/.log file I see a 'Null Pointer Exception' coming. The entire
> trace comes like following:
>
> <code>
> eclipse.buildId=I20050627-1435
> java.version=1.4.1_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2007-07-12 09:02:48.289
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 2007-07-12 09:02:48.305
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.jst.server.generic.internal.xml.XMLUtils.readFil e(XMLUtils.java:116)
>
> at
> org.eclipse.jst.server.generic.internal.xml.XMLUtils.refresh (XMLUtils.java:75)
>
> at
> org.eclipse.jst.server.generic.internal.xml.XMLUtils.<init>(XMLUtils.java:62)
>
> at
> org.eclipse.jst.server.generic.core.internal.ServerTypeDefin itionManager. <init>(ServerTypeDefinitionManager.java:52)
>
> at
> org.eclipse.jst.server.generic.core.internal.CorePlugin.getS erverTypeDefinitionManager(CorePlugin.java:88)
>
> at
> org.eclipse.jst.server.generic.ui.internal.ServerDefinitionT ypeAwareWizardFragment.getServerTypeDefinition(ServerDefinit ionTypeAwareWizardFragment.java:71)
>
> at
> org.eclipse.jst.server.generic.ui.internal.GenericServerRunt imeWizardFragment.enter(GenericServerRuntimeWizardFragment.j ava:112)
>
> at
> org.eclipse.wst.server.ui.internal.wizard.TaskWizard.switchW izardFragment(TaskWizard.java:292)
>
> at
> org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.set Visible(TaskWizardPage.java:84)
>
> at
> org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDi alog.java:1030)
> at
> org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog. java:1013)
> at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.jav a:1003)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog. java:1001)
> at
> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:753)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> 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.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at
> org.eclipse.wst.server.ui.internal.RuntimePreferencePage.sho wWizard(RuntimePreferencePage.java:356)
>
> at
> org.eclipse.wst.server.ui.internal.RuntimePreferencePage$2.w idgetSelected(RuntimePreferencePage.java:135)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> 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.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at
> org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:66)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> </code>
>
> I am not able to find out that what is the problem. Earlier it used to
> work fine. I was trying to get the new version of WTP installed, but
> that did not work. When I reverted back my changes, it stopped working.
> I tried to install WTP freshly at a new location on my machine but
> getting the same problem.
>
> Any pointers to this problem would be very helpful to me.
>
> Thanks & Regards
> Inder Jeet Singh
>
Re: Not able to create runtime server configuration in WTP 0.7.0 [message #221287 is a reply to message #221013] Fri, 13 July 2007 03:51 Go to previous message
Eclipse UserFriend
Originally posted by: inderjeet.singh.siemens.com

Thanks for the suggestion.
But I could not see the support for Web Projects in WTP 2.0. Neither it
has the support for Jbos server which I need to use. Can you let me that
how will i get the desired functionality?

Thanks & Regards
Inder Jeet Singh
Previous Topic:Eclipse 3.3 & Subclipse 1.2.3 - Linked Resources Show Stopper Problem
Next Topic:Remote Access
Goto Forum:
  


Current Time: Fri Apr 26 20:31:08 GMT 2024

Powered by FUDForum. Page generated in 0.08290 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top