- This topic has 10 replies, 4 voices, and was last updated 15 years, 5 months ago by
support-joy.
-
AuthorPosts
-
tregulskiMemberHello,
I am unable to start the “MyEclipse Tomcat” instance. I receive the following error message from the IDE: “java.lang.NullPointerException: An error has occurred. See error log for more details.”
Upon examination of the .log file, I found the enclosed error. This project was created in the default workspace as a simple web project, with no modifications made to it. I also tried another instance of Tomcat, separate for the sandbox version provided by MyEclipse, and still received the same error message.
Thanks.
!ENTRY org.eclipse.core.jobs 4 2 2009-03-03 11:38:18.355
!MESSAGE An internal error occurred during: “Launching vips-remas-web on MyEclipse Tomcat “.
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:152)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.computeDeploymentLocation(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.�(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.�(Unknown Source)
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)!ENTRY org.eclipse.jface 4 2 2009-03-03 13:12:52.450
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.JavaVMUtility.getLaunchByServerId(JavaVMUtility.java:378)
at com.genuitec.eclipse.core.JavaVMUtility.getLaunchByServerId(JavaVMUtility.java:365)
at com.genuitec.eclipse.easie.core.ui.action.ServerRestartAction.isEnabled(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:816)
at org.eclipse.jface.action.ActionContributionItem.actionPropertyChange(ActionContributionItem.java:175)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:169)
at org.eclipse.jface.action.ActionContributionItem$2.propertyChange(ActionContributionItem.java:136)
at org.eclipse.jface.action.AbstractAction.firePropertyChange(AbstractAction.java:48)
at org.eclipse.jface.action.AbstractAction.firePropertyChange(AbstractAction.java:71)
at com.genuitec.eclipse.easie.core.ui.action.ServerControlAction.selectionChanged(Unknown Source)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2062)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1638)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1104)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
at com.genuitec.eclipse.easie.core.ServerLaunchListener$1.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
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)March 4, 2009 at 9:28 am #295509
Loyal WaterMemberCan you go to Windows > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat 6 and hit “Restore MyEclipse Tomcat Installation”. Does that resolve the issue?
March 5, 2009 at 10:14 am #295574
tregulskiMemberNo, unfortunately it did not.
I found that, from the Servers tab I can start the server, but cannot “Add Deployment” (no form pops up when I select this option).
I also tried creating a new Web Project, but that did not work either.
March 5, 2009 at 10:39 am #295575
tregulskiMemberI reinstalled MyEclipse, to no avail. If I try to start MyEclipse Tomcat from Windows | Preferences | MyEclipse Blue Edition | Servers | Integrated Sandbox | MyEclipse Tomcat | Launch, then I get the following error message:
Mar 5, 2009 11:37:23 AM org.apache.catalina.startup.Catalina load
WARNING: Can’t load server.xml from C:\Documents and Settings\TRegulsk\Workspaces\MyEclipse 7.0 Blue Edition\.metadata\.me_tcat\conf\server.xml
Mar 5, 2009 11:37:23 AM org.apache.catalina.startup.Catalina load
WARNING: Can’t load server.xml from C:\Documents and Settings\TRegulsk\Workspaces\MyEclipse 7.0 Blue Edition\.metadata\.me_tcat\conf\server.xml
Mar 5, 2009 11:37:23 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
… 6 moreMarch 5, 2009 at 10:39 am #295576
tregulskiMemberThe folder:
C:\Documents and Settings\TRegulsk\Workspaces\MyEclipse 7.0 Blue Edition\.metadata\.me_tcatexists but is otherwise empty (except for a temp subfolder).
March 5, 2009 at 12:20 pm #295586
Loyal WaterMembertregulski,
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.Did you setup MyEclipse using the All in One installer?
March 5, 2009 at 2:19 pm #295596
tregulskiMemberListed below are the Installation Details.
Yes, I installed MyEclipse with All in One.
Thanks.
Tim*** Date:
Thursday, March 5, 2009 3:18:08 PM EST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Blue Edition
Version: 7.0 Blue
Build id: 7.0-Blue-20081201*** Eclipse details:
MyEclipse Blue EditionVersion: 7.0 Blue
Build id: 7.0-Blue-20081201Eclipse 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
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dllMarch 5, 2009 at 3:24 pm #295599
tregulskiMemberI fixed the problem…
I uninstalled JDK 6u12 (which left the latest version being JDK 6u7), which I had heard caused some issues during MyEclipse installation, then uninstalled MyEclipse. I then reinstalled MyEclipse, and can now run “MyEclipse Tomcat”.
Thanks for your help.
March 6, 2009 at 3:36 am #295610
Loyal WaterMemberI fixed the problem…
Glad you got the issue sorted out. Thanks for letting us know.
January 17, 2010 at 2:24 am #305405
Thomas EichbergerMemberThis message has not been recovered.
January 18, 2010 at 3:05 am #305426
support-joyMemberThis message has not been recovered.
-
AuthorPosts