Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Statistical View/Java Agent in 4.5
Statistical View/Java Agent in 4.5 [message #131562] Mon, 23 June 2008 13:01 Go to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi all,

I am currently trying to write a Java Agent for my application. I used
the 4.4 release for my first steps and was very happy to have the great
statistical view to visualize the data.
However, I just noticed that it won't be in the 4.5 release any more. Is
there a chance to get it in again, if anyone (me?) refactors the plugin?!
Or can I just easier to create my own plugin from
(CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
What about the Agent Control view? I couldn't find it in the 3.4
preview. Will it be there? Or is there another way to select descriptors
from agents providing statistical data?
I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
4.5, so it will be in 4.5?
Any help is appreciated. Thanks in advance

Jonas
Re: Statistical View/Java Agent in 4.5 [message #131812 is a reply to message #131562] Thu, 26 June 2008 13:04 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
In TPTP 4.5, the Perfmon component (monitoring agent and statistical
views) was moved from a General Availability (GA) component to an As-Is
component. As-Is components are primarily provided for prior users but
imply no support (for example, defects, news group, and mailing lists) or
commitment to triage or resolve opened defects.

http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization

That said, we are always looking for community contribution (attached
patches including code to resolve the symptom and test cases to test the
fix) and/or new component owners.

The LoggingAgent is in the TPTP 4.5.0 release.

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g3o6s5$h1q$1@build.eclipse.org...
> Hi all,
>
> I am currently trying to write a Java Agent for my application. I used the
> 4.4 release for my first steps and was very happy to have the great
> statistical view to visualize the data.
> However, I just noticed that it won't be in the 4.5 release any more. Is
> there a chance to get it in again, if anyone (me?) refactors the plugin?!
> Or can I just easier to create my own plugin from
> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
> What about the Agent Control view? I couldn't find it in the 3.4 preview.
> Will it be there? Or is there another way to select descriptors from
> agents providing statistical data?
> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
> 4.5, so it will be in 4.5?
> Any help is appreciated. Thanks in advance
>
> Jonas
Re: Statistical View/Java Agent in 4.5 [message #132041 is a reply to message #131812] Thu, 03 July 2008 11:37 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
These views are still available and working for 4.5:

http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
Statistical Data Collection

This download will contain the plug-ins that your need to extract from CVS
(http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to enhance the
component.

The statistical graph is build from our statistical model. You can emit
statistical XML fragments
(http://www.eclipse.org/tptp/platform/documents/index.php >> Statistical
Data Schema) through a Logging Agent to be loaded into the statistical model
and displayed in the statistical graph.

Paul

[Jonas Wolf]

Dear Paul,

thank you very much for your answer.

I decided to have a very close look at the statistical ui plugin and try

to give some new life to it.

Yesterday, I tried to get the source from CVS. I used the

hyades/org.eclipse.hyades.statistical.ui. Is that the right point to

start, because I couldn't find the view and the agent control at the

first glance? Is it actually possible to only provide a statistical

graph view for any kind of logging agent?

Could you give me sime kind of TODO list what would have to be done in

order to integrate the statistical graph and the agent control view into

the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)

Thanks again

jonas

"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:g4045m$kll$1@build.eclipse.org...
> Hi Jonas,
> In TPTP 4.5, the Perfmon component (monitoring agent and statistical
> views) was moved from a General Availability (GA) component to an As-Is
> component. As-Is components are primarily provided for prior users but
> imply no support (for example, defects, news group, and mailing lists) or
> commitment to triage or resolve opened defects.
>
> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>
> That said, we are always looking for community contribution (attached
> patches including code to resolve the symptom and test cases to test the
> fix) and/or new component owners.
>
> The LoggingAgent is in the TPTP 4.5.0 release.
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g3o6s5$h1q$1@build.eclipse.org...
>> Hi all,
>>
>> I am currently trying to write a Java Agent for my application. I used
>> the 4.4 release for my first steps and was very happy to have the great
>> statistical view to visualize the data.
>> However, I just noticed that it won't be in the 4.5 release any more. Is
>> there a chance to get it in again, if anyone (me?) refactors the plugin?!
>> Or can I just easier to create my own plugin from
>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>> What about the Agent Control view? I couldn't find it in the 3.4 preview.
>> Will it be there? Or is there another way to select descriptors from
>> agents providing statistical data?
>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
>> 4.5, so it will be in 4.5?
>> Any help is appreciated. Thanks in advance
>>
>> Jonas
>
>
Re: Statistical View/Java Agent in 4.5 [message #132056 is a reply to message #132041] Thu, 03 July 2008 13:55 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------000909050601050400070203
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi again,

it is good to hear that the views are still available with 4.5.
I followed your links and also this Getting Started guide:
http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
But I am still not able to find the "Statistical View" using
Window->Show View->Other... and then under "Profiling and Logging".
What do I do wrong? I can't find any hint under Help->About Eclipse
Platform->Configuration Details that the plugins under dropins are
loaded. In .log of my workspace there are some error message, but as far
as I can say have nothing to do with my problem.
thx

jonas


Paul Slauenwhite wrote:
> Hi Jonas,
> These views are still available and working for 4.5:
>
> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
> Statistical Data Collection
>
> This download will contain the plug-ins that your need to extract from CVS
> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to enhance the
> component.
>
> The statistical graph is build from our statistical model. You can emit
> statistical XML fragments
> (http://www.eclipse.org/tptp/platform/documents/index.php >> Statistical
> Data Schema) through a Logging Agent to be loaded into the statistical model
> and displayed in the statistical graph.
>
> Paul
>
> [Jonas Wolf]
>
> Dear Paul,
>
> thank you very much for your answer.
>
> I decided to have a very close look at the statistical ui plugin and try
>
> to give some new life to it.
>
> Yesterday, I tried to get the source from CVS. I used the
>
> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>
> start, because I couldn't find the view and the agent control at the
>
> first glance? Is it actually possible to only provide a statistical
>
> graph view for any kind of logging agent?
>
> Could you give me sime kind of TODO list what would have to be done in
>
> order to integrate the statistical graph and the agent control view into
>
> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>
> Thanks again
>
> jonas
>
> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
> news:g4045m$kll$1@build.eclipse.org...
>> Hi Jonas,
>> In TPTP 4.5, the Perfmon component (monitoring agent and statistical
>> views) was moved from a General Availability (GA) component to an As-Is
>> component. As-Is components are primarily provided for prior users but
>> imply no support (for example, defects, news group, and mailing lists) or
>> commitment to triage or resolve opened defects.
>>
>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>
>> That said, we are always looking for community contribution (attached
>> patches including code to resolve the symptom and test cases to test the
>> fix) and/or new component owners.
>>
>> The LoggingAgent is in the TPTP 4.5.0 release.
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g3o6s5$h1q$1@build.eclipse.org...
>>> Hi all,
>>>
>>> I am currently trying to write a Java Agent for my application. I used
>>> the 4.4 release for my first steps and was very happy to have the great
>>> statistical view to visualize the data.
>>> However, I just noticed that it won't be in the 4.5 release any more. Is
>>> there a chance to get it in again, if anyone (me?) refactors the plugin?!
>>> Or can I just easier to create my own plugin from
>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>> What about the Agent Control view? I couldn't find it in the 3.4 preview.
>>> Will it be there? Or is there another way to select descriptors from
>>> agents providing statistical data?
>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
>>> 4.5, so it will be in 4.5?
>>> Any help is appreciated. Thanks in advance
>>>
>>> Jonas
>>
>
>


--------------000909050601050400070203
Content-Type: text/plain;
name=".log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename=".log"

!SESSION 2008-07-03 15:24:20.283 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03 15:24:55.503
!MESSAGE Premature end of file.
!STACK 0
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
at org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
at org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
at org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
at org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
at org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
at org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
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:382)
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)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03 15:24:55.503
!MESSAGE Execution framework config file is invalid.
!SESSION 2008-07-03 15:26:23.019 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
!MESSAGE Can't find bundle for base name feature, locale de_DE
!SESSION 2008-07-03 15:28:20.880 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
!MESSAGE Can't find bundle for base name feature, locale de_DE
!SESSION 2008-07-03 15:33:08.759 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
!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:259)
at org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
at org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
at org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
at org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
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:1217)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
at org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
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.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
at org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
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:382)
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)
!SESSION 2008-07-03 15:51:18.007 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
!MESSAGE Can't find bundle for base name feature, locale de_DE

!ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
!MESSAGE Can't find bundle for base name feature, locale de_DE

--------------000909050601050400070203--
Re: Statistical View/Java Agent in 4.5 [message #132090 is a reply to message #132056] Fri, 04 July 2008 10:37 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
Can you open the statistical views (see
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
from the Window >> Show View >> Other... >> .... menu?

The errors in the .log file are a known issue with the Integrated Agent
Controller preferences/configuration.

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g4ilp9$8be$1@build.eclipse.org...
> Hi again,
>
> it is good to hear that the views are still available with 4.5.
> I followed your links and also this Getting Started guide:
> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
> But I am still not able to find the "Statistical View" using
> Window->Show View->Other... and then under "Profiling and Logging".
> What do I do wrong? I can't find any hint under Help->About Eclipse
> Platform->Configuration Details that the plugins under dropins are
> loaded. In .log of my workspace there are some error message, but as far
> as I can say have nothing to do with my problem.
> thx
>
> jonas
>
>
> Paul Slauenwhite wrote:
>> Hi Jonas,
>> These views are still available and working for 4.5:
>>
>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
>> Statistical Data Collection
>>
>> This download will contain the plug-ins that your need to extract from
>> CVS
>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to enhance
>> the
>> component.
>>
>> The statistical graph is build from our statistical model. You can emit
>> statistical XML fragments
>> (http://www.eclipse.org/tptp/platform/documents/index.php >> Statistical
>> Data Schema) through a Logging Agent to be loaded into the statistical
>> model
>> and displayed in the statistical graph.
>>
>> Paul
>>
>> [Jonas Wolf]
>>
>> Dear Paul,
>>
>> thank you very much for your answer.
>>
>> I decided to have a very close look at the statistical ui plugin and try
>>
>> to give some new life to it.
>>
>> Yesterday, I tried to get the source from CVS. I used the
>>
>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>
>> start, because I couldn't find the view and the agent control at the
>>
>> first glance? Is it actually possible to only provide a statistical
>>
>> graph view for any kind of logging agent?
>>
>> Could you give me sime kind of TODO list what would have to be done in
>>
>> order to integrate the statistical graph and the agent control view into
>>
>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>
>> Thanks again
>>
>> jonas
>>
>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>> news:g4045m$kll$1@build.eclipse.org...
>>> Hi Jonas,
>>> In TPTP 4.5, the Perfmon component (monitoring agent and statistical
>>> views) was moved from a General Availability (GA) component to an As-Is
>>> component. As-Is components are primarily provided for prior users but
>>> imply no support (for example, defects, news group, and mailing lists)
>>> or
>>> commitment to triage or resolve opened defects.
>>>
>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>
>>> That said, we are always looking for community contribution (attached
>>> patches including code to resolve the symptom and test cases to test the
>>> fix) and/or new component owners.
>>>
>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>
>>> Paul
>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>> Hi all,
>>>>
>>>> I am currently trying to write a Java Agent for my application. I used
>>>> the 4.4 release for my first steps and was very happy to have the great
>>>> statistical view to visualize the data.
>>>> However, I just noticed that it won't be in the 4.5 release any more.
>>>> Is
>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>> plugin?!
>>>> Or can I just easier to create my own plugin from
>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>> preview.
>>>> Will it be there? Or is there another way to select descriptors from
>>>> agents providing statistical data?
>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
>>>> 4.5, so it will be in 4.5?
>>>> Any help is appreciated. Thanks in advance
>>>>
>>>> Jonas
>>>
>>
>>
>
>


------------------------------------------------------------ --------------------


> !SESSION 2008-07-03
> 15:24:20.283 -----------------------------------------------
> eclipse.buildId=I20080617-2000
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
> 15:24:55.503
> !MESSAGE Premature end of file.
> !STACK 0
> org.xml.sax.SAXParseException: Premature end of file.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
> Source)
> at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
> Source)
> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
> at
> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
> at
> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
> at
> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
> at
> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
> at
> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
> at
> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
> at
> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at
> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
> at
> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
> at
> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
> at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
> at
> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
> at
> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
> at
> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
> at
> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
> at
> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
> at
> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
> at
> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
> at
> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
> 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:382)
> 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)
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
> 15:24:55.503
> !MESSAGE Execution framework config file is invalid.
> !SESSION 2008-07-03
> 15:26:23.019 -----------------------------------------------
> eclipse.buildId=I20080617-2000
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
> !MESSAGE Can't find bundle for base name feature, locale de_DE
> !SESSION 2008-07-03
> 15:28:20.880 -----------------------------------------------
> eclipse.buildId=I20080617-2000
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
> !MESSAGE Can't find bundle for base name feature, locale de_DE
> !SESSION 2008-07-03
> 15:33:08.759 -----------------------------------------------
> eclipse.buildId=I20080617-2000
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
> !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:259)
> at
> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
> at
> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
> at
> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
> at
> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
> 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:1217)
> at
> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
> at
> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
> 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.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
> at
> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
> at
> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
> at
> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
> at
> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
> at
> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
> at
> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
> at
> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
> at
> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
> 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:382)
> 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)
> !SESSION 2008-07-03
> 15:51:18.007 -----------------------------------------------
> eclipse.buildId=I20080617-2000
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
> !MESSAGE Can't find bundle for base name feature, locale de_DE
>
Re: Statistical View/Java Agent in 4.5 [message #132106 is a reply to message #132090] Fri, 04 July 2008 11:56 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I was almost sure that the entry in .log was a known issue, even though
I couldn't find it in bugzilla.
Window >> Show View >> Other >> ... shows all things like coverage
statistics, call stack, log view, log navigator, profiling monitor, etc.
but not the generic statistical graph view. I followed the instructions
for installing the stand-alone package (see my last post) and was
expecting to find the statistical graph again. But I don't.

As I am trying to write my own agent, I was going deeper into
LoggingAgent and BaseAgent and stumbled across some questions:
Why is the LoggingAgent not extending BaseAgent?
Is it possible to create an agent extending BaseAgent that appears in
the list of agents in Run >> Profile... >> Attach to agent >> Agents?
In the previous TPTP release I was only able to accomplish that
extending from LoggingAgent. In the current release there seems to be a
NullPointerException in the constructor of LoggingAgent; the agent only
prints "null" and exits immediately again...

thx

jonas


Paul Slauenwhite schrieb:
> Hi Jonas,
> Can you open the statistical views (see
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
> from the Window >> Show View >> Other... >> .... menu?
>
> The errors in the .log file are a known issue with the Integrated Agent
> Controller preferences/configuration.
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g4ilp9$8be$1@build.eclipse.org...
>> Hi again,
>>
>> it is good to hear that the views are still available with 4.5.
>> I followed your links and also this Getting Started guide:
>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>> But I am still not able to find the "Statistical View" using
>> Window->Show View->Other... and then under "Profiling and Logging".
>> What do I do wrong? I can't find any hint under Help->About Eclipse
>> Platform->Configuration Details that the plugins under dropins are
>> loaded. In .log of my workspace there are some error message, but as far
>> as I can say have nothing to do with my problem.
>> thx
>>
>> jonas
>>
>>
>> Paul Slauenwhite wrote:
>>> Hi Jonas,
>>> These views are still available and working for 4.5:
>>>
>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
>>> Statistical Data Collection
>>>
>>> This download will contain the plug-ins that your need to extract from
>>> CVS
>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to enhance
>>> the
>>> component.
>>>
>>> The statistical graph is build from our statistical model. You can emit
>>> statistical XML fragments
>>> (http://www.eclipse.org/tptp/platform/documents/index.php >> Statistical
>>> Data Schema) through a Logging Agent to be loaded into the statistical
>>> model
>>> and displayed in the statistical graph.
>>>
>>> Paul
>>>
>>> [Jonas Wolf]
>>>
>>> Dear Paul,
>>>
>>> thank you very much for your answer.
>>>
>>> I decided to have a very close look at the statistical ui plugin and try
>>>
>>> to give some new life to it.
>>>
>>> Yesterday, I tried to get the source from CVS. I used the
>>>
>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>
>>> start, because I couldn't find the view and the agent control at the
>>>
>>> first glance? Is it actually possible to only provide a statistical
>>>
>>> graph view for any kind of logging agent?
>>>
>>> Could you give me sime kind of TODO list what would have to be done in
>>>
>>> order to integrate the statistical graph and the agent control view into
>>>
>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>
>>> Thanks again
>>>
>>> jonas
>>>
>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>> news:g4045m$kll$1@build.eclipse.org...
>>>> Hi Jonas,
>>>> In TPTP 4.5, the Perfmon component (monitoring agent and statistical
>>>> views) was moved from a General Availability (GA) component to an As-Is
>>>> component. As-Is components are primarily provided for prior users but
>>>> imply no support (for example, defects, news group, and mailing lists)
>>>> or
>>>> commitment to triage or resolve opened defects.
>>>>
>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>
>>>> That said, we are always looking for community contribution (attached
>>>> patches including code to resolve the symptom and test cases to test the
>>>> fix) and/or new component owners.
>>>>
>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>
>>>> Paul
>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>> Hi all,
>>>>>
>>>>> I am currently trying to write a Java Agent for my application. I used
>>>>> the 4.4 release for my first steps and was very happy to have the great
>>>>> statistical view to visualize the data.
>>>>> However, I just noticed that it won't be in the 4.5 release any more.
>>>>> Is
>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>> plugin?!
>>>>> Or can I just easier to create my own plugin from
>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>> preview.
>>>>> Will it be there? Or is there another way to select descriptors from
>>>>> agents providing statistical data?
>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc for
>>>>> 4.5, so it will be in 4.5?
>>>>> Any help is appreciated. Thanks in advance
>>>>>
>>>>> Jonas
>>>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> !SESSION 2008-07-03
>> 15:24:20.283 -----------------------------------------------
>> eclipse.buildId=I20080617-2000
>> java.version=1.6.0_05
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>> 15:24:55.503
>> !MESSAGE Premature end of file.
>> !STACK 0
>> org.xml.sax.SAXParseException: Premature end of file.
>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>> Source)
>> at
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>> Source)
>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>> at
>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>> at
>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>> at
>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>> at
>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at
>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>> at
>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>> at
>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>> at
>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>> at
>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>> at
>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>> at
>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>> at
>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>> at
>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>> at
>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>> at
>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>> at
>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>> at
>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>> at
>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>> at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>> at
>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>> at
>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>> at
>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>> at
>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>> at
>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>> at
>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>> at
>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>> at
>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>> 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:382)
>> 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)
>>
>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>> 15:24:55.503
>> !MESSAGE Execution framework config file is invalid.
>> !SESSION 2008-07-03
>> 15:26:23.019 -----------------------------------------------
>> eclipse.buildId=I20080617-2000
>> java.version=1.6.0_05
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>> !SESSION 2008-07-03
>> 15:28:20.880 -----------------------------------------------
>> eclipse.buildId=I20080617-2000
>> java.version=1.6.0_05
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>> !SESSION 2008-07-03
>> 15:33:08.759 -----------------------------------------------
>> eclipse.buildId=I20080617-2000
>> java.version=1.6.0_05
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>> !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:259)
>> at
>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>> at
>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>> at
>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>> at
>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>> 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:1217)
>> at
>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>> at
>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>> 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.Widget.sendEvent(Widget.java:1027)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>> at org.eclipse.jface.window.Window.open(Window.java:801)
>> at
>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>> at
>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>> at
>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>> at
>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>> at
>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>> at
>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>> at
>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>> at
>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>> at
>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>> 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:382)
>> 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)
>> !SESSION 2008-07-03
>> 15:51:18.007 -----------------------------------------------
>> eclipse.buildId=I20080617-2000
>> java.version=1.6.0_05
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>
>
>
Re: Statistical View/Java Agent in 4.5 [message #132120 is a reply to message #132106] Mon, 07 July 2008 11:28 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
The defect number for the Integrated Agent Controller error is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.

You are correct. Using the TPTP-4.5.1-200807020100 build, the plug-ins
for the Statistical Data Collection As-Is component are not loading
correctly. Please open a defect
( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
for this problem.

The LoggingAgent does not extend BaseAgent since it predates the
BaseAgent. You can extend the BaseAgent and have it show as an agent in the
UI.

What is the stack trace for the NullPointerException in the
LoggingAgent's constructor?

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g4l35n$3qa$1@build.eclipse.org...
> Hi,
>
> I was almost sure that the entry in .log was a known issue, even though I
> couldn't find it in bugzilla.
> Window >> Show View >> Other >> ... shows all things like coverage
> statistics, call stack, log view, log navigator, profiling monitor, etc.
> but not the generic statistical graph view. I followed the instructions
> for installing the stand-alone package (see my last post) and was
> expecting to find the statistical graph again. But I don't.
>
> As I am trying to write my own agent, I was going deeper into LoggingAgent
> and BaseAgent and stumbled across some questions:
> Why is the LoggingAgent not extending BaseAgent?
> Is it possible to create an agent extending BaseAgent that appears in the
> list of agents in Run >> Profile... >> Attach to agent >> Agents?
> In the previous TPTP release I was only able to accomplish that extending
> from LoggingAgent. In the current release there seems to be a
> NullPointerException in the constructor of LoggingAgent; the agent only
> prints "null" and exits immediately again...
>
> thx
>
> jonas
>
>
> Paul Slauenwhite schrieb:
>> Hi Jonas,
>> Can you open the statistical views (see
>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>> from the Window >> Show View >> Other... >> .... menu?
>>
>> The errors in the .log file are a known issue with the Integrated
>> Agent Controller preferences/configuration.
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g4ilp9$8be$1@build.eclipse.org...
>>> Hi again,
>>>
>>> it is good to hear that the views are still available with 4.5.
>>> I followed your links and also this Getting Started guide:
>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>> But I am still not able to find the "Statistical View" using
>>> Window->Show View->Other... and then under "Profiling and Logging".
>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>> Platform->Configuration Details that the plugins under dropins are
>>> loaded. In .log of my workspace there are some error message, but as far
>>> as I can say have nothing to do with my problem.
>>> thx
>>>
>>> jonas
>>>
>>>
>>> Paul Slauenwhite wrote:
>>>> Hi Jonas,
>>>> These views are still available and working for 4.5:
>>>>
>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
>>>> Statistical Data Collection
>>>>
>>>> This download will contain the plug-ins that your need to extract from
>>>> CVS
>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>> enhance the
>>>> component.
>>>>
>>>> The statistical graph is build from our statistical model. You can
>>>> emit
>>>> statistical XML fragments
>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>> Statistical
>>>> Data Schema) through a Logging Agent to be loaded into the statistical
>>>> model
>>>> and displayed in the statistical graph.
>>>>
>>>> Paul
>>>>
>>>> [Jonas Wolf]
>>>>
>>>> Dear Paul,
>>>>
>>>> thank you very much for your answer.
>>>>
>>>> I decided to have a very close look at the statistical ui plugin and
>>>> try
>>>>
>>>> to give some new life to it.
>>>>
>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>
>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>
>>>> start, because I couldn't find the view and the agent control at the
>>>>
>>>> first glance? Is it actually possible to only provide a statistical
>>>>
>>>> graph view for any kind of logging agent?
>>>>
>>>> Could you give me sime kind of TODO list what would have to be done in
>>>>
>>>> order to integrate the statistical graph and the agent control view
>>>> into
>>>>
>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>
>>>> Thanks again
>>>>
>>>> jonas
>>>>
>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>> Hi Jonas,
>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>> statistical
>>>>> views) was moved from a General Availability (GA) component to an
>>>>> As-Is
>>>>> component. As-Is components are primarily provided for prior users
>>>>> but
>>>>> imply no support (for example, defects, news group, and mailing lists)
>>>>> or
>>>>> commitment to triage or resolve opened defects.
>>>>>
>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>
>>>>> That said, we are always looking for community contribution
>>>>> (attached
>>>>> patches including code to resolve the symptom and test cases to test
>>>>> the
>>>>> fix) and/or new component owners.
>>>>>
>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>
>>>>> Paul
>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>> Hi all,
>>>>>>
>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>> used
>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>> great
>>>>>> statistical view to visualize the data.
>>>>>> However, I just noticed that it won't be in the 4.5 release any more.
>>>>>> Is
>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>> plugin?!
>>>>>> Or can I just easier to create my own plugin from
>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>> preview.
>>>>>> Will it be there? Or is there another way to select descriptors from
>>>>>> agents providing statistical data?
>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc
>>>>>> for
>>>>>> 4.5, so it will be in 4.5?
>>>>>> Any help is appreciated. Thanks in advance
>>>>>>
>>>>>> Jonas
>>>>
>>>
>>
>>
>> ------------------------------------------------------------ --------------------
>>
>>
>>> !SESSION 2008-07-03
>>> 15:24:20.283 -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.version=1.6.0_05
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>> 15:24:55.503
>>> !MESSAGE Premature end of file.
>>> !STACK 0
>>> org.xml.sax.SAXParseException: Premature end of file.
>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>> Source)
>>> at
>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>> Source)
>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>> at
>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>> at
>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>> at
>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>> at
>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>> at
>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at
>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>> at
>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>> at
>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>> at
>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>> at
>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>> at
>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>> at
>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>> at
>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>> at
>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>> at
>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>> at
>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>> at
>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>> at
>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>> at
>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>> at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>> at
>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>> at
>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>> at
>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>> at
>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>> at
>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>> at
>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>> at
>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>> at
>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>> 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:382)
>>> 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)
>>>
>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>> 15:24:55.503
>>> !MESSAGE Execution framework config file is invalid.
>>> !SESSION 2008-07-03
>>> 15:26:23.019 -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.version=1.6.0_05
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>> !SESSION 2008-07-03
>>> 15:28:20.880 -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.version=1.6.0_05
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>> !SESSION 2008-07-03
>>> 15:33:08.759 -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.version=1.6.0_05
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>> !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:259)
>>> at
>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>> at
>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>> at
>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>> at
>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>> 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:1217)
>>> at
>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>> at
>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>> at
>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>> 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.Widget.sendEvent(Widget.java:1027)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>> at
>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>> at
>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>> at
>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>> at
>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>> at
>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>> at
>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>> at
>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>> at
>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>> at
>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>> 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:382)
>>> 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)
>>> !SESSION 2008-07-03
>>> 15:51:18.007 -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.version=1.6.0_05
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>
>>
Re: Statistical View/Java Agent in 4.5 [message #132138 is a reply to message #132120] Mon, 07 July 2008 14:54 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Paul,

I filed a bug report for the Statistical Data Collection component
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=239795). That was my
first bug report for such a project ever, so I am very open for feedback ;-)

What do I have to do to create an agent that extends BaseAgent showing
up in the UI? Do I only have to extend BaseAgent? Send some special
commands/data?

Currently, I extend my agent class from LoggingAgent. In main(), I
create an instance from my agent class. In the constructor, during the
super(name) is called. "null" is printed out and the program exits.

thx

jonas

Paul Slauenwhite wrote:
> Hi Jonas,
> The defect number for the Integrated Agent Controller error is
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>
> You are correct. Using the TPTP-4.5.1-200807020100 build, the plug-ins
> for the Statistical Data Collection As-Is component are not loading
> correctly. Please open a defect
> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
> for this problem.
>
> The LoggingAgent does not extend BaseAgent since it predates the
> BaseAgent. You can extend the BaseAgent and have it show as an agent in the
> UI.
>
> What is the stack trace for the NullPointerException in the
> LoggingAgent's constructor?
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g4l35n$3qa$1@build.eclipse.org...
>> Hi,
>>
>> I was almost sure that the entry in .log was a known issue, even though I
>> couldn't find it in bugzilla.
>> Window >> Show View >> Other >> ... shows all things like coverage
>> statistics, call stack, log view, log navigator, profiling monitor, etc.
>> but not the generic statistical graph view. I followed the instructions
>> for installing the stand-alone package (see my last post) and was
>> expecting to find the statistical graph again. But I don't.
>>
>> As I am trying to write my own agent, I was going deeper into LoggingAgent
>> and BaseAgent and stumbled across some questions:
>> Why is the LoggingAgent not extending BaseAgent?
>> Is it possible to create an agent extending BaseAgent that appears in the
>> list of agents in Run >> Profile... >> Attach to agent >> Agents?
>> In the previous TPTP release I was only able to accomplish that extending
>> from LoggingAgent. In the current release there seems to be a
>> NullPointerException in the constructor of LoggingAgent; the agent only
>> prints "null" and exits immediately again...
>>
>> thx
>>
>> jonas
>>
>>
>> Paul Slauenwhite schrieb:
>>> Hi Jonas,
>>> Can you open the statistical views (see
>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>> from the Window >> Show View >> Other... >> .... menu?
>>>
>>> The errors in the .log file are a known issue with the Integrated
>>> Agent Controller preferences/configuration.
>>>
>>> Paul
>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>> Hi again,
>>>>
>>>> it is good to hear that the views are still available with 4.5.
>>>> I followed your links and also this Getting Started guide:
>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>> But I am still not able to find the "Statistical View" using
>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>> Platform->Configuration Details that the plugins under dropins are
>>>> loaded. In .log of my workspace there are some error message, but as far
>>>> as I can say have nothing to do with my problem.
>>>> thx
>>>>
>>>> jonas
>>>>
>>>>
>>>> Paul Slauenwhite wrote:
>>>>> Hi Jonas,
>>>>> These views are still available and working for 4.5:
>>>>>
>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents >>
>>>>> Statistical Data Collection
>>>>>
>>>>> This download will contain the plug-ins that your need to extract from
>>>>> CVS
>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>> enhance the
>>>>> component.
>>>>>
>>>>> The statistical graph is build from our statistical model. You can
>>>>> emit
>>>>> statistical XML fragments
>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>> Statistical
>>>>> Data Schema) through a Logging Agent to be loaded into the statistical
>>>>> model
>>>>> and displayed in the statistical graph.
>>>>>
>>>>> Paul
>>>>>
>>>>> [Jonas Wolf]
>>>>>
>>>>> Dear Paul,
>>>>>
>>>>> thank you very much for your answer.
>>>>>
>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>> try
>>>>>
>>>>> to give some new life to it.
>>>>>
>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>
>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>
>>>>> start, because I couldn't find the view and the agent control at the
>>>>>
>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>
>>>>> graph view for any kind of logging agent?
>>>>>
>>>>> Could you give me sime kind of TODO list what would have to be done in
>>>>>
>>>>> order to integrate the statistical graph and the agent control view
>>>>> into
>>>>>
>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>
>>>>> Thanks again
>>>>>
>>>>> jonas
>>>>>
>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>> Hi Jonas,
>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>> statistical
>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>> As-Is
>>>>>> component. As-Is components are primarily provided for prior users
>>>>>> but
>>>>>> imply no support (for example, defects, news group, and mailing lists)
>>>>>> or
>>>>>> commitment to triage or resolve opened defects.
>>>>>>
>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>
>>>>>> That said, we are always looking for community contribution
>>>>>> (attached
>>>>>> patches including code to resolve the symptom and test cases to test
>>>>>> the
>>>>>> fix) and/or new component owners.
>>>>>>
>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>
>>>>>> Paul
>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>> used
>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>> great
>>>>>>> statistical view to visualize the data.
>>>>>>> However, I just noticed that it won't be in the 4.5 release any more.
>>>>>>> Is
>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>> plugin?!
>>>>>>> Or can I just easier to create my own plugin from
>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>> preview.
>>>>>>> Will it be there? Or is there another way to select descriptors from
>>>>>>> agents providing statistical data?
>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc
>>>>>>> for
>>>>>>> 4.5, so it will be in 4.5?
>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>
>>>>>>> Jonas
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> !SESSION 2008-07-03
>>>> 15:24:20.283 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>> 15:24:55.503
>>>> !MESSAGE Premature end of file.
>>>> !STACK 0
>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>> Source)
>>>> at
>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>> Source)
>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>> at
>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>> at
>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>> at
>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>> at
>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>> at
>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>> at
>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>> at
>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>> at
>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>> at
>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>> at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>> at
>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>> at
>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>> at
>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>> 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:382)
>>>> 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)
>>>>
>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>> 15:24:55.503
>>>> !MESSAGE Execution framework config file is invalid.
>>>> !SESSION 2008-07-03
>>>> 15:26:23.019 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>> !SESSION 2008-07-03
>>>> 15:28:20.880 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>> !SESSION 2008-07-03
>>>> 15:33:08.759 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>> !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:259)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>> at
>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>> 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:1217)
>>>> at
>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>> at
>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>> at
>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>> at
>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>> at
>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>> at
>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>> 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:382)
>>>> 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)
>>>> !SESSION 2008-07-03
>>>> 15:51:18.007 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>
Re: Statistical View/Java Agent in 4.5 [message #132151 is a reply to message #132120] Mon, 07 July 2008 16:03 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Note, there is a single agent under
org.eclipse.tptp.platform.execution.samples in the
org.eclipse.tptp.platform.execution plug-in.

Paul

"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:g4sula$n9r$1@build.eclipse.org...
> Hi Jonas,
> The defect number for the Integrated Agent Controller error is
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>
> You are correct. Using the TPTP-4.5.1-200807020100 build, the plug-ins
> for the Statistical Data Collection As-Is component are not loading
> correctly. Please open a defect
> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
> for this problem.
>
> The LoggingAgent does not extend BaseAgent since it predates the
> BaseAgent. You can extend the BaseAgent and have it show as an agent in
> the UI.
>
> What is the stack trace for the NullPointerException in the
> LoggingAgent's constructor?
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g4l35n$3qa$1@build.eclipse.org...
>> Hi,
>>
>> I was almost sure that the entry in .log was a known issue, even though I
>> couldn't find it in bugzilla.
>> Window >> Show View >> Other >> ... shows all things like coverage
>> statistics, call stack, log view, log navigator, profiling monitor, etc.
>> but not the generic statistical graph view. I followed the instructions
>> for installing the stand-alone package (see my last post) and was
>> expecting to find the statistical graph again. But I don't.
>>
>> As I am trying to write my own agent, I was going deeper into
>> LoggingAgent and BaseAgent and stumbled across some questions:
>> Why is the LoggingAgent not extending BaseAgent?
>> Is it possible to create an agent extending BaseAgent that appears in the
>> list of agents in Run >> Profile... >> Attach to agent >> Agents?
>> In the previous TPTP release I was only able to accomplish that extending
>> from LoggingAgent. In the current release there seems to be a
>> NullPointerException in the constructor of LoggingAgent; the agent only
>> prints "null" and exits immediately again...
>>
>> thx
>>
>> jonas
>>
>>
>> Paul Slauenwhite schrieb:
>>> Hi Jonas,
>>> Can you open the statistical views (see
>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>> from the Window >> Show View >> Other... >> .... menu?
>>>
>>> The errors in the .log file are a known issue with the Integrated
>>> Agent Controller preferences/configuration.
>>>
>>> Paul
>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>> Hi again,
>>>>
>>>> it is good to hear that the views are still available with 4.5.
>>>> I followed your links and also this Getting Started guide:
>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>> But I am still not able to find the "Statistical View" using
>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>> Platform->Configuration Details that the plugins under dropins are
>>>> loaded. In .log of my workspace there are some error message, but as
>>>> far
>>>> as I can say have nothing to do with my problem.
>>>> thx
>>>>
>>>> jonas
>>>>
>>>>
>>>> Paul Slauenwhite wrote:
>>>>> Hi Jonas,
>>>>> These views are still available and working for 4.5:
>>>>>
>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>> >>
>>>>> Statistical Data Collection
>>>>>
>>>>> This download will contain the plug-ins that your need to extract
>>>>> from CVS
>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>> enhance the
>>>>> component.
>>>>>
>>>>> The statistical graph is build from our statistical model. You can
>>>>> emit
>>>>> statistical XML fragments
>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>> Statistical
>>>>> Data Schema) through a Logging Agent to be loaded into the statistical
>>>>> model
>>>>> and displayed in the statistical graph.
>>>>>
>>>>> Paul
>>>>>
>>>>> [Jonas Wolf]
>>>>>
>>>>> Dear Paul,
>>>>>
>>>>> thank you very much for your answer.
>>>>>
>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>> try
>>>>>
>>>>> to give some new life to it.
>>>>>
>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>
>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>
>>>>> start, because I couldn't find the view and the agent control at the
>>>>>
>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>
>>>>> graph view for any kind of logging agent?
>>>>>
>>>>> Could you give me sime kind of TODO list what would have to be done in
>>>>>
>>>>> order to integrate the statistical graph and the agent control view
>>>>> into
>>>>>
>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>
>>>>> Thanks again
>>>>>
>>>>> jonas
>>>>>
>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>> Hi Jonas,
>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>> statistical
>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>> As-Is
>>>>>> component. As-Is components are primarily provided for prior users
>>>>>> but
>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>> lists) or
>>>>>> commitment to triage or resolve opened defects.
>>>>>>
>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>
>>>>>> That said, we are always looking for community contribution
>>>>>> (attached
>>>>>> patches including code to resolve the symptom and test cases to test
>>>>>> the
>>>>>> fix) and/or new component owners.
>>>>>>
>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>
>>>>>> Paul
>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>> used
>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>> great
>>>>>>> statistical view to visualize the data.
>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>> more. Is
>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>> plugin?!
>>>>>>> Or can I just easier to create my own plugin from
>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>> preview.
>>>>>>> Will it be there? Or is there another way to select descriptors from
>>>>>>> agents providing statistical data?
>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc
>>>>>>> for
>>>>>>> 4.5, so it will be in 4.5?
>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>
>>>>>>> Jonas
>>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> !SESSION 2008-07-03
>>>> 15:24:20.283 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>> 15:24:55.503
>>>> !MESSAGE Premature end of file.
>>>> !STACK 0
>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>> Source)
>>>> at
>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>> Source)
>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>> at
>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>> at
>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>> at
>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>> at
>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>> at
>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>> at
>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>> at
>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>> at
>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>> at
>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>> at
>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>> at
>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>> at
>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>> at
>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>> at
>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>> at
>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>> at
>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>> 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:382)
>>>> 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)
>>>>
>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>> 15:24:55.503
>>>> !MESSAGE Execution framework config file is invalid.
>>>> !SESSION 2008-07-03
>>>> 15:26:23.019 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>> !SESSION 2008-07-03
>>>> 15:28:20.880 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>> !SESSION 2008-07-03
>>>> 15:33:08.759 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>> !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:259)
>>>> at
>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>> at
>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>> 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:1217)
>>>> at
>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>> at
>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>> at
>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>> at
>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>> at
>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>> at
>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>> at
>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>> at
>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>> at
>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>> 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:382)
>>>> 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)
>>>> !SESSION 2008-07-03
>>>> 15:51:18.007 -----------------------------------------------
>>>> eclipse.buildId=I20080617-2000
>>>> java.version=1.6.0_05
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>
>>>
>
Re: Statistical View/Java Agent in 4.5 [message #132178 is a reply to message #132151] Tue, 08 July 2008 08:30 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Paul,

thanks for the note.
I already saw the TPTPJavaAgent and tried to get it "working".
I started the (configured) ACServer and run the TPTPJavaAgent in
Eclipse. I then tried to attach to the TPTPJavaAgent using Profile >>
Profile Configurations... >> Attach to Agent >> New Configuration
The connection test to the agent controller is successful, but the list
of agents is empty. Should the TPTPJavaAgent appear there?
To create an agent that feeds the client with statistical and logging
data, is it better to extend from BaseAgent or from LoggingAgent?
As I understood the LoggingAgent is a relict from the Hyades project
that will be deprecated soon?!
thx

jonas

Paul Slauenwhite wrote:
> Note, there is a single agent under
> org.eclipse.tptp.platform.execution.samples in the
> org.eclipse.tptp.platform.execution plug-in.
>
> Paul
>
> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
> news:g4sula$n9r$1@build.eclipse.org...
>> Hi Jonas,
>> The defect number for the Integrated Agent Controller error is
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>
>> You are correct. Using the TPTP-4.5.1-200807020100 build, the plug-ins
>> for the Statistical Data Collection As-Is component are not loading
>> correctly. Please open a defect
>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>> for this problem.
>>
>> The LoggingAgent does not extend BaseAgent since it predates the
>> BaseAgent. You can extend the BaseAgent and have it show as an agent in
>> the UI.
>>
>> What is the stack trace for the NullPointerException in the
>> LoggingAgent's constructor?
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g4l35n$3qa$1@build.eclipse.org...
>>> Hi,
>>>
>>> I was almost sure that the entry in .log was a known issue, even though I
>>> couldn't find it in bugzilla.
>>> Window >> Show View >> Other >> ... shows all things like coverage
>>> statistics, call stack, log view, log navigator, profiling monitor, etc.
>>> but not the generic statistical graph view. I followed the instructions
>>> for installing the stand-alone package (see my last post) and was
>>> expecting to find the statistical graph again. But I don't.
>>>
>>> As I am trying to write my own agent, I was going deeper into
>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>> Why is the LoggingAgent not extending BaseAgent?
>>> Is it possible to create an agent extending BaseAgent that appears in the
>>> list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>> In the previous TPTP release I was only able to accomplish that extending
>>> from LoggingAgent. In the current release there seems to be a
>>> NullPointerException in the constructor of LoggingAgent; the agent only
>>> prints "null" and exits immediately again...
>>>
>>> thx
>>>
>>> jonas
>>>
>>>
>>> Paul Slauenwhite schrieb:
>>>> Hi Jonas,
>>>> Can you open the statistical views (see
>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>
>>>> The errors in the .log file are a known issue with the Integrated
>>>> Agent Controller preferences/configuration.
>>>>
>>>> Paul
>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>> Hi again,
>>>>>
>>>>> it is good to hear that the views are still available with 4.5.
>>>>> I followed your links and also this Getting Started guide:
>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>> But I am still not able to find the "Statistical View" using
>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>> loaded. In .log of my workspace there are some error message, but as
>>>>> far
>>>>> as I can say have nothing to do with my problem.
>>>>> thx
>>>>>
>>>>> jonas
>>>>>
>>>>>
>>>>> Paul Slauenwhite wrote:
>>>>>> Hi Jonas,
>>>>>> These views are still available and working for 4.5:
>>>>>>
>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>> >>
>>>>>> Statistical Data Collection
>>>>>>
>>>>>> This download will contain the plug-ins that your need to extract
>>>>>> from CVS
>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>> enhance the
>>>>>> component.
>>>>>>
>>>>>> The statistical graph is build from our statistical model. You can
>>>>>> emit
>>>>>> statistical XML fragments
>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>> Statistical
>>>>>> Data Schema) through a Logging Agent to be loaded into the statistical
>>>>>> model
>>>>>> and displayed in the statistical graph.
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>> [Jonas Wolf]
>>>>>>
>>>>>> Dear Paul,
>>>>>>
>>>>>> thank you very much for your answer.
>>>>>>
>>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>>> try
>>>>>>
>>>>>> to give some new life to it.
>>>>>>
>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>
>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>>
>>>>>> start, because I couldn't find the view and the agent control at the
>>>>>>
>>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>>
>>>>>> graph view for any kind of logging agent?
>>>>>>
>>>>>> Could you give me sime kind of TODO list what would have to be done in
>>>>>>
>>>>>> order to integrate the statistical graph and the agent control view
>>>>>> into
>>>>>>
>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>
>>>>>> Thanks again
>>>>>>
>>>>>> jonas
>>>>>>
>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>> Hi Jonas,
>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>> statistical
>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>> As-Is
>>>>>>> component. As-Is components are primarily provided for prior users
>>>>>>> but
>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>> lists) or
>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>
>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>
>>>>>>> That said, we are always looking for community contribution
>>>>>>> (attached
>>>>>>> patches including code to resolve the symptom and test cases to test
>>>>>>> the
>>>>>>> fix) and/or new component owners.
>>>>>>>
>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>
>>>>>>> Paul
>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>>> used
>>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>>> great
>>>>>>>> statistical view to visualize the data.
>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>> more. Is
>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>> plugin?!
>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>> preview.
>>>>>>>> Will it be there? Or is there another way to select descriptors from
>>>>>>>> agents providing statistical data?
>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc
>>>>>>>> for
>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>
>>>>>>>> Jonas
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> !SESSION 2008-07-03
>>>>> 15:24:20.283 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>> 15:24:55.503
>>>>> !MESSAGE Premature end of file.
>>>>> !STACK 0
>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>> Source)
>>>>> at
>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>> Source)
>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>> at
>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>> at
>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>> at
>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>> at
>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>> at
>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>> at
>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>> at
>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>> at
>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>> at
>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>> at
>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>> at
>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>> at
>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>> 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:382)
>>>>> 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)
>>>>>
>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>> 15:24:55.503
>>>>> !MESSAGE Execution framework config file is invalid.
>>>>> !SESSION 2008-07-03
>>>>> 15:26:23.019 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>> !SESSION 2008-07-03
>>>>> 15:28:20.880 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>> !SESSION 2008-07-03
>>>>> 15:33:08.759 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>> !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:259)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>> 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:1217)
>>>>> at
>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>> at
>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>> at
>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>> at
>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>> at
>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>> at
>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>> 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:382)
>>>>> 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)
>>>>> !SESSION 2008-07-03
>>>>> 15:51:18.007 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>
>
Re: Statistical View/Java Agent in 4.5 [message #132206 is a reply to message #132178] Tue, 08 July 2008 11:02 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
Yes, extensions of the BaseAgent should appear in the dialog for
attaching to agents. Is the Integrated Agent Controller (local) or Agent
Controller (local or remote) running? If so, please open a defect for this
problem and include your sample agent.

For emitting log and statistical data, I would suggest using the
LoggingAgent. This agent is well used/tested and will not be deprecated
moving forward. Please see the runLoggingAgent.bat and
runStatisticalAgent.bat in :

http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/EclipseCon_2006_Tutorial_22_Source_Code_Paul_Slaue nwhite.zip

[Source:
http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/index.html
>> Problem Determination of J2EE Web Applications Using the Eclipse Test and
Performance Tools Platform >> source.zip]

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g4v8il$7g1$1@build.eclipse.org...
> Hi Paul,
>
> thanks for the note.
> I already saw the TPTPJavaAgent and tried to get it "working".
> I started the (configured) ACServer and run the TPTPJavaAgent in Eclipse.
> I then tried to attach to the TPTPJavaAgent using Profile >> Profile
> Configurations... >> Attach to Agent >> New Configuration
> The connection test to the agent controller is successful, but the list of
> agents is empty. Should the TPTPJavaAgent appear there?
> To create an agent that feeds the client with statistical and logging
> data, is it better to extend from BaseAgent or from LoggingAgent?
> As I understood the LoggingAgent is a relict from the Hyades project that
> will be deprecated soon?!
> thx
>
> jonas
>
> Paul Slauenwhite wrote:
>> Note, there is a single agent under
>> org.eclipse.tptp.platform.execution.samples in the
>> org.eclipse.tptp.platform.execution plug-in.
>>
>> Paul
>>
>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>> news:g4sula$n9r$1@build.eclipse.org...
>>> Hi Jonas,
>>> The defect number for the Integrated Agent Controller error is
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>>
>>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>>> plug-ins for the Statistical Data Collection As-Is component are not
>>> loading correctly. Please open a defect
>>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>>> for this problem.
>>>
>>> The LoggingAgent does not extend BaseAgent since it predates the
>>> BaseAgent. You can extend the BaseAgent and have it show as an agent in
>>> the UI.
>>>
>>> What is the stack trace for the NullPointerException in the
>>> LoggingAgent's constructor?
>>>
>>> Paul
>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>> news:g4l35n$3qa$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> I was almost sure that the entry in .log was a known issue, even though
>>>> I couldn't find it in bugzilla.
>>>> Window >> Show View >> Other >> ... shows all things like coverage
>>>> statistics, call stack, log view, log navigator, profiling monitor,
>>>> etc. but not the generic statistical graph view. I followed the
>>>> instructions for installing the stand-alone package (see my last post)
>>>> and was expecting to find the statistical graph again. But I don't.
>>>>
>>>> As I am trying to write my own agent, I was going deeper into
>>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>>> Why is the LoggingAgent not extending BaseAgent?
>>>> Is it possible to create an agent extending BaseAgent that appears in
>>>> the list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>>> In the previous TPTP release I was only able to accomplish that
>>>> extending from LoggingAgent. In the current release there seems to be a
>>>> NullPointerException in the constructor of LoggingAgent; the agent only
>>>> prints "null" and exits immediately again...
>>>>
>>>> thx
>>>>
>>>> jonas
>>>>
>>>>
>>>> Paul Slauenwhite schrieb:
>>>>> Hi Jonas,
>>>>> Can you open the statistical views (see
>>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>>
>>>>> The errors in the .log file are a known issue with the Integrated
>>>>> Agent Controller preferences/configuration.
>>>>>
>>>>> Paul
>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>>> Hi again,
>>>>>>
>>>>>> it is good to hear that the views are still available with 4.5.
>>>>>> I followed your links and also this Getting Started guide:
>>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>>> But I am still not able to find the "Statistical View" using
>>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>>> loaded. In .log of my workspace there are some error message, but as
>>>>>> far
>>>>>> as I can say have nothing to do with my problem.
>>>>>> thx
>>>>>>
>>>>>> jonas
>>>>>>
>>>>>>
>>>>>> Paul Slauenwhite wrote:
>>>>>>> Hi Jonas,
>>>>>>> These views are still available and working for 4.5:
>>>>>>>
>>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>>> >>
>>>>>>> Statistical Data Collection
>>>>>>>
>>>>>>> This download will contain the plug-ins that your need to extract
>>>>>>> from CVS
>>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>>> enhance the
>>>>>>> component.
>>>>>>>
>>>>>>> The statistical graph is build from our statistical model. You can
>>>>>>> emit
>>>>>>> statistical XML fragments
>>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>>> Statistical
>>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>>> statistical model
>>>>>>> and displayed in the statistical graph.
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>> [Jonas Wolf]
>>>>>>>
>>>>>>> Dear Paul,
>>>>>>>
>>>>>>> thank you very much for your answer.
>>>>>>>
>>>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>>>> try
>>>>>>>
>>>>>>> to give some new life to it.
>>>>>>>
>>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>>
>>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>>>
>>>>>>> start, because I couldn't find the view and the agent control at the
>>>>>>>
>>>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>>>
>>>>>>> graph view for any kind of logging agent?
>>>>>>>
>>>>>>> Could you give me sime kind of TODO list what would have to be done
>>>>>>> in
>>>>>>>
>>>>>>> order to integrate the statistical graph and the agent control view
>>>>>>> into
>>>>>>>
>>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>>
>>>>>>> Thanks again
>>>>>>>
>>>>>>> jonas
>>>>>>>
>>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>>> Hi Jonas,
>>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>>> statistical
>>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>>> As-Is
>>>>>>>> component. As-Is components are primarily provided for prior users
>>>>>>>> but
>>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>>> lists) or
>>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>>
>>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>>
>>>>>>>> That said, we are always looking for community contribution
>>>>>>>> (attached
>>>>>>>> patches including code to resolve the symptom and test cases to
>>>>>>>> test the
>>>>>>>> fix) and/or new component owners.
>>>>>>>>
>>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>>>> used
>>>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>>>> great
>>>>>>>>> statistical view to visualize the data.
>>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>>> more. Is
>>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>>> plugin?!
>>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>>> preview.
>>>>>>>>> Will it be there? Or is there another way to select descriptors
>>>>>>>>> from
>>>>>>>>> agents providing statistical data?
>>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the
>>>>>>>>> JavaDoc for
>>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>>
>>>>>>>>> Jonas
>>>>>
>>>>> ------------------------------------------------------------ --------------------
>>>>>
>>>>>
>>>>>> !SESSION 2008-07-03
>>>>>> 15:24:20.283 -----------------------------------------------
>>>>>> eclipse.buildId=I20080617-2000
>>>>>> java.version=1.6.0_05
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>> 15:24:55.503
>>>>>> !MESSAGE Premature end of file.
>>>>>> !STACK 0
>>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>>> Source)
>>>>>> at
>>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>>> Source)
>>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>>> at
>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>>> at
>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>>> at
>>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>> at
>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>> at
>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>>> at
>>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>>> at
>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>>> at
>>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>>> at
>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>>> at
>>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>>> at
>>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>>> at
>>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>>> at
>>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>>> at
>>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>>> at
>>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>>> at
>>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>>> at
>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>>> at
>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>>> at
>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>>> at
>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>> at
>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>>> at
>>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>>> at
>>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>>> 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:382)
>>>>>> 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)
>>>>>>
>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>> 15:24:55.503
>>>>>> !MESSAGE Execution framework config file is invalid.
>>>>>> !SESSION 2008-07-03
>>>>>> 15:26:23.019 -----------------------------------------------
>>>>>> eclipse.buildId=I20080617-2000
>>>>>> java.version=1.6.0_05
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>> !SESSION 2008-07-03
>>>>>> 15:28:20.880 -----------------------------------------------
>>>>>> eclipse.buildId=I20080617-2000
>>>>>> java.version=1.6.0_05
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>> !SESSION 2008-07-03
>>>>>> 15:33:08.759 -----------------------------------------------
>>>>>> eclipse.buildId=I20080617-2000
>>>>>> java.version=1.6.0_05
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>>> !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:259)
>>>>>> at
>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>>> at
>>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>>> at
>>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>>> at
>>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>>> 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:1217)
>>>>>> at
>>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>>> at
>>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>>> at
>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>> at
>>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>>> at
>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>>> at
>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>> at
>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>> at
>>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>>> at
>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>>> at
>>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>>> at
>>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>>> at
>>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>>> 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:382)
>>>>>> 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)
>>>>>> !SESSION 2008-07-03
>>>>>> 15:51:18.007 -----------------------------------------------
>>>>>> eclipse.buildId=I20080617-2000
>>>>>> java.version=1.6.0_05
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>
>>
Re: Statistical View/Java Agent in 4.5 [message #132222 is a reply to message #132138] Tue, 08 July 2008 11:12 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Jonas,
The defect looks good. I added a comment noting that I confirm the same
behaviour.

Extending the BaseAgent class should be sufficient. Is the Integrated
Agent Controller (local) or Agent
Controller (local or remote) running? If so, please open a defect for this
problem and include your sample agent.

Please open a defect for the LoggingAgent symptoms and include your
class.

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g4tamb$auc$1@build.eclipse.org...
> Hi Paul,
>
> I filed a bug report for the Statistical Data Collection component
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=239795). That was my first
> bug report for such a project ever, so I am very open for feedback ;-)
>
> What do I have to do to create an agent that extends BaseAgent showing up
> in the UI? Do I only have to extend BaseAgent? Send some special
> commands/data?
>
> Currently, I extend my agent class from LoggingAgent. In main(), I create
> an instance from my agent class. In the constructor, during the
> super(name) is called. "null" is printed out and the program exits.
>
> thx
>
> jonas
>
> Paul Slauenwhite wrote:
>> Hi Jonas,
>> The defect number for the Integrated Agent Controller error is
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>
>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>> plug-ins for the Statistical Data Collection As-Is component are not
>> loading correctly. Please open a defect
>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>> for this problem.
>>
>> The LoggingAgent does not extend BaseAgent since it predates the
>> BaseAgent. You can extend the BaseAgent and have it show as an agent in
>> the UI.
>>
>> What is the stack trace for the NullPointerException in the
>> LoggingAgent's constructor?
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g4l35n$3qa$1@build.eclipse.org...
>>> Hi,
>>>
>>> I was almost sure that the entry in .log was a known issue, even though
>>> I couldn't find it in bugzilla.
>>> Window >> Show View >> Other >> ... shows all things like coverage
>>> statistics, call stack, log view, log navigator, profiling monitor, etc.
>>> but not the generic statistical graph view. I followed the instructions
>>> for installing the stand-alone package (see my last post) and was
>>> expecting to find the statistical graph again. But I don't.
>>>
>>> As I am trying to write my own agent, I was going deeper into
>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>> Why is the LoggingAgent not extending BaseAgent?
>>> Is it possible to create an agent extending BaseAgent that appears in
>>> the list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>> In the previous TPTP release I was only able to accomplish that
>>> extending from LoggingAgent. In the current release there seems to be a
>>> NullPointerException in the constructor of LoggingAgent; the agent only
>>> prints "null" and exits immediately again...
>>>
>>> thx
>>>
>>> jonas
>>>
>>>
>>> Paul Slauenwhite schrieb:
>>>> Hi Jonas,
>>>> Can you open the statistical views (see
>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>
>>>> The errors in the .log file are a known issue with the Integrated
>>>> Agent Controller preferences/configuration.
>>>>
>>>> Paul
>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>> Hi again,
>>>>>
>>>>> it is good to hear that the views are still available with 4.5.
>>>>> I followed your links and also this Getting Started guide:
>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>> But I am still not able to find the "Statistical View" using
>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>> loaded. In .log of my workspace there are some error message, but as
>>>>> far
>>>>> as I can say have nothing to do with my problem.
>>>>> thx
>>>>>
>>>>> jonas
>>>>>
>>>>>
>>>>> Paul Slauenwhite wrote:
>>>>>> Hi Jonas,
>>>>>> These views are still available and working for 4.5:
>>>>>>
>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>> >>
>>>>>> Statistical Data Collection
>>>>>>
>>>>>> This download will contain the plug-ins that your need to extract
>>>>>> from CVS
>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>> enhance the
>>>>>> component.
>>>>>>
>>>>>> The statistical graph is build from our statistical model. You can
>>>>>> emit
>>>>>> statistical XML fragments
>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>> Statistical
>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>> statistical model
>>>>>> and displayed in the statistical graph.
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>> [Jonas Wolf]
>>>>>>
>>>>>> Dear Paul,
>>>>>>
>>>>>> thank you very much for your answer.
>>>>>>
>>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>>> try
>>>>>>
>>>>>> to give some new life to it.
>>>>>>
>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>
>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>>
>>>>>> start, because I couldn't find the view and the agent control at the
>>>>>>
>>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>>
>>>>>> graph view for any kind of logging agent?
>>>>>>
>>>>>> Could you give me sime kind of TODO list what would have to be done
>>>>>> in
>>>>>>
>>>>>> order to integrate the statistical graph and the agent control view
>>>>>> into
>>>>>>
>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>
>>>>>> Thanks again
>>>>>>
>>>>>> jonas
>>>>>>
>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>> Hi Jonas,
>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>> statistical
>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>> As-Is
>>>>>>> component. As-Is components are primarily provided for prior users
>>>>>>> but
>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>> lists) or
>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>
>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>
>>>>>>> That said, we are always looking for community contribution
>>>>>>> (attached
>>>>>>> patches including code to resolve the symptom and test cases to test
>>>>>>> the
>>>>>>> fix) and/or new component owners.
>>>>>>>
>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>
>>>>>>> Paul
>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>>> used
>>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>>> great
>>>>>>>> statistical view to visualize the data.
>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>> more. Is
>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>> plugin?!
>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>> preview.
>>>>>>>> Will it be there? Or is there another way to select descriptors
>>>>>>>> from
>>>>>>>> agents providing statistical data?
>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the JavaDoc
>>>>>>>> for
>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>
>>>>>>>> Jonas
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> !SESSION 2008-07-03
>>>>> 15:24:20.283 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>> 15:24:55.503
>>>>> !MESSAGE Premature end of file.
>>>>> !STACK 0
>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>> Source)
>>>>> at
>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>> Source)
>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>> at
>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>> at
>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>> at
>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>> at
>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>> at
>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>> at
>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>> at
>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>> at
>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>> at
>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>> at
>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>> at
>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>> at
>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>> at
>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>> at
>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>> at
>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>> 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:382)
>>>>> 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)
>>>>>
>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>> 15:24:55.503
>>>>> !MESSAGE Execution framework config file is invalid.
>>>>> !SESSION 2008-07-03
>>>>> 15:26:23.019 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>> !SESSION 2008-07-03
>>>>> 15:28:20.880 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>> !SESSION 2008-07-03
>>>>> 15:33:08.759 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>> !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:259)
>>>>> at
>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>> 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:1217)
>>>>> at
>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>> at
>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>> at
>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>> at
>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>> at
>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>> at
>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>> at
>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>> at
>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>> 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:382)
>>>>> 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)
>>>>> !SESSION 2008-07-03
>>>>> 15:51:18.007 -----------------------------------------------
>>>>> eclipse.buildId=I20080617-2000
>>>>> java.version=1.6.0_05
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>
>>
Re: Statistical View/Java Agent in 4.5 [message #132237 is a reply to message #132206] Tue, 08 July 2008 13:27 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Paul,

I just found out, that my "null" had nothing to do with the Agent nor
the Agent Controller, I loaded a resource, which was not present. Sorry!

After resolving the "null", I could start my agent and it connected to a
local agent controller. I disabled the integrated agent controller,
because it was not configurable. I attached to the agent and suddenly my
next problem resolved, the statistical view appeared in window >> show
view >> other...
I now have the statistical view and the log view, but e.g. the coverage
statistics, execution time analysis, etc. disappeared from that list.
I am sure this is because I removed the statistical.ui package coming
with TPTP 4.5. If you can reproduce this behaviour with the tutorial
agent you wrote for EclipseCon 2006, I would close my bug report again
in the next days.

But I got some more questions:

If I write an agent extended from LoggingAgent, I just have to add a
LoggingAgentCustomCommandHandler and LoggingAgentMonitorListener to it,
to react on special commands and the monitor selections from the client?

If I emit statistical data (DiscreteObservation), I also have to emit
CommonBaseEvent to have the same triggering events visible in the log view?

Is it possible to let a local agent controller start a Java agent?
I tried to do so, I configured the AC using the SetConfig.bat and added
a agent.xml in a directory under agents. I then thought to be able to
use Eclipse to start the agent by just attaching to it in the profile
configurations dialog. But it never appeared in the list of available
agents. How would someone do that, if possible at all?

I saw in the agent.xml that there is a definition of interfaces the
agent supports (e.g. org.eclipse.tptp.agent,
org.eclipse.tptp.collector). Is there a list of "standard interfaces"?
Where can I find it? And how do I know which commands are understood if
an agent supports one of these interfaces?

Could you please point me to a sample client, that sends custom commands
to an agent?

Thank you very much for your kind and fast support.
TPTP is really great.

jonas


Paul Slauenwhite wrote:
> Hi Jonas,
> Yes, extensions of the BaseAgent should appear in the dialog for
> attaching to agents. Is the Integrated Agent Controller (local) or Agent
> Controller (local or remote) running? If so, please open a defect for this
> problem and include your sample agent.
>
> For emitting log and statistical data, I would suggest using the
> LoggingAgent. This agent is well used/tested and will not be deprecated
> moving forward. Please see the runLoggingAgent.bat and
> runStatisticalAgent.bat in :
>
> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/EclipseCon_2006_Tutorial_22_Source_Code_Paul_Slaue nwhite.zip
>
> [Source:
> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/index.html
> >> Problem Determination of J2EE Web Applications Using the Eclipse Test and
> Performance Tools Platform >> source.zip]
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g4v8il$7g1$1@build.eclipse.org...
>> Hi Paul,
>>
>> thanks for the note.
>> I already saw the TPTPJavaAgent and tried to get it "working".
>> I started the (configured) ACServer and run the TPTPJavaAgent in Eclipse.
>> I then tried to attach to the TPTPJavaAgent using Profile >> Profile
>> Configurations... >> Attach to Agent >> New Configuration
>> The connection test to the agent controller is successful, but the list of
>> agents is empty. Should the TPTPJavaAgent appear there?
>> To create an agent that feeds the client with statistical and logging
>> data, is it better to extend from BaseAgent or from LoggingAgent?
>> As I understood the LoggingAgent is a relict from the Hyades project that
>> will be deprecated soon?!
>> thx
>>
>> jonas
>>
>> Paul Slauenwhite wrote:
>>> Note, there is a single agent under
>>> org.eclipse.tptp.platform.execution.samples in the
>>> org.eclipse.tptp.platform.execution plug-in.
>>>
>>> Paul
>>>
>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>> news:g4sula$n9r$1@build.eclipse.org...
>>>> Hi Jonas,
>>>> The defect number for the Integrated Agent Controller error is
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>>>
>>>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>>>> plug-ins for the Statistical Data Collection As-Is component are not
>>>> loading correctly. Please open a defect
>>>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>>>> for this problem.
>>>>
>>>> The LoggingAgent does not extend BaseAgent since it predates the
>>>> BaseAgent. You can extend the BaseAgent and have it show as an agent in
>>>> the UI.
>>>>
>>>> What is the stack trace for the NullPointerException in the
>>>> LoggingAgent's constructor?
>>>>
>>>> Paul
>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>> news:g4l35n$3qa$1@build.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> I was almost sure that the entry in .log was a known issue, even though
>>>>> I couldn't find it in bugzilla.
>>>>> Window >> Show View >> Other >> ... shows all things like coverage
>>>>> statistics, call stack, log view, log navigator, profiling monitor,
>>>>> etc. but not the generic statistical graph view. I followed the
>>>>> instructions for installing the stand-alone package (see my last post)
>>>>> and was expecting to find the statistical graph again. But I don't.
>>>>>
>>>>> As I am trying to write my own agent, I was going deeper into
>>>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>>>> Why is the LoggingAgent not extending BaseAgent?
>>>>> Is it possible to create an agent extending BaseAgent that appears in
>>>>> the list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>>>> In the previous TPTP release I was only able to accomplish that
>>>>> extending from LoggingAgent. In the current release there seems to be a
>>>>> NullPointerException in the constructor of LoggingAgent; the agent only
>>>>> prints "null" and exits immediately again...
>>>>>
>>>>> thx
>>>>>
>>>>> jonas
>>>>>
>>>>>
>>>>> Paul Slauenwhite schrieb:
>>>>>> Hi Jonas,
>>>>>> Can you open the statistical views (see
>>>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>>>
>>>>>> The errors in the .log file are a known issue with the Integrated
>>>>>> Agent Controller preferences/configuration.
>>>>>>
>>>>>> Paul
>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>>>> Hi again,
>>>>>>>
>>>>>>> it is good to hear that the views are still available with 4.5.
>>>>>>> I followed your links and also this Getting Started guide:
>>>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>>>> But I am still not able to find the "Statistical View" using
>>>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>>>> loaded. In .log of my workspace there are some error message, but as
>>>>>>> far
>>>>>>> as I can say have nothing to do with my problem.
>>>>>>> thx
>>>>>>>
>>>>>>> jonas
>>>>>>>
>>>>>>>
>>>>>>> Paul Slauenwhite wrote:
>>>>>>>> Hi Jonas,
>>>>>>>> These views are still available and working for 4.5:
>>>>>>>>
>>>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>>>> >>
>>>>>>>> Statistical Data Collection
>>>>>>>>
>>>>>>>> This download will contain the plug-ins that your need to extract
>>>>>>>> from CVS
>>>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>>>> enhance the
>>>>>>>> component.
>>>>>>>>
>>>>>>>> The statistical graph is build from our statistical model. You can
>>>>>>>> emit
>>>>>>>> statistical XML fragments
>>>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>>>> Statistical
>>>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>>>> statistical model
>>>>>>>> and displayed in the statistical graph.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>> [Jonas Wolf]
>>>>>>>>
>>>>>>>> Dear Paul,
>>>>>>>>
>>>>>>>> thank you very much for your answer.
>>>>>>>>
>>>>>>>> I decided to have a very close look at the statistical ui plugin and
>>>>>>>> try
>>>>>>>>
>>>>>>>> to give some new life to it.
>>>>>>>>
>>>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>>>
>>>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point to
>>>>>>>>
>>>>>>>> start, because I couldn't find the view and the agent control at the
>>>>>>>>
>>>>>>>> first glance? Is it actually possible to only provide a statistical
>>>>>>>>
>>>>>>>> graph view for any kind of logging agent?
>>>>>>>>
>>>>>>>> Could you give me sime kind of TODO list what would have to be done
>>>>>>>> in
>>>>>>>>
>>>>>>>> order to integrate the statistical graph and the agent control view
>>>>>>>> into
>>>>>>>>
>>>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>>>
>>>>>>>> Thanks again
>>>>>>>>
>>>>>>>> jonas
>>>>>>>>
>>>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>>>> Hi Jonas,
>>>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>>>> statistical
>>>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>>>> As-Is
>>>>>>>>> component. As-Is components are primarily provided for prior users
>>>>>>>>> but
>>>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>>>> lists) or
>>>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>>>
>>>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>>>
>>>>>>>>> That said, we are always looking for community contribution
>>>>>>>>> (attached
>>>>>>>>> patches including code to resolve the symptom and test cases to
>>>>>>>>> test the
>>>>>>>>> fix) and/or new component owners.
>>>>>>>>>
>>>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I am currently trying to write a Java Agent for my application. I
>>>>>>>>>> used
>>>>>>>>>> the 4.4 release for my first steps and was very happy to have the
>>>>>>>>>> great
>>>>>>>>>> statistical view to visualize the data.
>>>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>>>> more. Is
>>>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>>>> plugin?!
>>>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>>>> preview.
>>>>>>>>>> Will it be there? Or is there another way to select descriptors
>>>>>>>>>> from
>>>>>>>>>> agents providing statistical data?
>>>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the
>>>>>>>>>> JavaDoc for
>>>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>>>
>>>>>>>>>> Jonas
>>>>>> ------------------------------------------------------------ --------------------
>>>>>>
>>>>>>
>>>>>>> !SESSION 2008-07-03
>>>>>>> 15:24:20.283 -----------------------------------------------
>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>> java.version=1.6.0_05
>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>> 15:24:55.503
>>>>>>> !MESSAGE Premature end of file.
>>>>>>> !STACK 0
>>>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>>>> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>>>> Source)
>>>>>>> at
>>>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>>>> Source)
>>>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>>>> at
>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>>>> at
>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>>>> at
>>>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>> at
>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>>> at
>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>>>> at
>>>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>>>> at
>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>>>> at
>>>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>>>> at
>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>>>> at
>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>>>> at
>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>>>> at
>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>>>> at
>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>> at
>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>>>> at
>>>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>>>> at
>>>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>>>> 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:382)
>>>>>>> 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)
>>>>>>>
>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>> 15:24:55.503
>>>>>>> !MESSAGE Execution framework config file is invalid.
>>>>>>> !SESSION 2008-07-03
>>>>>>> 15:26:23.019 -----------------------------------------------
>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>> java.version=1.6.0_05
>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>> !SESSION 2008-07-03
>>>>>>> 15:28:20.880 -----------------------------------------------
>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>> java.version=1.6.0_05
>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>> !SESSION 2008-07-03
>>>>>>> 15:33:08.759 -----------------------------------------------
>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>> java.version=1.6.0_05
>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>>>> !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:259)
>>>>>>> at
>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>>>> at
>>>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>>>> at
>>>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>>>> at
>>>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>>>> 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:1217)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>>>> at
>>>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>>>> at
>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>> at
>>>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>>>> at
>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>>>> at
>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>> at
>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>> at
>>>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>>>> at
>>>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>>>> at
>>>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>>>> at
>>>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>>>> 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:382)
>>>>>>> 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)
>>>>>>> !SESSION 2008-07-03
>>>>>>> 15:51:18.007 -----------------------------------------------
>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>> java.version=1.6.0_05
>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>
>
Re: Statistical View/Java Agent in 4.5 [message #132253 is a reply to message #132237] Tue, 08 July 2008 15:02 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
I am so stupid!

I used the wrong Eclipse version. The statistical views are not there... :-(

jonas

Jonas Wolf wrote:
> Hi Paul,
>
> I just found out, that my "null" had nothing to do with the Agent nor
> the Agent Controller, I loaded a resource, which was not present. Sorry!
>
> After resolving the "null", I could start my agent and it connected to a
> local agent controller. I disabled the integrated agent controller,
> because it was not configurable. I attached to the agent and suddenly my
> next problem resolved, the statistical view appeared in window >> show
> view >> other...
> I now have the statistical view and the log view, but e.g. the coverage
> statistics, execution time analysis, etc. disappeared from that list.
> I am sure this is because I removed the statistical.ui package coming
> with TPTP 4.5. If you can reproduce this behaviour with the tutorial
> agent you wrote for EclipseCon 2006, I would close my bug report again
> in the next days.
>
> But I got some more questions:
>
> If I write an agent extended from LoggingAgent, I just have to add a
> LoggingAgentCustomCommandHandler and LoggingAgentMonitorListener to it,
> to react on special commands and the monitor selections from the client?
>
> If I emit statistical data (DiscreteObservation), I also have to emit
> CommonBaseEvent to have the same triggering events visible in the log view?
>
> Is it possible to let a local agent controller start a Java agent?
> I tried to do so, I configured the AC using the SetConfig.bat and added
> a agent.xml in a directory under agents. I then thought to be able to
> use Eclipse to start the agent by just attaching to it in the profile
> configurations dialog. But it never appeared in the list of available
> agents. How would someone do that, if possible at all?
>
> I saw in the agent.xml that there is a definition of interfaces the
> agent supports (e.g. org.eclipse.tptp.agent,
> org.eclipse.tptp.collector). Is there a list of "standard interfaces"?
> Where can I find it? And how do I know which commands are understood if
> an agent supports one of these interfaces?
>
> Could you please point me to a sample client, that sends custom commands
> to an agent?
>
> Thank you very much for your kind and fast support.
> TPTP is really great.
>
> jonas
>
>
> Paul Slauenwhite wrote:
>> Hi Jonas,
>> Yes, extensions of the BaseAgent should appear in the dialog for
>> attaching to agents. Is the Integrated Agent Controller (local) or
>> Agent Controller (local or remote) running? If so, please open a
>> defect for this problem and include your sample agent.
>>
>> For emitting log and statistical data, I would suggest using the
>> LoggingAgent. This agent is well used/tested and will not be
>> deprecated moving forward. Please see the runLoggingAgent.bat and
>> runStatisticalAgent.bat in :
>>
>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/EclipseCon_2006_Tutorial_22_Source_Code_Paul_Slaue nwhite.zip
>>
>>
>> [Source:
>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/index.html
>> >> Problem Determination of J2EE Web Applications Using the Eclipse
>> Test and Performance Tools Platform >> source.zip]
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g4v8il$7g1$1@build.eclipse.org...
>>> Hi Paul,
>>>
>>> thanks for the note.
>>> I already saw the TPTPJavaAgent and tried to get it "working".
>>> I started the (configured) ACServer and run the TPTPJavaAgent in
>>> Eclipse. I then tried to attach to the TPTPJavaAgent using Profile >>
>>> Profile Configurations... >> Attach to Agent >> New Configuration
>>> The connection test to the agent controller is successful, but the
>>> list of agents is empty. Should the TPTPJavaAgent appear there?
>>> To create an agent that feeds the client with statistical and logging
>>> data, is it better to extend from BaseAgent or from LoggingAgent?
>>> As I understood the LoggingAgent is a relict from the Hyades project
>>> that will be deprecated soon?!
>>> thx
>>>
>>> jonas
>>>
>>> Paul Slauenwhite wrote:
>>>> Note, there is a single agent under
>>>> org.eclipse.tptp.platform.execution.samples in the
>>>> org.eclipse.tptp.platform.execution plug-in.
>>>>
>>>> Paul
>>>>
>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>> news:g4sula$n9r$1@build.eclipse.org...
>>>>> Hi Jonas,
>>>>> The defect number for the Integrated Agent Controller error is
>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>>>>
>>>>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>>>>> plug-ins for the Statistical Data Collection As-Is component are
>>>>> not loading correctly. Please open a defect
>>>>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>>>>> for this problem.
>>>>>
>>>>> The LoggingAgent does not extend BaseAgent since it predates the
>>>>> BaseAgent. You can extend the BaseAgent and have it show as an
>>>>> agent in the UI.
>>>>>
>>>>> What is the stack trace for the NullPointerException in the
>>>>> LoggingAgent's constructor?
>>>>>
>>>>> Paul
>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>> news:g4l35n$3qa$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> I was almost sure that the entry in .log was a known issue, even
>>>>>> though I couldn't find it in bugzilla.
>>>>>> Window >> Show View >> Other >> ... shows all things like coverage
>>>>>> statistics, call stack, log view, log navigator, profiling
>>>>>> monitor, etc. but not the generic statistical graph view. I
>>>>>> followed the instructions for installing the stand-alone package
>>>>>> (see my last post) and was expecting to find the statistical graph
>>>>>> again. But I don't.
>>>>>>
>>>>>> As I am trying to write my own agent, I was going deeper into
>>>>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>>>>> Why is the LoggingAgent not extending BaseAgent?
>>>>>> Is it possible to create an agent extending BaseAgent that appears
>>>>>> in the list of agents in Run >> Profile... >> Attach to agent >>
>>>>>> Agents?
>>>>>> In the previous TPTP release I was only able to accomplish that
>>>>>> extending from LoggingAgent. In the current release there seems to
>>>>>> be a NullPointerException in the constructor of LoggingAgent; the
>>>>>> agent only prints "null" and exits immediately again...
>>>>>>
>>>>>> thx
>>>>>>
>>>>>> jonas
>>>>>>
>>>>>>
>>>>>> Paul Slauenwhite schrieb:
>>>>>>> Hi Jonas,
>>>>>>> Can you open the statistical views (see
>>>>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>>>>
>>>>>>> The errors in the .log file are a known issue with the
>>>>>>> Integrated Agent Controller preferences/configuration.
>>>>>>>
>>>>>>> Paul
>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>>>>> Hi again,
>>>>>>>>
>>>>>>>> it is good to hear that the views are still available with 4.5.
>>>>>>>> I followed your links and also this Getting Started guide:
>>>>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>>>>>
>>>>>>>> But I am still not able to find the "Statistical View" using
>>>>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>>>>> loaded. In .log of my workspace there are some error message,
>>>>>>>> but as far
>>>>>>>> as I can say have nothing to do with my problem.
>>>>>>>> thx
>>>>>>>>
>>>>>>>> jonas
>>>>>>>>
>>>>>>>>
>>>>>>>> Paul Slauenwhite wrote:
>>>>>>>>> Hi Jonas,
>>>>>>>>> These views are still available and working for 4.5:
>>>>>>>>>
>>>>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>>>>> >>
>>>>>>>>> Statistical Data Collection
>>>>>>>>>
>>>>>>>>> This download will contain the plug-ins that your need to
>>>>>>>>> extract from CVS
>>>>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project)
>>>>>>>>> to enhance the
>>>>>>>>> component.
>>>>>>>>>
>>>>>>>>> The statistical graph is build from our statistical model.
>>>>>>>>> You can emit
>>>>>>>>> statistical XML fragments
>>>>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>>>>> Statistical
>>>>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>>>>> statistical model
>>>>>>>>> and displayed in the statistical graph.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>>
>>>>>>>>> [Jonas Wolf]
>>>>>>>>>
>>>>>>>>> Dear Paul,
>>>>>>>>>
>>>>>>>>> thank you very much for your answer.
>>>>>>>>>
>>>>>>>>> I decided to have a very close look at the statistical ui
>>>>>>>>> plugin and try
>>>>>>>>>
>>>>>>>>> to give some new life to it.
>>>>>>>>>
>>>>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>>>>
>>>>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right
>>>>>>>>> point to
>>>>>>>>>
>>>>>>>>> start, because I couldn't find the view and the agent control
>>>>>>>>> at the
>>>>>>>>>
>>>>>>>>> first glance? Is it actually possible to only provide a
>>>>>>>>> statistical
>>>>>>>>>
>>>>>>>>> graph view for any kind of logging agent?
>>>>>>>>>
>>>>>>>>> Could you give me sime kind of TODO list what would have to be
>>>>>>>>> done in
>>>>>>>>>
>>>>>>>>> order to integrate the statistical graph and the agent control
>>>>>>>>> view into
>>>>>>>>>
>>>>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>>>>
>>>>>>>>> Thanks again
>>>>>>>>>
>>>>>>>>> jonas
>>>>>>>>>
>>>>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>>>>> Hi Jonas,
>>>>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>>>>> statistical
>>>>>>>>>> views) was moved from a General Availability (GA) component to
>>>>>>>>>> an As-Is
>>>>>>>>>> component. As-Is components are primarily provided for prior
>>>>>>>>>> users but
>>>>>>>>>> imply no support (for example, defects, news group, and
>>>>>>>>>> mailing lists) or
>>>>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>>>>
>>>>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> That said, we are always looking for community contribution
>>>>>>>>>> (attached
>>>>>>>>>> patches including code to resolve the symptom and test cases
>>>>>>>>>> to test the
>>>>>>>>>> fix) and/or new component owners.
>>>>>>>>>>
>>>>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I am currently trying to write a Java Agent for my
>>>>>>>>>>> application. I used
>>>>>>>>>>> the 4.4 release for my first steps and was very happy to have
>>>>>>>>>>> the great
>>>>>>>>>>> statistical view to visualize the data.
>>>>>>>>>>> However, I just noticed that it won't be in the 4.5 release
>>>>>>>>>>> any more. Is
>>>>>>>>>>> there a chance to get it in again, if anyone (me?) refactors
>>>>>>>>>>> the plugin?!
>>>>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>>>>>
>>>>>>>>>>> What about the Agent Control view? I couldn't find it in the
>>>>>>>>>>> 3.4 preview.
>>>>>>>>>>> Will it be there? Or is there another way to select
>>>>>>>>>>> descriptors from
>>>>>>>>>>> agents providing statistical data?
>>>>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the
>>>>>>>>>>> JavaDoc for
>>>>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>>>>
>>>>>>>>>>> Jonas
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> !SESSION 2008-07-03 15:24:20.283
>>>>>>>> -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0
>>>>>>>> 2008-07-03 15:24:55.503
>>>>>>>> !MESSAGE Premature end of file.
>>>>>>>> !STACK 0
>>>>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>>>>> at
>>>>>>>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>>>>> Source)
>>>>>>>> at
>>>>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>>>>> Source)
>>>>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>>>>>
>>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>>>>>
>>>>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>>>>>
>>>>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>>>>>
>>>>>>>> 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:382)
>>>>>>>>
>>>>>>>> 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)
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0
>>>>>>>> 2008-07-03 15:24:55.503
>>>>>>>> !MESSAGE Execution framework config file is invalid.
>>>>>>>> !SESSION 2008-07-03 15:26:23.019
>>>>>>>> -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>> !SESSION 2008-07-03 15:28:20.880
>>>>>>>> -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>> !SESSION 2008-07-03 15:33:08.759
>>>>>>>> -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>>>>> !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:259)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>>>>>
>>>>>>>> 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:1217)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>>>>>
>>>>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>>>>>
>>>>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
>>>>>>>> Method)
>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>>>>> at
>>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>>>>> at
>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>>>>>
>>>>>>>> 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:382)
>>>>>>>>
>>>>>>>> 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)
>>>>>>>> !SESSION 2008-07-03 15:51:18.007
>>>>>>>> -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>
Re: Statistical View/Java Agent in 4.5 [message #132452 is a reply to message #132237] Thu, 10 July 2008 10:29 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Joans,
I am going to have a developer from the TPTP Platform Project reply with
answers to your questions.

Paul
"Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
news:g4vq0i$n3g$1@build.eclipse.org...
> Hi Paul,
>
> I just found out, that my "null" had nothing to do with the Agent nor the
> Agent Controller, I loaded a resource, which was not present. Sorry!
>
> After resolving the "null", I could start my agent and it connected to a
> local agent controller. I disabled the integrated agent controller,
> because it was not configurable. I attached to the agent and suddenly my
> next problem resolved, the statistical view appeared in window >> show
> view >> other...
> I now have the statistical view and the log view, but e.g. the coverage
> statistics, execution time analysis, etc. disappeared from that list.
> I am sure this is because I removed the statistical.ui package coming with
> TPTP 4.5. If you can reproduce this behaviour with the tutorial agent you
> wrote for EclipseCon 2006, I would close my bug report again in the next
> days.
>
> But I got some more questions:
>
> If I write an agent extended from LoggingAgent, I just have to add a
> LoggingAgentCustomCommandHandler and LoggingAgentMonitorListener to it, to
> react on special commands and the monitor selections from the client?
>
> If I emit statistical data (DiscreteObservation), I also have to emit
> CommonBaseEvent to have the same triggering events visible in the log
> view?
>
> Is it possible to let a local agent controller start a Java agent?
> I tried to do so, I configured the AC using the SetConfig.bat and added a
> agent.xml in a directory under agents. I then thought to be able to use
> Eclipse to start the agent by just attaching to it in the profile
> configurations dialog. But it never appeared in the list of available
> agents. How would someone do that, if possible at all?
>
> I saw in the agent.xml that there is a definition of interfaces the agent
> supports (e.g. org.eclipse.tptp.agent, org.eclipse.tptp.collector). Is
> there a list of "standard interfaces"?
> Where can I find it? And how do I know which commands are understood if an
> agent supports one of these interfaces?
>
> Could you please point me to a sample client, that sends custom commands
> to an agent?
>
> Thank you very much for your kind and fast support.
> TPTP is really great.
>
> jonas
>
>
> Paul Slauenwhite wrote:
>> Hi Jonas,
>> Yes, extensions of the BaseAgent should appear in the dialog for
>> attaching to agents. Is the Integrated Agent Controller (local) or Agent
>> Controller (local or remote) running? If so, please open a defect for
>> this problem and include your sample agent.
>>
>> For emitting log and statistical data, I would suggest using the
>> LoggingAgent. This agent is well used/tested and will not be deprecated
>> moving forward. Please see the runLoggingAgent.bat and
>> runStatisticalAgent.bat in :
>>
>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/EclipseCon_2006_Tutorial_22_Source_Code_Paul_Slaue nwhite.zip
>>
>> [Source:
>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/index.html
>> >> Problem Determination of J2EE Web Applications Using the Eclipse Test
>> and Performance Tools Platform >> source.zip]
>>
>> Paul
>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>> news:g4v8il$7g1$1@build.eclipse.org...
>>> Hi Paul,
>>>
>>> thanks for the note.
>>> I already saw the TPTPJavaAgent and tried to get it "working".
>>> I started the (configured) ACServer and run the TPTPJavaAgent in
>>> Eclipse. I then tried to attach to the TPTPJavaAgent using Profile >>
>>> Profile Configurations... >> Attach to Agent >> New Configuration
>>> The connection test to the agent controller is successful, but the list
>>> of agents is empty. Should the TPTPJavaAgent appear there?
>>> To create an agent that feeds the client with statistical and logging
>>> data, is it better to extend from BaseAgent or from LoggingAgent?
>>> As I understood the LoggingAgent is a relict from the Hyades project
>>> that will be deprecated soon?!
>>> thx
>>>
>>> jonas
>>>
>>> Paul Slauenwhite wrote:
>>>> Note, there is a single agent under
>>>> org.eclipse.tptp.platform.execution.samples in the
>>>> org.eclipse.tptp.platform.execution plug-in.
>>>>
>>>> Paul
>>>>
>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>> news:g4sula$n9r$1@build.eclipse.org...
>>>>> Hi Jonas,
>>>>> The defect number for the Integrated Agent Controller error is
>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>>>>
>>>>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>>>>> plug-ins for the Statistical Data Collection As-Is component are not
>>>>> loading correctly. Please open a defect
>>>>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>>>>> for this problem.
>>>>>
>>>>> The LoggingAgent does not extend BaseAgent since it predates the
>>>>> BaseAgent. You can extend the BaseAgent and have it show as an agent
>>>>> in the UI.
>>>>>
>>>>> What is the stack trace for the NullPointerException in the
>>>>> LoggingAgent's constructor?
>>>>>
>>>>> Paul
>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>> news:g4l35n$3qa$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> I was almost sure that the entry in .log was a known issue, even
>>>>>> though I couldn't find it in bugzilla.
>>>>>> Window >> Show View >> Other >> ... shows all things like coverage
>>>>>> statistics, call stack, log view, log navigator, profiling monitor,
>>>>>> etc. but not the generic statistical graph view. I followed the
>>>>>> instructions for installing the stand-alone package (see my last
>>>>>> post) and was expecting to find the statistical graph again. But I
>>>>>> don't.
>>>>>>
>>>>>> As I am trying to write my own agent, I was going deeper into
>>>>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>>>>> Why is the LoggingAgent not extending BaseAgent?
>>>>>> Is it possible to create an agent extending BaseAgent that appears in
>>>>>> the list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>>>>> In the previous TPTP release I was only able to accomplish that
>>>>>> extending from LoggingAgent. In the current release there seems to be
>>>>>> a NullPointerException in the constructor of LoggingAgent; the agent
>>>>>> only prints "null" and exits immediately again...
>>>>>>
>>>>>> thx
>>>>>>
>>>>>> jonas
>>>>>>
>>>>>>
>>>>>> Paul Slauenwhite schrieb:
>>>>>>> Hi Jonas,
>>>>>>> Can you open the statistical views (see
>>>>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>>>>
>>>>>>> The errors in the .log file are a known issue with the
>>>>>>> Integrated Agent Controller preferences/configuration.
>>>>>>>
>>>>>>> Paul
>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>>>>> Hi again,
>>>>>>>>
>>>>>>>> it is good to hear that the views are still available with 4.5.
>>>>>>>> I followed your links and also this Getting Started guide:
>>>>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>>>>> But I am still not able to find the "Statistical View" using
>>>>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>>>>> loaded. In .log of my workspace there are some error message, but
>>>>>>>> as far
>>>>>>>> as I can say have nothing to do with my problem.
>>>>>>>> thx
>>>>>>>>
>>>>>>>> jonas
>>>>>>>>
>>>>>>>>
>>>>>>>> Paul Slauenwhite wrote:
>>>>>>>>> Hi Jonas,
>>>>>>>>> These views are still available and working for 4.5:
>>>>>>>>>
>>>>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>>>>> >>
>>>>>>>>> Statistical Data Collection
>>>>>>>>>
>>>>>>>>> This download will contain the plug-ins that your need to extract
>>>>>>>>> from CVS
>>>>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>>>>> enhance the
>>>>>>>>> component.
>>>>>>>>>
>>>>>>>>> The statistical graph is build from our statistical model. You
>>>>>>>>> can emit
>>>>>>>>> statistical XML fragments
>>>>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>>>>> Statistical
>>>>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>>>>> statistical model
>>>>>>>>> and displayed in the statistical graph.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>>
>>>>>>>>> [Jonas Wolf]
>>>>>>>>>
>>>>>>>>> Dear Paul,
>>>>>>>>>
>>>>>>>>> thank you very much for your answer.
>>>>>>>>>
>>>>>>>>> I decided to have a very close look at the statistical ui plugin
>>>>>>>>> and try
>>>>>>>>>
>>>>>>>>> to give some new life to it.
>>>>>>>>>
>>>>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>>>>
>>>>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point
>>>>>>>>> to
>>>>>>>>>
>>>>>>>>> start, because I couldn't find the view and the agent control at
>>>>>>>>> the
>>>>>>>>>
>>>>>>>>> first glance? Is it actually possible to only provide a
>>>>>>>>> statistical
>>>>>>>>>
>>>>>>>>> graph view for any kind of logging agent?
>>>>>>>>>
>>>>>>>>> Could you give me sime kind of TODO list what would have to be
>>>>>>>>> done in
>>>>>>>>>
>>>>>>>>> order to integrate the statistical graph and the agent control
>>>>>>>>> view into
>>>>>>>>>
>>>>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>>>>
>>>>>>>>> Thanks again
>>>>>>>>>
>>>>>>>>> jonas
>>>>>>>>>
>>>>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>>>>> Hi Jonas,
>>>>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>>>>> statistical
>>>>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>>>>> As-Is
>>>>>>>>>> component. As-Is components are primarily provided for prior
>>>>>>>>>> users but
>>>>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>>>>> lists) or
>>>>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>>>>
>>>>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>>>>
>>>>>>>>>> That said, we are always looking for community contribution
>>>>>>>>>> (attached
>>>>>>>>>> patches including code to resolve the symptom and test cases to
>>>>>>>>>> test the
>>>>>>>>>> fix) and/or new component owners.
>>>>>>>>>>
>>>>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I am currently trying to write a Java Agent for my application.
>>>>>>>>>>> I used
>>>>>>>>>>> the 4.4 release for my first steps and was very happy to have
>>>>>>>>>>> the great
>>>>>>>>>>> statistical view to visualize the data.
>>>>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>>>>> more. Is
>>>>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>>>>> plugin?!
>>>>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>>>>> preview.
>>>>>>>>>>> Will it be there? Or is there another way to select descriptors
>>>>>>>>>>> from
>>>>>>>>>>> agents providing statistical data?
>>>>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the
>>>>>>>>>>> JavaDoc for
>>>>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>>>>
>>>>>>>>>>> Jonas
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>> !SESSION 2008-07-03
>>>>>>>> 15:24:20.283 -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>>> 15:24:55.503
>>>>>>>> !MESSAGE Premature end of file.
>>>>>>>> !STACK 0
>>>>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>>>>> at
>>>>>>>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>>>>> Source)
>>>>>>>> at
>>>>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>>>>> Source)
>>>>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>>>> at
>>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>>>>> at
>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>>>>> at
>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>>>>> at
>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>>>>> 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:382)
>>>>>>>> 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)
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>>> 15:24:55.503
>>>>>>>> !MESSAGE Execution framework config file is invalid.
>>>>>>>> !SESSION 2008-07-03
>>>>>>>> 15:26:23.019 -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>> !SESSION 2008-07-03
>>>>>>>> 15:28:20.880 -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>> !SESSION 2008-07-03
>>>>>>>> 15:33:08.759 -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>>>>> !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:259)
>>>>>>>> at
>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>>>>> 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:1217)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>>>>> at
>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>> at
>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>>>>> at
>>>>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
>>>>>>>> Method)
>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>>>>> at
>>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>>>>> at
>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>>>>> at
>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>> at
>>>>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>>>>> at
>>>>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>>>>> 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:382)
>>>>>>>> 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)
>>>>>>>> !SESSION 2008-07-03
>>>>>>>> 15:51:18.007 -----------------------------------------------
>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>> java.version=1.6.0_05
>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>
>>
Re: Statistical View/Java Agent in 4.5 [message #132507 is a reply to message #132452] Fri, 11 July 2008 09:25 Go to previous messageGo to next message
Jonas Wolf is currently offline Jonas WolfFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Paul,

thank you very much for your support and time.
I am looking forward to the answers of my questions.

jonas

Paul Slauenwhite wrote:
> Hi Joans,
> I am going to have a developer from the TPTP Platform Project reply with
> answers to your questions.
>
> Paul
> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
> news:g4vq0i$n3g$1@build.eclipse.org...
>> Hi Paul,
>>
>> I just found out, that my "null" had nothing to do with the Agent nor the
>> Agent Controller, I loaded a resource, which was not present. Sorry!
>>
>> After resolving the "null", I could start my agent and it connected to a
>> local agent controller. I disabled the integrated agent controller,
>> because it was not configurable. I attached to the agent and suddenly my
>> next problem resolved, the statistical view appeared in window >> show
>> view >> other...
>> I now have the statistical view and the log view, but e.g. the coverage
>> statistics, execution time analysis, etc. disappeared from that list.
>> I am sure this is because I removed the statistical.ui package coming with
>> TPTP 4.5. If you can reproduce this behaviour with the tutorial agent you
>> wrote for EclipseCon 2006, I would close my bug report again in the next
>> days.
>>
>> But I got some more questions:
>>
>> If I write an agent extended from LoggingAgent, I just have to add a
>> LoggingAgentCustomCommandHandler and LoggingAgentMonitorListener to it, to
>> react on special commands and the monitor selections from the client?
>>
>> If I emit statistical data (DiscreteObservation), I also have to emit
>> CommonBaseEvent to have the same triggering events visible in the log
>> view?
>>
>> Is it possible to let a local agent controller start a Java agent?
>> I tried to do so, I configured the AC using the SetConfig.bat and added a
>> agent.xml in a directory under agents. I then thought to be able to use
>> Eclipse to start the agent by just attaching to it in the profile
>> configurations dialog. But it never appeared in the list of available
>> agents. How would someone do that, if possible at all?
>>
>> I saw in the agent.xml that there is a definition of interfaces the agent
>> supports (e.g. org.eclipse.tptp.agent, org.eclipse.tptp.collector). Is
>> there a list of "standard interfaces"?
>> Where can I find it? And how do I know which commands are understood if an
>> agent supports one of these interfaces?
>>
>> Could you please point me to a sample client, that sends custom commands
>> to an agent?
>>
>> Thank you very much for your kind and fast support.
>> TPTP is really great.
>>
>> jonas
>>
>>
>> Paul Slauenwhite wrote:
>>> Hi Jonas,
>>> Yes, extensions of the BaseAgent should appear in the dialog for
>>> attaching to agents. Is the Integrated Agent Controller (local) or Agent
>>> Controller (local or remote) running? If so, please open a defect for
>>> this problem and include your sample agent.
>>>
>>> For emitting log and statistical data, I would suggest using the
>>> LoggingAgent. This agent is well used/tested and will not be deprecated
>>> moving forward. Please see the runLoggingAgent.bat and
>>> runStatisticalAgent.bat in :
>>>
>>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/EclipseCon_2006_Tutorial_22_Source_Code_Paul_Slaue nwhite.zip
>>>
>>> [Source:
>>> http://www.eclipse.org/tptp/home/documents/conferences/eclip seCon2006/index.html
>>> >> Problem Determination of J2EE Web Applications Using the Eclipse Test
>>> and Performance Tools Platform >> source.zip]
>>>
>>> Paul
>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>> news:g4v8il$7g1$1@build.eclipse.org...
>>>> Hi Paul,
>>>>
>>>> thanks for the note.
>>>> I already saw the TPTPJavaAgent and tried to get it "working".
>>>> I started the (configured) ACServer and run the TPTPJavaAgent in
>>>> Eclipse. I then tried to attach to the TPTPJavaAgent using Profile >>
>>>> Profile Configurations... >> Attach to Agent >> New Configuration
>>>> The connection test to the agent controller is successful, but the list
>>>> of agents is empty. Should the TPTPJavaAgent appear there?
>>>> To create an agent that feeds the client with statistical and logging
>>>> data, is it better to extend from BaseAgent or from LoggingAgent?
>>>> As I understood the LoggingAgent is a relict from the Hyades project
>>>> that will be deprecated soon?!
>>>> thx
>>>>
>>>> jonas
>>>>
>>>> Paul Slauenwhite wrote:
>>>>> Note, there is a single agent under
>>>>> org.eclipse.tptp.platform.execution.samples in the
>>>>> org.eclipse.tptp.platform.execution plug-in.
>>>>>
>>>>> Paul
>>>>>
>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>> news:g4sula$n9r$1@build.eclipse.org...
>>>>>> Hi Jonas,
>>>>>> The defect number for the Integrated Agent Controller error is
>>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236464.
>>>>>>
>>>>>> You are correct. Using the TPTP-4.5.1-200807020100 build, the
>>>>>> plug-ins for the Statistical Data Collection As-Is component are not
>>>>>> loading correctly. Please open a defect
>>>>>> ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R esource%20Monitoring)
>>>>>> for this problem.
>>>>>>
>>>>>> The LoggingAgent does not extend BaseAgent since it predates the
>>>>>> BaseAgent. You can extend the BaseAgent and have it show as an agent
>>>>>> in the UI.
>>>>>>
>>>>>> What is the stack trace for the NullPointerException in the
>>>>>> LoggingAgent's constructor?
>>>>>>
>>>>>> Paul
>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>> news:g4l35n$3qa$1@build.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> I was almost sure that the entry in .log was a known issue, even
>>>>>>> though I couldn't find it in bugzilla.
>>>>>>> Window >> Show View >> Other >> ... shows all things like coverage
>>>>>>> statistics, call stack, log view, log navigator, profiling monitor,
>>>>>>> etc. but not the generic statistical graph view. I followed the
>>>>>>> instructions for installing the stand-alone package (see my last
>>>>>>> post) and was expecting to find the statistical graph again. But I
>>>>>>> don't.
>>>>>>>
>>>>>>> As I am trying to write my own agent, I was going deeper into
>>>>>>> LoggingAgent and BaseAgent and stumbled across some questions:
>>>>>>> Why is the LoggingAgent not extending BaseAgent?
>>>>>>> Is it possible to create an agent extending BaseAgent that appears in
>>>>>>> the list of agents in Run >> Profile... >> Attach to agent >> Agents?
>>>>>>> In the previous TPTP release I was only able to accomplish that
>>>>>>> extending from LoggingAgent. In the current release there seems to be
>>>>>>> a NullPointerException in the constructor of LoggingAgent; the agent
>>>>>>> only prints "null" and exits immediately again...
>>>>>>>
>>>>>>> thx
>>>>>>>
>>>>>>> jonas
>>>>>>>
>>>>>>>
>>>>>>> Paul Slauenwhite schrieb:
>>>>>>>> Hi Jonas,
>>>>>>>> Can you open the statistical views (see
>>>>>>>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/concepts/simple_c_intro.htm)
>>>>>>>> from the Window >> Show View >> Other... >> .... menu?
>>>>>>>>
>>>>>>>> The errors in the .log file are a known issue with the
>>>>>>>> Integrated Agent Controller preferences/configuration.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>> news:g4ilp9$8be$1@build.eclipse.org...
>>>>>>>>> Hi again,
>>>>>>>>>
>>>>>>>>> it is good to hear that the views are still available with 4.5.
>>>>>>>>> I followed your links and also this Getting Started guide:
>>>>>>>>> http://www.eclipse.org/tptp/monitoring/documents/gettingstar ted/Statistical_Getting_Started.html
>>>>>>>>> But I am still not able to find the "Statistical View" using
>>>>>>>>> Window->Show View->Other... and then under "Profiling and Logging".
>>>>>>>>> What do I do wrong? I can't find any hint under Help->About Eclipse
>>>>>>>>> Platform->Configuration Details that the plugins under dropins are
>>>>>>>>> loaded. In .log of my workspace there are some error message, but
>>>>>>>>> as far
>>>>>>>>> as I can say have nothing to do with my problem.
>>>>>>>>> thx
>>>>>>>>>
>>>>>>>>> jonas
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Paul Slauenwhite wrote:
>>>>>>>>>> Hi Jonas,
>>>>>>>>>> These views are still available and working for 4.5:
>>>>>>>>>>
>>>>>>>>>> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0#AsIsCo mponents
>>>>>>>>>> >>
>>>>>>>>>> Statistical Data Collection
>>>>>>>>>>
>>>>>>>>>> This download will contain the plug-ins that your need to extract
>>>>>>>>>> from CVS
>>>>>>>>>> (http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project) to
>>>>>>>>>> enhance the
>>>>>>>>>> component.
>>>>>>>>>>
>>>>>>>>>> The statistical graph is build from our statistical model. You
>>>>>>>>>> can emit
>>>>>>>>>> statistical XML fragments
>>>>>>>>>> (http://www.eclipse.org/tptp/platform/documents/index.php >>
>>>>>>>>>> Statistical
>>>>>>>>>> Data Schema) through a Logging Agent to be loaded into the
>>>>>>>>>> statistical model
>>>>>>>>>> and displayed in the statistical graph.
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>> [Jonas Wolf]
>>>>>>>>>>
>>>>>>>>>> Dear Paul,
>>>>>>>>>>
>>>>>>>>>> thank you very much for your answer.
>>>>>>>>>>
>>>>>>>>>> I decided to have a very close look at the statistical ui plugin
>>>>>>>>>> and try
>>>>>>>>>>
>>>>>>>>>> to give some new life to it.
>>>>>>>>>>
>>>>>>>>>> Yesterday, I tried to get the source from CVS. I used the
>>>>>>>>>>
>>>>>>>>>> hyades/org.eclipse.hyades.statistical.ui. Is that the right point
>>>>>>>>>> to
>>>>>>>>>>
>>>>>>>>>> start, because I couldn't find the view and the agent control at
>>>>>>>>>> the
>>>>>>>>>>
>>>>>>>>>> first glance? Is it actually possible to only provide a
>>>>>>>>>> statistical
>>>>>>>>>>
>>>>>>>>>> graph view for any kind of logging agent?
>>>>>>>>>>
>>>>>>>>>> Could you give me sime kind of TODO list what would have to be
>>>>>>>>>> done in
>>>>>>>>>>
>>>>>>>>>> order to integrate the statistical graph and the agent control
>>>>>>>>>> view into
>>>>>>>>>>
>>>>>>>>>> the TPTP 4.5 platform again? Despite a lot of code clean-up! :-)
>>>>>>>>>>
>>>>>>>>>> Thanks again
>>>>>>>>>>
>>>>>>>>>> jonas
>>>>>>>>>>
>>>>>>>>>> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
>>>>>>>>>> news:g4045m$kll$1@build.eclipse.org...
>>>>>>>>>>> Hi Jonas,
>>>>>>>>>>> In TPTP 4.5, the Perfmon component (monitoring agent and
>>>>>>>>>>> statistical
>>>>>>>>>>> views) was moved from a General Availability (GA) component to an
>>>>>>>>>>> As-Is
>>>>>>>>>>> component. As-Is components are primarily provided for prior
>>>>>>>>>>> users but
>>>>>>>>>>> imply no support (for example, defects, news group, and mailing
>>>>>>>>>>> lists) or
>>>>>>>>>>> commitment to triage or resolve opened defects.
>>>>>>>>>>>
>>>>>>>>>>> http://wiki.eclipse.org/4.5_Component_Reorganization#Compone nt_Organization
>>>>>>>>>>>
>>>>>>>>>>> That said, we are always looking for community contribution
>>>>>>>>>>> (attached
>>>>>>>>>>> patches including code to resolve the symptom and test cases to
>>>>>>>>>>> test the
>>>>>>>>>>> fix) and/or new component owners.
>>>>>>>>>>>
>>>>>>>>>>> The LoggingAgent is in the TPTP 4.5.0 release.
>>>>>>>>>>>
>>>>>>>>>>> Paul
>>>>>>>>>>> "Jonas Wolf" <jonas.wolf@ils.uni-stuttgart.de> wrote in message
>>>>>>>>>>> news:g3o6s5$h1q$1@build.eclipse.org...
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> I am currently trying to write a Java Agent for my application.
>>>>>>>>>>>> I used
>>>>>>>>>>>> the 4.4 release for my first steps and was very happy to have
>>>>>>>>>>>> the great
>>>>>>>>>>>> statistical view to visualize the data.
>>>>>>>>>>>> However, I just noticed that it won't be in the 4.5 release any
>>>>>>>>>>>> more. Is
>>>>>>>>>>>> there a chance to get it in again, if anyone (me?) refactors the
>>>>>>>>>>>> plugin?!
>>>>>>>>>>>> Or can I just easier to create my own plugin from
>>>>>>>>>>>> (CVS)hyades/org.eclipse.hyades.statistical.ui/src/org/eclips e/hyades/statistical/ui?
>>>>>>>>>>>> What about the Agent Control view? I couldn't find it in the 3.4
>>>>>>>>>>>> preview.
>>>>>>>>>>>> Will it be there? Or is there another way to select descriptors
>>>>>>>>>>>> from
>>>>>>>>>>>> agents providing statistical data?
>>>>>>>>>>>> I found org.eclipse.hyades.logging.core.LoggingAgent in the
>>>>>>>>>>>> JavaDoc for
>>>>>>>>>>>> 4.5, so it will be in 4.5?
>>>>>>>>>>>> Any help is appreciated. Thanks in advance
>>>>>>>>>>>>
>>>>>>>>>>>> Jonas
>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>> !SESSION 2008-07-03
>>>>>>>>> 15:24:20.283 -----------------------------------------------
>>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>>> java.version=1.6.0_05
>>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.331
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.362
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.393
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:24:55.409
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>>>> 15:24:55.503
>>>>>>>>> !MESSAGE Premature end of file.
>>>>>>>>> !STACK 0
>>>>>>>>> org.xml.sax.SAXParseException: Premature end of file.
>>>>>>>>> at
>>>>>>>>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
>>>>>>>>> Source)
>>>>>>>>> at
>>>>>>>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
>>>>>>>>> Source)
>>>>>>>>> at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>>>>>>>>> at
>>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:86)
>>>>>>>>> at
>>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:692)
>>>>>>>>> at
>>>>>>>>> org.eclipse.tptp.platform.common.internal.CommonPlugin.start (CommonPlugin.java:51)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>>>>> at
>>>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>>>>>>>> at
>>>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>>>>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>>>>>> at
>>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.getVi ewLabelProvider(PDProjectExplorer.java:712)
>>>>>>>>> at
>>>>>>>>> org.eclipse.hyades.trace.ui.internal.navigator.SimpleLayout. getLabelProvider(SimpleLayout.java:85)
>>>>>>>>> at
>>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat eViewer(PDProjectExplorer.java:617)
>>>>>>>>> at
>>>>>>>>> org.eclipse.hyades.ui.internal.navigator.Navigator.createPar tControl(Navigator.java:249)
>>>>>>>>> at
>>>>>>>>> org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.creat ePartControl(PDProjectExplorer.java:269)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>>>>>>>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
>>>>>>>>> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
>>>>>>>>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
>>>>>>>>> at
>>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>>> at
>>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
>>>>>>>>> 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:382)
>>>>>>>>> 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)
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-07-03
>>>>>>>>> 15:24:55.503
>>>>>>>>> !MESSAGE Execution framework config file is invalid.
>>>>>>>>> !SESSION 2008-07-03
>>>>>>>>> 15:26:23.019 -----------------------------------------------
>>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>>> java.version=1.6.0_05
>>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.879
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.910
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.926
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.957
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:26:27.973
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>> !SESSION 2008-07-03
>>>>>>>>> 15:28:20.880 -----------------------------------------------
>>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>>> java.version=1.6.0_05
>>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.849
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.865
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:28:34.896
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>> !SESSION 2008-07-03
>>>>>>>>> 15:33:08.759 -----------------------------------------------
>>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>>> java.version=1.6.0_05
>>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.541
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.572
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.588
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.603
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:33:40.619
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.jface 4 2 2008-07-03 15:38:18.872
>>>>>>>>> !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:259)
>>>>>>>>> at
>>>>>>>>> org.eclipse.tptp.platform.iac.administrator.internal.prefere nce.IACPreferencePage.createContents(IACPreferencePage.java: 166)
>>>>>>>>> at
>>>>>>>>> org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:235)
>>>>>>>>> at
>>>>>>>>> org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1466)
>>>>>>>>> at
>>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$14.run(Prefere nceDialog.java:1223)
>>>>>>>>> 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:1217)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:570)
>>>>>>>>> at
>>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$10.run(Prefere nceDialog.java:700)
>>>>>>>>> at
>>>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>>> at
>>>>>>>>> org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:696)
>>>>>>>>> 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.equinox.internal.p2.ui.sdk.UpdateAndInstallDialo g$3.widgetSelected(UpdateAndInstallDialog.java:166)
>>>>>>>>> at
>>>>>>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>>>>>>>>> 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.Widget.sendEvent(Widget.java:1027)
>>>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
>>>>>>>>> at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1002)
>>>>>>>>> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
>>>>>>>>> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
>>>>>>>>> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
>>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
>>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
>>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>>>>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
>>>>>>>>> at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:171)
>>>>>>>>> at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1901)
>>>>>>>>> at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:41 42)
>>>>>>>>> at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:840)
>>>>>>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3823 )
>>>>>>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
>>>>>>>>> Method)
>>>>>>>>> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:23 70)
>>>>>>>>> at
>>>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3420)
>>>>>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>>>>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>>>>>>> at
>>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDia log(UpdateHandler.java:55)
>>>>>>>>> at
>>>>>>>>> org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute (UpdateHandler.java:46)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>>>>>>>> at
>>>>>>>>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>>>>>>>>> at
>>>>>>>>> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>>>>>>>>> at
>>>>>>>>> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>>>>>>>>> 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:382)
>>>>>>>>> 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)
>>>>>>>>> !SESSION 2008-07-03
>>>>>>>>> 15:51:18.007 -----------------------------------------------
>>>>>>>>> eclipse.buildId=I20080617-2000
>>>>>>>>> java.version=1.6.0_05
>>>>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.242
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.257
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.273
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.289
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>>>>>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-07-03 15:51:31.304
>>>>>>>>> !MESSAGE Can't find bundle for base name feature, locale de_DE
>>>>>>>>>
>
>
Re: Statistical View/Java Agent in 4.5 [message #132571 is a reply to message #132507] Fri, 11 July 2008 15:03 Go to previous message
Jonathan West is currently offline Jonathan WestFriend
Messages: 49
Registered: July 2009
Member
>> "If I write an agent extended from LoggingAgent, I just have to add a
LoggingAgentCustomCommandHandler and LoggingAgentMonitorListener to it,
to react on special commands and the monitor selections from the client?"

Yes, that should be all you need to do. (Perhaps this might be helpful:
http://www.eclipse.org/tptp/platform/documents/drafts/Howtow riteaTPTPDataCollectionAgent.htm)

>> "Is it possible to let a local agent controller start a Java agent?
I tried to do so, I configured the AC using the SetConfig.bat and added
an agent.xml in a directory under agents. I then thought to be able to
use Eclipse to start the agent by just attaching to it in the profile
configurations dialog. But it never appeared in the list of available
agents. How would someone do that, if possible at all?"

It is not possible to have the agent controller automatically start agents
on its own at startup. Also, in order to appear in the list in Eclipse, it
must actually be running. The agent may be launched either from the
command line (ensuring that that necessary agent controller environment
variables are in the path) or be launched through the AC by client code.

However, the agent.xml isn't generally used with Hyades-based agents (e.g.
the logging agent, for instance), so it's probably best to
launch your agent from the client code code (Using the ProcessImpl or
ProcessFactory Hyades classes, and the launch() method of ProcessImpl) or
manually from the command line.

(Documentation on the agent.xml file is available here:
http://publib.boulder.ibm.com/infocenter/rmthelp/v7r0m0/inde x.jsp?topic=/org.eclipse.tptp.platform.agentcontroller.doc.u ser/ref/ac/r_config_agent.html)


>> "I saw in the agent.xml that there is a definition of interfaces the agent
supports (e.g. org.eclipse.tptp.agent,
org.eclipse.tptp.collector). Is there a list of "standard interfaces"?
Where can I find it? And how do I know which commands are understood if
an agent supports one of these interfaces?"

There is no list of standard interfaces, and those interfaces are not used
by Hyades based agents, only by New Execution framework based agents.

>> "Could you please point me to a sample client, that sends custom commands
to an agent?"

I'm not aware of any Hyades client examples.... Eugene or Paul, do you
know?
Previous Topic:JUNIT with eclipse
Next Topic:Porting the current head to zos.
Goto Forum:
  


Current Time: Thu Nov 27 23:20:55 GMT 2014

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

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