| Summary: | NullPointerException in ExecutionSummaryTab.handleHidden(ExecutionSummaryTab.java:183) | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | MH <mhilpert> |
| Component: | TPTP | Assignee: | Klaus Mandola <mandola> |
| Status: | ASSIGNED --- | QA Contact: | Torsten Stolpmann <stolpmann> |
| Severity: | critical | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
MH
Also get this: java.lang.NullPointerException at org.eclipse.hyades.loaders.util.LoadersUtils.registerAgentInstance(LoadersUtils.java:938) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper$2.processLaunched(TIDelegateHelper.java:643) at org.eclipse.tptp.platform.execution.client.core.internal.ProcessImpl.launchAC(ProcessImpl.java:701) at org.eclipse.tptp.platform.execution.client.core.internal.ProcessImpl.launch(ProcessImpl.java:130) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.launchProcess(TIDelegateHelper.java:678) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.launch(TIDelegateHelper.java:403) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJavaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37) at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.delegateInit(LauncherUtility.java:1164) at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunchDelegate.run(PrimaryLaunchDelegate.java:195) at java.lang.Thread.run(Unknown Source) Klaus, can you please try to reproduce this? I cannot reproduce this behaviour. I downloaded the eclipse-java-helios-SR1-win32.zip and installed TPTP via the "Install new software" menu from within eclipse, then created a small sample java project. Invoking "Profile As" -> "Java Application" on either the package or the class worked fine with several metrics like Execution Time Analysis, Thread Analysis, or Memory Analysis. Invoking the Profiling with a saved Profile Configuration also worked. I also tried to profile with the internal and external agent controller, both settings worked. Can you please provide more input? Regards, Klaus Oh, man. I already changed my Eclipse update behaviour and install everything new for any new Eclipse release. As I had major issues with one ofthe last two upgrades, I also completely created a new .workspace (as the old had several gigabytes and the answers for my bug reports pointed to the workspace). I find it very frustrating that even on new installed Eclipse versions/directories such a simple TPTP install/update (from within >Eclipse) doesn't work. I also get almost everytime errors when installing/updating plugins/addons for Eclipse (Webdevelopment, Profiling, etc.) as it says that something is incompatible. I'm used to Linux where it automatically selects and installs dependend packages in the right versions. Eclipse updates are horror to me as it never works flawlessly. And when I get NullPointerExceptions, I consider these as bugs in Eclipse (or the corresponding module). For this reason I post the stack trace:
java.lang.NullPointerException
at
org.eclipse.hyades.trace.views.adapter.internal.ExecutionSummaryTab.handleHidden(ExecutionSummaryTab.java:183)
...
If you can't reproduce this, can't you just change the code at this line so that NPEs don't occur anymore (but log some meaningful error message)?
|