- This topic has 6 replies, 3 voices, and was last updated 21 years ago by Don Laidlaw.
-
AuthorPosts
-
Don LaidlawMemberOn WinXP
MyEclipse 3.6.3
Eclipse 3.0 M4Deploying a J2EE project puts the following exception in the Eclipse .log. Also, unable to remove the deployment config – gives the same exception.
!ENTRY org.eclipse.ui 4 4 Nov 04, 2003 11:15:15.571
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Nov 04, 2003 11:15:15.571
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ä„(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$1(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$4.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:255)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
at org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
at org.eclipse.core.launcher.Main.run(Main.java:765)
at org.eclipse.core.launcher.Main.main(Main.java:599)
Scott AndersonParticipantCan you please post all the information requested in the ‘Posting Guidelines’ announcement in this forum? That will give us enough information to know where to start diagnosing this.
–Scott
MyEclipse Support
Don LaidlawMemberWhat operating system and version are you running?
Windows XP – all the latest patches
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Eclipse 3.0.0 200310101454 (M4)
– Was Eclipse freshly installed for MyEclipse?
Yes
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?
No
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.6.3
What JDK version are you using to run Eclipse? (java -version)
1.4.2_01
What JDK version are you using to launch your application server?
1.4.2_01
What steps did you take that resulted in the issue?
Click “Deploy J2EE Project to server…” toolbar icon, select project, click Redeploy
What application server are you using?
JBoss 3.2.1
Are there any errors in the Eclipse log? (<workspace>/.metadata/.log)
Yes, see first post
support-michaelKeymasterI was looking at the NPE and hypothesizing that this may be an edge condition in the codebase. Here are a couple of more questions:
1) Are any of the appserver connectors enabled? The complement of this question is, are all of the appserver connectors disable?
2) Are there any J2EE project’s in your workspace?
If either of these is true then this is probably and edge condition.
Michael
MyEclipse Support
Don LaidlawMember1) Yes, there is exactly one appserver enabled. It is the JBoss 3.2.1 appserver I mentioned earlier.
2) Yes. There would have to be a J2EE project to be able to select a J2EE project to deploy.Too bad MyEclipse was not compiled with debug turned on – then you would know the line number the error is occuring at, at least.
Knowing this is an edge condition doesn’t help me much. I can neither run nor remove this deployment. Clicking either “Redeploy” or “Remove” causes the same exception. I could delete the project I suppose, but that sems like a bit of overkill.
support-michaelKeymasterI realize the edge condition hypothesis does not help you. I should have kept it to myself (I was just thinking out loud and trying to provide context for questions that might seem trivial).
Another question:
1) Can you start and stop JBoss from through the MyEclipse JBoss connector. If NO then there is a configuration error in the connector that is tripping the deployer.If #1 is all OK then try this:
1) shutdown MyEclipse
2) restart MyEclipse
3) creating a simple Web Project with 1 JSP and see if you can deploy/undeploy it.Michael
MyEclipse Support
Don LaidlawMemberFor some reason stopping and starting MyEclipse clears out the project deployment, and on the next attempt it works.
I also did this with a fresh, small deployment built from scratch. You must exit MyEclipse and restart before you are able to create project deployments.
This can be closed
-
AuthorPosts