- This topic has 5 replies, 3 voices, and was last updated 20 years, 2 months ago by davidlg.
-
AuthorPosts
-
davidlgMemberHello, I have been using eclipse for sometime with some free jsp debugging tools and finally (about 4 months ago) moved to MyEclipse. It works very well and am able to debug jsps and others. However I have noticed that very often while debuging, it causes my maching to crash. It runs great when building projects, and creatingnew projects however when ever I debug a java program (via main method) or a jsp through tomcat 4 or 5 it causes my machine to reset. It alsways happens while stepping. Almost as a direct result of hitting the f5 or f6 to step.
This never happened while I was not using myeclipse plugin. Any Ideas as to why? I’ll give any log files needed but I don’t think there is ever time to dump crash info. Maybe my environment is messed? It’s a clean install of eclipse 3.0.1 and the latest release of myeclipse and java 1.4.2_05.
What settings or log info might you need to troubleshoot this?
-David Gordhamer
davidlgMemberI’m using eclipse build: 200409161125 v 3.0.1
and myeclipose: 3.8.1and this has been happening on earlier versions of both also.
Scott AndersonParticipantTo troubleshoot, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
davidlgMemberCertainly. Thanks for the link.
os: win2k
eclipse: Version: 3.0.1, Build id: 200409161125
no plugins other than the standard.
Eclipse was installed for this reason (MyEclipse)
eclipse is started with: C:\eclipse-3.0.1\eclipse.exe -vm “C:\j2sdk1.4.2_05\bin\java.exe” -vmargs -Xms256m -Xmx256m
I’m using tomcat 4.1.29 and 5.0.19 with the same jdk that eclipse is using.Eclipse log file has a few messages but doesn’t seem to relate but here they are:
!ENTRY com.genuitec.eclipse.sqlexplorer 4 4 Oct 05, 2004 14:03:47.537
!MESSAGE Error enabling assistance
!STACK 0
java.lang.InterruptedException: Operation was cancelled by user
at com.genuitec.eclipse.sqlexplorer.sessiontree.model.SessionTreeNode.<init>(Unknown Source)
at com.genuitec.eclipse.sqlexplorer.sessiontree.model.SessionTreeModel.createSessionTreeNode(Unknown Source)
at com.genuitec.eclipse.sqlexplorer.RetrievingTableDataProgress.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
!SESSION Oct 06, 2004 10:36:06.352 ———————————————
eclipse.buildId=M200409161125
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY org.eclipse.core.resources 2 1 Oct 06, 2004 10:36:06.352
!MESSAGE Skipping builder com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder for project Connection. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.!ENTRY org.eclipse.team.cvs.core 4 1 Oct 06, 2004 11:10:21.703
!MESSAGE The following warnings were reported while performing the “cvs version” command.
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -20 Oct 06, 2004 11:10:21.703
!MESSAGE Host ‘venus’ is running unsupported CVS version 1.11. Although most functionality works, use version 1.11.1p1 or later for full support.!ENTRY com.genuitec.eclipse.ast.deploy.core 1 1 Oct 06, 2004 11:21:05.37
!MESSAGE Error processing delta: ResourceDelta(/qa-myj2ee)
!STACK 1
org.eclipse.core.runtime.CoreException[0]: com.genuitec.eclipse.core.GenuitecCoreException: Unable to add deployment file C:/jakarta-tomcat-5.0.19/webapps/qa/cp/48-4_files/image001.gif
at com.genuitec.eclipse.ast.deploy.core.Deployment.resourceAdded(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ProjectDeltaVisitor.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:56)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Caused by: java.io.IOException: File C:\eclipse-workspace\qa-myj2ee\WebRoot\cp\48-4_files\image001.gif does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:725)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:700)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:674)
… 26 more
!SUBENTRY 1 com.genuitec.eclipse.core 4 0 Oct 06, 2004 11:21:05.52
!MESSAGE Unable to add deployment file C:/jakarta-tomcat-5.0.19/webapps/qa/cp/48-4_files/image001.gif
!STACK 0
com.genuitec.eclipse.core.GenuitecCoreException: Unable to add deployment file C:/jakarta-tomcat-5.0.19/webapps/qa/cp/48-4_files/image001.gif
at com.genuitec.eclipse.ast.deploy.core.Deployment.resourceAdded(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ProjectDeltaVisitor.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:56)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Caused by: java.io.IOException: File C:\eclipse-workspace\qa-myj2ee\WebRoot\cp\48-4_files\image001.gif does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:725)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:700)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:674)
… 26 more
!SESSION Oct 06, 2004 11:33:48.14 ———————————————-
eclipse.buildId=M200409161125
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY org.eclipse.core.resources 2 1 Oct 06, 2004 11:33:48.14
!MESSAGE Skipping builder com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder for project Connection. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 11:58:43.855
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Oct 06, 2004 11:58:43.870
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.getEnclosingReferenceTypeName(JavaBreakpoint.java:215)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequests(JavaBreakpoint.java:494)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1139)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1119)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.setEnabled(JavaBreakpoint.java:1148)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction$1.run(EnableBreakpointsAction.java:95)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction.run(EnableBreakpointsAction.java:108)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 12:13:39.729
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Oct 06, 2004 12:13:39.744
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.getEnclosingReferenceTypeName(JavaBreakpoint.java:215)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequests(JavaBreakpoint.java:494)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1139)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1119)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.setEnabled(JavaBreakpoint.java:1148)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction$1.run(EnableBreakpointsAction.java:93)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction.run(EnableBreakpointsAction.java:108)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 12:27:44.375
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Oct 06, 2004 12:27:44.391
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.getEnclosingReferenceTypeName(JavaBreakpoint.java:215)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequests(JavaBreakpoint.java:494)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1139)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.recreate(JavaBreakpoint.java:1119)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.setEnabled(JavaBreakpoint.java:1148)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction$1.run(EnableBreakpointsAction.java:95)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.debug.internal.ui.actions.EnableBreakpointsAction.run(EnableBreakpointsAction.java:108)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Riyad KallaMemberDavid,
This is more serious than just MyEclipse, I have no idea how a Java Application should be able to hard-reset your machine. First and foremost I’d suggestion going to your system properties panel in Windows, go to Advanced tab, and then click on “Startup and Recovery”. Go down to “System failure” section and uncheck “Automatically Reboot”.Now go start debugging again and get your computer to blue screen. What is the error message? What DLL? Is it a graphic driver DLL? Do you run an ATI video card? If you do, you need to update your graphic drivers, this is a know bug in the JDK with old ATI drivers and the direct3d acceleration (I have no idea why this would be tripped while using Eclipse, but just an FYI).
If this is not the case, and you computer doesn’t even blue screen, it just resets, there is something MUCH more sinister going on here. I would suggest grabbing memtest86 or other memory testing software and running it over night. If that completes correctly then I would suggest grabbing Seti@Home or United devices agent and letting it run over night pegging your CPU hard and see if anything resets.
If still nothing breaks, I would grab a PSU voltage monitor piece of software, run it in the system tray and start debugging, if the alarm goes off RIGHT before a reset, then you have PSU issues that are being triggered by some intense CPU work for some reason…
If a java app crashes, the VM should catch the problem and fail… if your computer is actually resetting, there is something bad going on that we need to get to the bottom of.
davidlgMemberThank you for the suggestions. I will try them and get back to you.
-
AuthorPosts