- This topic has 18 replies, 6 voices, and was last updated 16 years, 1 month ago by
Brian Fernandes.
-
AuthorPosts
-
hluuMemberWhen trying to deploying a web project to MyEclipse Tomcat, I got “An internal error occurred during: “Launching testwebproject on MyEclipse Tomcat “.
java.lang.NullPointerException”I tried Restore Tomcat, but didn’t help.
Thanks,
Hien
MyEclipse Install Summary is below.
*** Date:
Friday, May 15, 2009 12:33:47 PM PDT** System properties:
OS=Linux
OS version=2.6.27
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.1.1
Build id: 7.1.1-20090310*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.1.1
Build id: 7.1.1-20090310Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-showsplash
-launcher
/home/hiluu/tools/myeclipse/MyEclipse70/myeclipse
-name
Myeclipse
–launcher.library
/home/hiluu/tools/myeclipse/MyEclipse70//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101.R34x_v20080805/eclipse_1115.so
-startup
/home/hiluu/tools/myeclipse/MyEclipse70//../Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-exitdata
c3000d
-clean
-configuration
/home/hiluu/tools/myeclipse/MyEclipse70/configuration
-vm
/home/hiluu/tools/myeclipse/Common/binary/com.sun.java.jre.linux.x86_1.5.0.011/bin/javaMay 17, 2009 at 11:44 pm #298488
support-joyMemberHien,
Thanks for the installation details. Can you answer below questions, this will help me determine the root cause –
1. What is the Ubuntu version you are using?
2. How did you install ME? Have you installed using all-in-one installer/using pulse/installed Eclipse 3.4.1 and added MyEclipse plugin?
3. Can you copy and paste your log file contents here? If your log file is too large, you can PM me the file as an attachment. Your log file is located at [your workspace dir]/.metadata/.log
4. Are you able to run tomcat outside of MyEclipse?May 18, 2009 at 3:35 pm #298524
hluuMemberHi Joy,
1) Ubuntu 8.10 – intrepid
2) All-in-one installer
3) See below
4) Yes, I am able to run tomcat outside of Eclipse!ENTRY org.eclipse.ui 4 0 2009-05-18 13:31:55.690
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.internal.runtime.FindSupport.findInPlugin(FindSupport.java:232)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:90)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:60)
at org.eclipse.core.runtime.FileLocator.find(FileLocator.java:87)
at com.genuitec.eclipse.easie.tomcat.myeclipse.EmbeddedServerUtils.includeMetro(EmbeddedServerUtils.java:248)
at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcatLauncherPlugin.prepareBuiltInTomcat(MyEclipseTomcatLauncherPlugin.java:142)
at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcat.start(MyEclipseTomcat.java:37)
at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.�(Unknown Source)
at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.basicRun(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)!ENTRY org.eclipse.core.jobs 4 2 2009-05-18 13:32:08.377
!MESSAGE An internal error occurred during: “Launching testwebproject on MyEclipse Tomcat “.
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.internal.runtime.FindSupport.findInPlugin(FindSupport.java:232)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:90)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:60)
at org.eclipse.core.runtime.FileLocator.find(FileLocator.java:87)
at com.genuitec.eclipse.easie.tomcat.myeclipse.EmbeddedServerUtils.includeMetro(EmbeddedServerUtils.java:248)
at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcatLauncherPlugin.prepareBuiltInTomcat(MyEclipseTomcatLauncherPlugin.java:142)
at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcat.start(MyEclipseTomcat.java:37)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.�(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:764)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:880)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1083)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)May 19, 2009 at 5:31 am #298532
support-joyMemberHien,
Can you clarify, what is the configured JRE?
Can you copy and paste the details of MyEclipse.ini here?(MyEclipse.ini is located under your MyEclipse installation dir). Make sure you don’t introduce any spaces or special characters in the config file. This is a super sensitive file, so you need to be extra careful.
Also verify the vm argument for JRE and validate if jvm.dll path is correct?May 19, 2009 at 3:38 pm #298548
hluuMemberMy configured JRE is java 1.5, I tried switching to the one underneath MyEclipse directory and still that didn’t help.
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
–launcher.library
../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101.R34x_v20080805
-clean
-configuration
/home/hiluu/tools/myeclipse/MyEclipse70/configuration
-vm
/home/hiluu/tools/myeclipse/Common/binary/com.sun.java.jre.linux.x86_1.5.0.011/bin/java
-vmargs
-Xmx512M
-XX:MaxPermSize=192MThis is on Ubuntu, is there really a jvm.dll?
May 20, 2009 at 6:16 am #298568
support-joyMemberHien,
I would like to clarify that ME is not very stable on Ubuntu 8.10+ (refer http://www.myeclipseide.com/module-htmlpages-display-pid-409.html ) Ubuntu 8.10+ not supported
MyEclipse 7.1 and all early versions are unstable on Ubuntu 8.10 and later systems. The root of the issue stems from a binary incompatibility between XUL Runner that is bundled in MyEclipse and XUL Runner that is bundled with the OS install.
Having said that I would like to inform that this issue is currently being addressed for our ME 7.5 release.
I am on Windows XP. Hence my VM points to jvm.dll. Your config file looks good. Can you install a complete 1.6 JDK/JRE and update your vm in the config file accordingly.If this doesn’t help I will get a dev member to assist you with this issue. Let me know how this works out?
May 20, 2009 at 2:35 pm #298590
Loyal WaterMemberhluu,
Are you working with MyEclipse Tomcat or have you configured an instance of Tomcat? I can only think if suggesting you to try another workspace and check if that helps. Incase it doesn’t, you will have to wait for our next release (7.5) when Ubuntu will be supported. The 7.5 Milestone release is scheduled to be released this week.June 15, 2009 at 12:06 pm #299428
pluthraMembergetting message “An internal error has occurred during: launching project on Tomcat 6.0”. Tomcat can be started externally as welll as internally on mY Eclipsse with out any problem. I am uing MyEclipse 7.1. No more details available.
June 16, 2009 at 1:55 am #299474
support-joyMemberpluthra,
What is the type of project you are trying to deploy? Is it a MyEclipse project?
You mention –Tomcat can be started externally as welll as internally on mY Eclipsse with out any problem.
Can you deploy your project on tomcat launched outside of MyEclipse and run your application? Can you copy and paste your installation details? You can get it from MyEclipse > Installation Summary > Installation Detail. Can you also copy and paste the relevant section from your log file? Your log file should be located at [your workspace dir]/.metadata/.log
June 18, 2009 at 9:25 am #299593
melentyeMemberI have the same problem with MyEclipse 7.1.1 under Windows XP. I can’t start Tomcat bundled in MyEclise (even without deployed applications), but I can start external Tomcat from MyEclipse.
part of log file:
!ENTRY org.eclipse.ui 4 0 2009-06-18 15:00:39.048 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.core.internal.runtime.FindSupport.findInPlugin(FindSupport.java:232) at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:90) at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:60) at org.eclipse.core.runtime.FileLocator.find(FileLocator.java:87) at com.genuitec.eclipse.easie.tomcat.myeclipse.EmbeddedServerUtils.includeMetro(EmbeddedServerUtils.java:248) at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcatLauncherPlugin.prepareBuiltInTomcat(MyEclipseTomcatLauncherPlugin.java:142) at com.genuitec.eclipse.easie.tomcat.myeclipse.MyEclipseTomcat.start(MyEclipseTomcat.java:37) at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.�(Unknown Source) at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.basicRun(Unknown Source) at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source) at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:585) 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) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
installation details:
*** Date: Thursday, June 18, 2009 4:24:22 PM CEST ** System properties: OS=WindowsXP OS version=5.1.0 Java version=1.5.0_10 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 7.1.1 Build id: 7.1.1-20090310 *** Eclipse details: MyEclipse Enterprise Workbench Version: 7.1.1 Build id: 7.1.1-20090310 Eclipse Platform Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu Build id: M20080911-1700 Eclipse Java Development Tools Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97 Build id: M20080709-0800 Eclipse Plug-in Development Environment Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP Build id: M20080703-0800 Eclipse Project SDK Version: 3.4.1.R34x_v20080827-7O7S78C2J40sK2o_ALcK8tLN_yZSJeg0P-3EtL4Ra90kv Build id: M20080911-1700 Eclipse Graphical Editing Framework GEF Version: 3.4.1.v20080806-67718083A56B4H2A3213573 Build id: 200809101400 Eclipse RCP Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341 Build id: M20080703-0800 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\DEV\MYECLIPSE711.ECA\eclipse.exe -name Eclipse --launcher.library C:\DEV\MYECLIPSE711.ECA\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\DEV\MYECLIPSE711.ECA\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -exitdata c00_7c0 -pluginCustomization ecare.epf -vm C:\BEA922\jdk150_10\bin\javaw.exe
June 19, 2009 at 6:46 am #299640
Brian FernandesModeratorAll NPEs referenced above are caused by a broken MyEclipse install where certain plugins are not being loaded. In this case, the com.genuitec.eclipse.ws.xfire is missing. How did you install MyEclipse 7.1.1, did you upgrade from a previous installation or install fresh? Could you go to Help > About > Plugins and let me know if you see com.genuitec.eclipse.ws.xfire in that list?
If you upgraded from a previous install, I would advise using an all-in-one installer (you should use 7.5 instead of 7.1.1).
Sorry for the inconvenience caused, please let us know if you need further assistance.
June 19, 2009 at 7:44 am #299644
melentyeMemberI’ve installed MyEclipse using archived update site. com.genuitec.eclipse.ws.xfire is missing in about – plugins, but the exists in the installation directory.
I’d really like to avoid upgrading/reinstalling of MyEclipse, because on the work machine I don’t have much access to internet and permissions. That’s why all-in-one installer won’t work, Pulse is too internet-addicted.
What can be the possible reasons for xfire plugin not to load? I see nothing suspicious in workspace logs.
June 19, 2009 at 9:31 am #299647
Brian FernandesModeratorCan you simply clear your error log and restart MyEclipse – then paste your error log here so we can have a look? Off the top of my head, I cannot think of anything which would cause plugin loading to fail. Can you see com.genuitec.eclipse.ws or is that also missing from about > plugins?
June 19, 2009 at 9:35 am #299648
melentyeMemberI think I found the reason. I was annoyed by Maven messages in console and deleted all maven-related plugins from installation directory.
Is maven plugin really a hard dependency for xfire plugin?
I’m asking because I didn’t find a real way to disable all maven functionality not only for the workspace/project scope, but for the whole MyEclipse installation scope.
June 19, 2009 at 9:43 am #299649
Brian FernandesModeratormelentye,
Maven is tightly integrated with much of MyEclipse and deleting some of these plugins could cause many failures in several feature sets, so you really do need restore those plugins.
As far as disabling Maven features, if you go to Window > Preferences > Maven4MyEclipse, you should be able to turn all Maven functionality off – did you try this? If you did, could you tell us what was still bothering you – we would need to fix that if required.
-
AuthorPosts