Home » Archived » Test and Performance Tools Platform (TPTP) » Populate Log Navigator runtime
| | | | |
Re: Populate Log Navigator runtime [message #41140 is a reply to message #41047] |
Thu, 17 November 2005 14:59 |
Musachy Barroso Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Hi Paul,
With the latest development build 200511170100 of 4.1, when I click New
under Attach - Java Process, nothing happens, and this exception is
being logged:
java.lang.NoClassDefFoundError:
org/eclipse/tptp/platform/agentcontroller/internal/impl/Agen tControllerFactoryImpl
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfileHostTab .setDefaults(ProfileHostTab.java:110)
at
org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.set Defaults(AbstractLaunchConfigurationTabGroup.java:74)
at
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:73)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction.run(AbstractLaunchConfigurationActi on.java:106)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$ButtonActionNew.run(LaunchConfigurationsDi alog.java:1461)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$1.widgetSelected(LaunchConfigurationsDialo g.java:1430)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:439)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:360)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:302)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
by the way this doesn't happen with the latest stable build. Is this
just me or this a bug?
thanks
musachy
Paul Slauenwhite wrote:
> Hi Musachy,
> The IAC is included with TPTP v4.1 (see org.eclipse.hyades.execution)
> and runs on-demand. For more information, see:
>
> Help >> Help Contents >> Working with the Agent Controller >> Profiling with
> a local deployment >> Integrated Agent Controller
>
> I have also opened an enhancement to include a Logging Agent sample in a
> future release of TPTP (see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=116727).
>
> Paul
>
> "Musachy Barroso" <musachy@gmail.com> wrote in message
> news:dlge5l$hqs$1@news.eclipse.org...
>
>>This rocks! The only thing I need now is the IAC so I don't depend on
>>RAC. Is the IAC ready to use, at least in CVS?
>>
>>thanks
>>
>>musachy
>>
>>Paul Slauenwhite wrote:
>>
>>>Hi Musachy,
>>> The easiest way load the log model which the Log View displays would
>
> be
>
>>>to write Common Base Events serialized as XML to a named Logging Agent
>
> using
>
>>>the org.eclipse.hyades.logging.core.LoggingAgent class in the
>>>org.eclipse.hyades.logging.core plugin. Using with the Agent Controller
>
> or
>
>>>Integrated Agent Controller configured (see Help >> Help Contents >>
>
> Working
>
>>>with the Agent Controller), attach to the named Logging Agent:
>>>
>>>1) Enable logging in the Profiling and Logging preferences (Window >
>>>Preferences... > Profiling and Logging > Enable logging > OK).
>>>2) Attach to the named Logging Agent in the Profiling and Logging
>>>Perspective (Run > Profile... > Attach - Java Process > New > Agents >
>>><named Logging Agent> OK > Profile).
>>>
>>> For more information, see the sample code and configuration in the
>>>http://www.eclipse.org/tptp/ >> Documentation >> EclipseWorld 2005 >>
>
> Using
>
>>>and Extending the Test and Performance Tools Platform >> source >>
>>>Demo_Agents >> eclipseworld.tutorial.demo.agents.DemoLoggingAgent and
>>>eclipseworld.tutorial.demo.agents.DemoStatisticalAgent.
>>>
>>>Paul
>>>"Musachy Barroso" <musachy@gmail.com> wrote in message
>>>news:dle92k$fai$1@news.eclipse.org...
>>>
>>>
>>>>Hi,
>>>>
>>>>I'd like to add events to the Log Navigator without having to import a
>>>>log file, is there any API that I can use (or easy to modify?) to
>>>>achieve this? (I want to reuse the Log View in my plugin)
>>>>
>>>>thanks
>>>>
>>>>musachy
>>>
>>>
>>>
>
>
|
|
|
Re: Populate Log Navigator runtime [message #41170 is a reply to message #41140] |
Thu, 17 November 2005 16:37 |
No real name Messages: 404 Registered: July 2009 |
Senior Member |
|
|
I wonder if this is related to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=116214.
Make sure that you have logging enabled under the preference page:
Window > Preferences > Profiling and Logging > Check the 'Enable logging'
option.
If you can consistently reproduce this problem, then I would recommend
re-opening the defect with additional comments.
"Musachy Barroso" <musachy@gmail.com> wrote in message
news:dli5t0$b2$1@news.eclipse.org...
> Hi Paul,
>
> With the latest development build 200511170100 of 4.1, when I click New
> under Attach - Java Process, nothing happens, and this exception is
> being logged:
>
> java.lang.NoClassDefFoundError:
>
org/eclipse/tptp/platform/agentcontroller/internal/impl/Agen tControllerFacto
ryImpl
> at
>
org.eclipse.hyades.trace.ui.internal.launcher.ProfileHostTab .setDefaults(Pro
fileHostTab.java:110)
> at
>
org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.set Defaults(Abstrac
tLaunchConfigurationTabGroup.java:74)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfiguration
Action.performAction(CreateLaunchConfigurationAction.java:73 )
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurati
onAction$1.run(AbstractLaunchConfigurationAction.java:103)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurati
onAction.run(AbstractLaunchConfigurationAction.java:106)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
g$ButtonActionNew.run(LaunchConfigurationsDialog.java:1461)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
g$1.widgetSelected(LaunchConfigurationsDialog.java:1430)
> at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
g.open(LaunchConfigurationsDialog.java:439)
> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(Debug
UITools.java:360)
> at
>
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(Debug
UITools.java:302)
> at
>
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogActi
on.java:80)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:538)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:488)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
tionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
>
>
> by the way this doesn't happen with the latest stable build. Is this
> just me or this a bug?
>
> thanks
>
> musachy
>
> Paul Slauenwhite wrote:
> > Hi Musachy,
> > The IAC is included with TPTP v4.1 (see
org.eclipse.hyades.execution)
> > and runs on-demand. For more information, see:
> >
> > Help >> Help Contents >> Working with the Agent Controller >> Profiling
with
> > a local deployment >> Integrated Agent Controller
> >
> > I have also opened an enhancement to include a Logging Agent sample
in a
> > future release of TPTP (see
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=116727).
> >
> > Paul
> >
> > "Musachy Barroso" <musachy@gmail.com> wrote in message
> > news:dlge5l$hqs$1@news.eclipse.org...
> >
> >>This rocks! The only thing I need now is the IAC so I don't depend on
> >>RAC. Is the IAC ready to use, at least in CVS?
> >>
> >>thanks
> >>
> >>musachy
> >>
> >>Paul Slauenwhite wrote:
> >>
> >>>Hi Musachy,
> >>> The easiest way load the log model which the Log View displays
would
> >
> > be
> >
> >>>to write Common Base Events serialized as XML to a named Logging Agent
> >
> > using
> >
> >>>the org.eclipse.hyades.logging.core.LoggingAgent class in the
> >>>org.eclipse.hyades.logging.core plugin. Using with the Agent
Controller
> >
> > or
> >
> >>>Integrated Agent Controller configured (see Help >> Help Contents >>
> >
> > Working
> >
> >>>with the Agent Controller), attach to the named Logging Agent:
> >>>
> >>>1) Enable logging in the Profiling and Logging preferences (Window >
> >>>Preferences... > Profiling and Logging > Enable logging > OK).
> >>>2) Attach to the named Logging Agent in the Profiling and Logging
> >>>Perspective (Run > Profile... > Attach - Java Process > New > Agents >
> >>><named Logging Agent> OK > Profile).
> >>>
> >>> For more information, see the sample code and configuration in the
> >>>http://www.eclipse.org/tptp/ >> Documentation >> EclipseWorld 2005 >>
> >
> > Using
> >
> >>>and Extending the Test and Performance Tools Platform >> source >>
> >>>Demo_Agents >> eclipseworld.tutorial.demo.agents.DemoLoggingAgent and
> >>>eclipseworld.tutorial.demo.agents.DemoStatisticalAgent.
> >>>
> >>>Paul
> >>>"Musachy Barroso" <musachy@gmail.com> wrote in message
> >>>news:dle92k$fai$1@news.eclipse.org...
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>I'd like to add events to the Log Navigator without having to import
a
> >>>>log file, is there any API that I can use (or easy to modify?) to
> >>>>achieve this? (I want to reuse the Log View in my plugin)
> >>>>
> >>>>thanks
> >>>>
> >>>>musachy
> >>>
> >>>
> >>>
> >
> >
|
|
|
Re: Populate Log Navigator runtime [message #41232 is a reply to message #41170] |
Thu, 17 November 2005 20:33 |
Musachy Barroso Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Logging is enabled. I copied the stacktrace as a comment on the bug.
Ali Mehregani wrote:
> I wonder if this is related to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=116214.
> Make sure that you have logging enabled under the preference page:
> Window > Preferences > Profiling and Logging > Check the 'Enable logging'
> option.
>
> If you can consistently reproduce this problem, then I would recommend
> re-opening the defect with additional comments.
>
>
> "Musachy Barroso" <musachy@gmail.com> wrote in message
> news:dli5t0$b2$1@news.eclipse.org...
>
>>Hi Paul,
>>
>>With the latest development build 200511170100 of 4.1, when I click New
>>under Attach - Java Process, nothing happens, and this exception is
>>being logged:
>>
>>java.lang.NoClassDefFoundError:
>>
>
> org/eclipse/tptp/platform/agentcontroller/internal/impl/Agen tControllerFacto
> ryImpl
>
>>at
>>
>
> org.eclipse.hyades.trace.ui.internal.launcher.ProfileHostTab .setDefaults(Pro
> fileHostTab.java:110)
>
>>at
>>
>
> org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.set Defaults(Abstrac
> tLaunchConfigurationTabGroup.java:74)
>
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfiguration
> Action.performAction(CreateLaunchConfigurationAction.java:73 )
>
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurati
> onAction$1.run(AbstractLaunchConfigurationAction.java:103)
>
>>at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurati
> onAction.run(AbstractLaunchConfigurationAction.java:106)
>
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
> g$ButtonActionNew.run(LaunchConfigurationsDialog.java:1461)
>
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
> g$1.widgetSelected(LaunchConfigurationsDialog.java:1430)
>
>>at
>
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
>
>>at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
>>at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
>>at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
>>at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
>>at org.eclipse.jface.window.Window.open(Window.java:787)
>>at
>>
>
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialo
> g.open(LaunchConfigurationsDialog.java:439)
>
>>at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
>>at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
>>at
>>
>
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(Debug
> UITools.java:360)
>
>>at
>>
>
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(Debug
> UITools.java:302)
>
>>at
>>
>
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogActi
> on.java:80)
>
>>at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
>>at
>>
>
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:538)
>
>>at
>>
>
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> tem.java:488)
>
>>at
>>
>
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
> tionItem.java:400)
>
>>at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
>>at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
>>at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
>>at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
>>at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
>>at
>>
>
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
>
>>
>>by the way this doesn't happen with the latest stable build. Is this
>>just me or this a bug?
>>
>>thanks
>>
>>musachy
>>
>>Paul Slauenwhite wrote:
>>
>>>Hi Musachy,
>>> The IAC is included with TPTP v4.1 (see
>
> org.eclipse.hyades.execution)
>
>>>and runs on-demand. For more information, see:
>>>
>>>Help >> Help Contents >> Working with the Agent Controller >> Profiling
>
> with
>
>>>a local deployment >> Integrated Agent Controller
>>>
>>> I have also opened an enhancement to include a Logging Agent sample
>
> in a
>
>>>future release of TPTP (see
>>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=116727).
>>>
>>>Paul
>>>
>>>"Musachy Barroso" <musachy@gmail.com> wrote in message
>>>news:dlge5l$hqs$1@news.eclipse.org...
>>>
>>>
>>>>This rocks! The only thing I need now is the IAC so I don't depend on
>>>>RAC. Is the IAC ready to use, at least in CVS?
>>>>
>>>>thanks
>>>>
>>>>musachy
>>>>
>>>>Paul Slauenwhite wrote:
>>>>
>>>>
>>>>>Hi Musachy,
>>>>> The easiest way load the log model which the Log View displays
>
> would
>
>>>be
>>>
>>>
>>>>>to write Common Base Events serialized as XML to a named Logging Agent
>>>
>>>using
>>>
>>>
>>>>>the org.eclipse.hyades.logging.core.LoggingAgent class in the
>>>>>org.eclipse.hyades.logging.core plugin. Using with the Agent
>
> Controller
>
>>>or
>>>
>>>
>>>>>Integrated Agent Controller configured (see Help >> Help Contents >>
>>>
>>>Working
>>>
>>>
>>>>>with the Agent Controller), attach to the named Logging Agent:
>>>>>
>>>>>1) Enable logging in the Profiling and Logging preferences (Window >
>>>>>Preferences... > Profiling and Logging > Enable logging > OK).
>>>>>2) Attach to the named Logging Agent in the Profiling and Logging
>>>>>Perspective (Run > Profile... > Attach - Java Process > New > Agents >
>>>>><named Logging Agent> OK > Profile).
>>>>>
>>>>> For more information, see the sample code and configuration in the
>>>>>http://www.eclipse.org/tptp/ >> Documentation >> EclipseWorld 2005 >>
>>>
>>>Using
>>>
>>>
>>>>>and Extending the Test and Performance Tools Platform >> source >>
>>>>>Demo_Agents >> eclipseworld.tutorial.demo.agents.DemoLoggingAgent and
>>>>>eclipseworld.tutorial.demo.agents.DemoStatisticalAgent.
>>>>>
>>>>>Paul
>>>>>"Musachy Barroso" <musachy@gmail.com> wrote in message
>>>>>news:dle92k$fai$1@news.eclipse.org...
>>>>>
>>>>>
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I'd like to add events to the Log Navigator without having to import
>
> a
>
>>>>>>log file, is there any API that I can use (or easy to modify?) to
>>>>>>achieve this? (I want to reuse the Log View in my plugin)
>>>>>>
>>>>>>thanks
>>>>>>
>>>>>>musachy
>>>>>
>>>>>
>>>>>
>>>
>
>
|
|
|
Goto Forum:
Current Time: Thu Sep 26 00:00:21 GMT 2024
Powered by FUDForum. Page generated in 0.08464 seconds
|