Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » java.exe crashes when launching (but it worked before)
java.exe crashes when launching (but it worked before) [message #139855] Mon, 02 February 2009 19:42 Go to next message
Ciro is currently offline Ciro
Messages: 3
Registered: July 2009
Junior Member
Hi,

I'm trying to work with TPTP and Eclipse. I've installed TPTP with the
autoupdate, and I succesfully profiled my program.

I fiddled around a bit, I unchecked the checkbox in profiling options
saying "Automatically start monitoring when application is launched" but
then java.exe crashed. I put the checkbox enabled again, same result.

I've now reinstalled both eclipse and TPTP and switched workspace, but the
problem is still there. I'm using the "-Djava.compiler=none" VM argument
as suggested a few years ago.

When starting a profile, the launch goes to 51% and in the phase
"Connecting to the JVMTI agent" I get the "java.exe has encountered a
problem .. ". The "For more information" screen displays:

AppName: java.exe AppVer: 6.0.110.3 ModName: jpiagent.dll
ModVer: 0.0.0.0 Offset: 000065cc


This is the Eclipse platform 3.4.1 on Windows XP SP3; the version number
of my TPTP Platform is 4.5.1.v200807310709; Build id:
TPTP-4.5.1-200809170946.

Thanks for any suggestions.
Re: java.exe crashes when launching (but it worked before) [message #139866 is a reply to message #139855] Tue, 03 February 2009 07:29 Go to previous messageGo to next message
Ciro is currently offline Ciro
Messages: 3
Registered: July 2009
Junior Member
I've also reinstalled Java, but that didn't change anything. I'm now using
"java SE 1.6.0_12".

If there's anything I can do to fix this problem, please let me know. I've
seen a glimpse of paradise but I don't have access anymore :)
Re: java.exe crashes when launching (but it worked before) [message #139876 is a reply to message #139866] Tue, 03 February 2009 10:25 Go to previous message
Ciro is currently offline Ciro
Messages: 3
Registered: July 2009
Junior Member
Sorry for repeated messages, but I have some more information.

My situation is the same as posted at
http://www.eclipse.org/newsportal/article.php?id=6814&gr oup=eclipse.tptp#6814
Furthermore, exactly the same problems happens when I freshly installed
Eclipse Ganymede & TPTP at my work computer (although it never worked
here).


Following the suggestion in the link above, the following things happen:

When I go to window->preferences->agent controller->host, I see the
localhost[10002] under "default hosts", and I can connect to it;
ACServer.exe starts. No problems here. Notice that this is NOT the
"integrated" tab.

When I now switch to Agent controller->Integrated agent controller, I get
an error message in Eclipse; headed "Could Not Accept Changes" and "The
currently displayed page contains invalid items". There appears a
NullPointerException in the workspace/.log file, which I have pasted at
the end of this message. It does not matter via which route I go to the
IAC page; it gives the same error.

I then click 'Hosts' once more and then "Integrated agent controller"
again, and then the page does load, but the 'enabled' and 'disabled' radio
button has both items deselected. I select 'enabled' and choose 'OK', and
then Eclipse feezes, and I have to End Task it to get it removed. There is
no .log entry when I do this.

This is all on my work pc; I haven't checked in detail at home but I
believe the same error happen there.




log entry:

!ENTRY org.eclipse.jface 4 2 2009-02-03 11:19:19.199
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.refreshValuesFromConfigFile(IACPrefere ncePage.java:260)
at
org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 167)
at
org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
at
org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1468)
at
org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1225)
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:17 5)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(Prefe renceDialog.java:1219)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
at
org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:702)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:698)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
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:17 5)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
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(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
Previous Topic:checking in testsuite under CVS
Next Topic:Adding new attributs for recording and playing back the table items
Goto Forum:
  


Current Time: Thu Oct 23 09:31:42 GMT 2014

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

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