Major issue with EclipseProfiler
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ludovic_marchand
Posted On:   Tuesday, July 19, 2005 02:58 AM

Is profiling with EclipseProfiler trivial? I am wondering, just in case, because I get stuck when I basically try to use the remote profiling with Tomcat. My current situation is the following: - After patching the plug-in with the new jars that were freshly posted here (thanks to atifkhan for that! ), I tried to run a standalone application to make some basic tests (I have actually tried the Turtle example on the following page: http://atifkhan.dyndns.org/pages/software/java/javaProfiler.pdf). It works almost fine: I can get the statistics for the Packages/Methods/Thread view but I get a blank page when I clik on either the thread call graph or the inverted thread call tree. Anyway, t   More>>

Is profiling with EclipseProfiler trivial? I am wondering, just in case, because I get stuck when I basically try to use the remote profiling with Tomcat.


My current situation is the following:

- After patching the plug-in with the new jars that were freshly posted here (thanks to atifkhan for that! ), I tried to run a standalone application to make some basic tests (I have actually tried the Turtle example on the following page: http://atifkhan.dyndns.org/pages/software/java/javaProfiler.pdf).

It works almost fine: I can get the statistics for the Packages/Methods/Thread view but I get a blank page when I clik on either the thread call graph or the inverted thread call tree.

Anyway, the major issue that I have is related to the remote
profiling that I can't make working for Tomcat 5.0.

Indeed, after setting the filters properly -that what I assume considering the fact that any error is thrown by Tomcat during its startup-, when I launch my remote profiling for my web application, any statistic is filled in the packages/threads/methods.

Obviously something is wrong. I suspect Eclispe Profiler not to be compatible with Tomcat 5.0. I have also attached the log error raised by eclipse when I try to generate a thread call graph, just in case:

			
!ENTRY org.eclipse.jface 4 2 2005-07-18 16:23:15.390
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at ru.nlmk.eclipse.plugins.profiler.model.ThreadInfo.collectItemsForMethod(ThreadInfo.java:134)
at ru.nlmk.eclipse.plugins.profiler.views.threadTree.ThreadTreePage.highlightMethod(ThreadTreePage.java:180)
at ru.nlmk.eclipse.plugins.profiler.views.threadMethods.ThreadMethodsPage.highlightMethod(ThreadMethodsPage.java:82)
at ru.nlmk.eclipse.plugins.profiler.views.threadMethods.ThreadMethodsPage.handleDoubleClick(ThreadMethodsPage.java:71)
at ru.nlmk.eclipse.plugins.profiler.views.common.StatTablePage$2.doubleClick(StatTablePage.java:168)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:720)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:718)
at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:950)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1057)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:219)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:216)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:275)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Any idea?

Cheers,

Ludovic    <<Less
About | Sitemap | Contact