Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » [AGR] NoClassDefFoundError while running test
[AGR] NoClassDefFoundError while running test [message #86981] Mon, 13 November 2006 12:46 Go to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-Schwartz
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
This is a multi-part message in MIME format.
--------------060409090700020206000108
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In the
old environment all of our tests executed fine. Now we are experiencing
class loading failures in the Axis library. The odd thing is that the
class that can not be found by name is in the same jar as the class that
is trying to load it, axis.jar. There are two other axis.jar in the
plugins, one is in the axis 1.3 plugin and the other is in one of the
BIRT plugins. In trying to isolate he problem I temporarily removed both
of these; this made no difference. The stacktrace is included below.

Any ideas appreciated.

Thanks,
Joel

!MESSAGE Message: Problem loading class:
org.apache.axis.attachments.AttachmentsImpl
java.lang.NoClassDefFoundError
at
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
at
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
at
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
at
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
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:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)




--------------060409090700020206000108
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
the old environment all of our tests executed fine. Now we are
experiencing class loading failures in the Axis library. The odd thing
is that the class that can not be found by name is in the same jar as
the class that is trying to load it, axis.jar. There are two other
axis.jar in the plugins, one is in the axis 1.3 plugin and the other is
in one of the BIRT plugins. In trying to isolate he problem I
temporarily removed both of these; this made no difference. The
stacktrace is included below.<br>
<br>
Any ideas appreciated.<br>
<br>
Thanks,<br>
Joel<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">!MESSAGE Message: Problem
loading class: org.apache.axis.attachments.AttachmentsImpl</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">java.lang.NoClassDefFoundError</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName0(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName(Class.java:242)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.security.AccessController.doPrivileged(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2767)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2443)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2366)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:1812)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.open(Window.java:796)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
<br>
</font>
</body>
</html>

--------------060409090700020206000108--
Re: [AGR] NoClassDefFoundError while running test [message #87000 is a reply to message #86981] Mon, 13 November 2006 13:01 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-Schwartz
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
This is a multi-part message in MIME format.
--------------040503070504040602090301
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I guess I should have mentioned that the recording of the this test runs
fine without any exceptions and that I can run our plugin on its own
from the deployed plugins without a problem. The only time we experience
failure is when we are running the test case under AGR.

Joel

Joel Rosi-Schwartz wrote:
> Hi,
>
> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
> the old environment all of our tests executed fine. Now we are
> experiencing class loading failures in the Axis library. The odd thing
> is that the class that can not be found by name is in the same jar as
> the class that is trying to load it, axis.jar. There are two other
> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
> is in one of the BIRT plugins. In trying to isolate he problem I
> temporarily removed both of these; this made no difference. The
> stacktrace is included below.
>
> Any ideas appreciated.
>
> Thanks,
> Joel
>
> !MESSAGE Message: Problem loading class:
> org.apache.axis.attachments.AttachmentsImpl
> java.lang.NoClassDefFoundError
> at
> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
> at
> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
> at
> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at
> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
> at
> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
> at
> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
> at
> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
> at
> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
> at
> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
> 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:928)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at
> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>
>
>

--------------040503070504040602090301
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">I guess I should have
mentioned that the recording of the this test runs fine without any
exceptions and that I can run our plugin on its own from the deployed
plugins without a problem. The only time we experience failure is when
we are running the test case under AGR.<br>
<br>
Joel<br>
</font><br>
Joel Rosi-Schwartz wrote:
<blockquote cite="midejab22$2qc$1@utils.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
the old environment all of our tests executed fine. Now we are
experiencing class loading failures in the Axis library. The odd thing
is that the class that can not be found by name is in the same jar as
the class that is trying to load it, axis.jar. There are two other
axis.jar in the plugins, one is in the axis 1.3 plugin and the other is
in one of the BIRT plugins. In trying to isolate he problem I
temporarily removed both of these; this made no difference. The
stacktrace is included below.<br>
<br>
Any ideas appreciated.<br>
<br>
Thanks,<br>
Joel<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">!MESSAGE Message: Problem
loading class: org.apache.axis.attachments.AttachmentsImpl</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">java.lang.NoClassDefFoundError</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName0(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName(Class.java:242)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.security.AccessController.doPrivileged(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2767)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2443)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2366)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:1812)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.open(Window.java:796)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
<br>
</font>
</blockquote>
</body>
</html>

--------------040503070504040602090301--
Re: [AGR] NoClassDefFoundError while running test [message #87044 is a reply to message #87000] Tue, 14 November 2006 03:12 Go to previous messageGo to next message
Eclipse User
Originally posted by: ffr.softwareag.com

I had a similar problem a few month ago. What I found out was that the
classpath settings (i.e. the content of environment variable CLASSPATH) that
were in effect while running an AGR test suite confused the eclipse class
loader somehow. After making sure that the CLASSPATH is really empty while
an AGR test executes the problem disappeared. I never had the class loading
problem when acting as a real user. The problem only occurred in context of
AGR execution. Maybe worth a try for you to do the same.

"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
news:ejabtq$h5h$1@utils.eclipse.org...
>I guess I should have mentioned that the recording of the this test runs
> fine without any exceptions and that I can run our plugin on its own
> from the deployed plugins without a problem. The only time we experience
> failure is when we are running the test case under AGR.
>
> Joel
>
> Joel Rosi-Schwartz wrote:
>> Hi,
>>
>> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
>> the old environment all of our tests executed fine. Now we are
>> experiencing class loading failures in the Axis library. The odd thing
>> is that the class that can not be found by name is in the same jar as
>> the class that is trying to load it, axis.jar. There are two other
>> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
>> is in one of the BIRT plugins. In trying to isolate he problem I
>> temporarily removed both of these; this made no difference. The
>> stacktrace is included below.
>>
>> Any ideas appreciated.
>>
>> Thanks,
>> Joel
>>
>> !MESSAGE Message: Problem loading class:
>> org.apache.axis.attachments.AttachmentsImpl
>> java.lang.NoClassDefFoundError
>> at
>> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:242)
>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>> at
>>
>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
>> at
>>
>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
>> at
>>
>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
>> at
>>
>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
>> at
>>
>> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>> at
>>
>> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
>> at
>>
>> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
>> at
>>
>> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
>> at
>>
>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
>> at
>>
>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
>> at
>>
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>> at
>>
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>> at
>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>> 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:928)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>>
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>> at
>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
>> at
>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>> at org.eclipse.jface.window.Window.open(Window.java:796)
>> at
>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>> at
>>
>> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>> at
>>
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>> at
>>
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>> at
>>
>> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>> at
>>
>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>
>>
>>
>
Re: [AGR] NoClassDefFoundError while running test [message #87154 is a reply to message #87044] Tue, 14 November 2006 14:52 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-Schwartz
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
This is a multi-part message in MIME format.
--------------090502020508000902010304
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thanks once again for assistance, but unfortunately this time it was not
the solution. I do not have the CLASSPATH set in the environment; it is
something that I learned very early on with Java was to always set the
classpath explicitly for every program I am launching IFF it needs one.

Cheers,
Joel

Frank Froehlich wrote:
> I had a similar problem a few month ago. What I found out was that the
> classpath settings (i.e. the content of environment variable CLASSPATH) that
> were in effect while running an AGR test suite confused the eclipse class
> loader somehow. After making sure that the CLASSPATH is really empty while
> an AGR test executes the problem disappeared. I never had the class loading
> problem when acting as a real user. The problem only occurred in context of
> AGR execution. Maybe worth a try for you to do the same.
>
> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
> news:ejabtq$h5h$1@utils.eclipse.org...
>
>> I guess I should have mentioned that the recording of the this test runs
>> fine without any exceptions and that I can run our plugin on its own
>> from the deployed plugins without a problem. The only time we experience
>> failure is when we are running the test case under AGR.
>>
>> Joel
>>
>> Joel Rosi-Schwartz wrote:
>>
>>> Hi,
>>>
>>> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
>>> the old environment all of our tests executed fine. Now we are
>>> experiencing class loading failures in the Axis library. The odd thing
>>> is that the class that can not be found by name is in the same jar as
>>> the class that is trying to load it, axis.jar. There are two other
>>> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
>>> is in one of the BIRT plugins. In trying to isolate he problem I
>>> temporarily removed both of these; this made no difference. The
>>> stacktrace is included below.
>>>
>>> Any ideas appreciated.
>>>
>>> Thanks,
>>> Joel
>>>
>>> !MESSAGE Message: Problem loading class:
>>> org.apache.axis.attachments.AttachmentsImpl
>>> java.lang.NoClassDefFoundError
>>> at
>>> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:242)
>>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>>> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>>> at
>>>
>>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
>>> at
>>>
>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
>>> at
>>>
>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
>>> at
>>>
>>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
>>> at
>>>
>>> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
>>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>> at
>>>
>>> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
>>> at
>>>
>>> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
>>> at
>>>
>>> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
>>> at
>>>
>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
>>> at
>>>
>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
>>> at
>>>
>>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>>> at
>>>
>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>>> at
>>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>>> 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:928)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>>
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>> at
>>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>>> at org.eclipse.jface.window.Window.open(Window.java:796)
>>> at
>>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>>> at
>>>
>>> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>>> at
>>>
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>> at
>>>
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>> at
>>>
>>> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>> at
>>>
>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>
>>>
>>>
>>>
>
>
>

--------------090502020508000902010304
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Thanks once again for
assistance, but unfortunately this time it was not the solution.&nbsp; I do
not have the CLASSPATH set in the environment; it is something that I
learned very early on with Java was to always set the classpath
explicitly for every program I am launching IFF it needs one. <br>
<br>
Cheers,<br>
Joel<br>
</font><br>
Frank Froehlich wrote:
<blockquote cite="midejbtpr$5d4$1@utils.eclipse.org" type="cite">
<pre wrap="">I had a similar problem a few month ago. What I found out was that the
classpath settings (i.e. the content of environment variable CLASSPATH) that
were in effect while running an AGR test suite confused the eclipse class
loader somehow. After making sure that the CLASSPATH is really empty while
an AGR test executes the problem disappeared. I never had the class loading
problem when acting as a real user. The problem only occurred in context of
AGR execution. Maybe worth a try for you to do the same.

"Joel Rosi-Schwartz" <a class="moz-txt-link-rfc2396E" href="mailto:Joel.Rosi-Schwartz@Etish.org">&lt;Joel.Rosi-Schwartz@Etish.org&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:ejabtq$h5h$1@utils.eclipse.org">news:ejabtq$h5h$1@utils.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">I guess I should have mentioned that the recording of the this test runs
fine without any exceptions and that I can run our plugin on its own
from the deployed plugins without a problem. The only time we experience
failure is when we are running the test case under AGR.

Joel

Joel Rosi-Schwartz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
the old environment all of our tests executed fine. Now we are
experiencing class loading failures in the Axis library. The odd thing
is that the class that can not be found by name is in the same jar as
the class that is trying to load it, axis.jar. There are two other
axis.jar in the plugins, one is in the axis 1.3 plugin and the other
is in one of the BIRT plugins. In trying to isolate he problem I
temporarily removed both of these; this made no difference. The
stacktrace is included below.

Any ideas appreciated.

Thanks,
Joel

!MESSAGE Message: Problem loading class:
org.apache.axis.attachments.AttachmentsImpl
java.lang.NoClassDefFoundError
at
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at

org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
at

org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
at

org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
at

org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
at

org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at

com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
at

com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
at

com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
at

com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
at

com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
at

org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at

org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
at
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
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:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at

org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at

org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at

org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at

org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at

org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at

org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at

org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)



</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</body>
</html>

--------------090502020508000902010304--
Re: [AGR] NoClassDefFoundError while running test [message #87220 is a reply to message #87154] Wed, 15 November 2006 03:33 Go to previous messageGo to next message
Eclipse User
Originally posted by: ffr.softwareag.com

O.k., for me it was envvar CLASSPATH at that time. But there is another
thing: AGR builds up a complex class path for the JVM of the eclipse
instance in which an AGR test is executed. You really shoud check what's in
sysprop "java.class.path" while your test is executed (you can use a VH
method to do so). Due to my bad experience with envvar CLASSPATH, I now
always deliberately add '-classpath
"pathToEclipseRoot\startup.jar;pathToMyVHBinDirectory"' to the vmArguments
of the deployment in use. Only these two class path entries are necessary
for test execution as far as I understand. Anyway, after I switched to this
technique all of my mysterious class loading problems disappeared. Maybe
worth another try for you.

"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
news:455A1E7B.6000508@Etish.org...
> Thanks once again for assistance, but unfortunately this time it was not
> the solution. I do not have the CLASSPATH set in the environment; it is
> something that I learned very early on with Java was to always set the
> classpath explicitly for every program I am launching IFF it needs one.
>
> Cheers,
> Joel
>
> Frank Froehlich wrote:
>> I had a similar problem a few month ago. What I found out was that the
>> classpath settings (i.e. the content of environment variable CLASSPATH)
>> that
>> were in effect while running an AGR test suite confused the eclipse class
>> loader somehow. After making sure that the CLASSPATH is really empty
>> while
>> an AGR test executes the problem disappeared. I never had the class
>> loading
>> problem when acting as a real user. The problem only occurred in context
>> of
>> AGR execution. Maybe worth a try for you to do the same.
>>
>> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
>> news:ejabtq$h5h$1@utils.eclipse.org...
>>
>>> I guess I should have mentioned that the recording of the this test runs
>>> fine without any exceptions and that I can run our plugin on its own
>>> from the deployed plugins without a problem. The only time we experience
>>> failure is when we are running the test case under AGR.
>>>
>>> Joel
>>>
>>> Joel Rosi-Schwartz wrote:
>>>
>>>> Hi,
>>>>
>>>> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
>>>> the old environment all of our tests executed fine. Now we are
>>>> experiencing class loading failures in the Axis library. The odd thing
>>>> is that the class that can not be found by name is in the same jar as
>>>> the class that is trying to load it, axis.jar. There are two other
>>>> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
>>>> is in one of the BIRT plugins. In trying to isolate he problem I
>>>> temporarily removed both of these; this made no difference. The
>>>> stacktrace is included below.
>>>>
>>>> Any ideas appreciated.
>>>>
>>>> Thanks,
>>>> Joel
>>>>
>>>> !MESSAGE Message: Problem loading class:
>>>> org.apache.axis.attachments.AttachmentsImpl
>>>> java.lang.NoClassDefFoundError
>>>> at
>>>>
>>>> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Class.java:242)
>>>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>>>> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>>>> at
>>>>
>>>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
>>>> at
>>>>
>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
>>>> at
>>>>
>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
>>>> at
>>>>
>>>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
>>>> at
>>>>
>>>> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
>>>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>>>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
>>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>> at
>>>>
>>>> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
>>>> at
>>>>
>>>> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
>>>> at
>>>>
>>>> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
>>>> at
>>>>
>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
>>>> at
>>>>
>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
>>>> at
>>>>
>>>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>>>> at
>>>>
>>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>>>> at
>>>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>>>> 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:928)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>> at
>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>>> at
>>>>
>>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
>>>> at
>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>>>> at org.eclipse.jface.window.Window.open(Window.java:796)
>>>> at
>>>>
>>>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>>>> at
>>>>
>>>> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
>>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>>>> at
>>>>
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>>> at
>>>>
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>>> at
>>>>
>>>> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
>>>> at
>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>> at
>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>> at
>>>>
>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>
Re: [AGR] NoClassDefFoundError while running test [message #87505 is a reply to message #87220] Wed, 15 November 2006 16:37 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-Schwartz
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
This is a multi-part message in MIME format.
--------------020107040507060209090601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Could you please enlighten me on what VH is?

I would like to give this a go, but I am at a loss for how to set the
classpath explicitly for the AGR execution when I am starting it via the
Run menu in Eclipse. Are you inferring that I need to set up a test
harness outside of the workspace?

Thanks,
Joel

Frank Froehlich wrote:
> O.k., for me it was envvar CLASSPATH at that time. But there is another
> thing: AGR builds up a complex class path for the JVM of the eclipse
> instance in which an AGR test is executed. You really shoud check what's in
> sysprop "java.class.path" while your test is executed (you can use a VH
> method to do so). Due to my bad experience with envvar CLASSPATH, I now
> always deliberately add '-classpath
> "pathToEclipseRoot\startup.jar;pathToMyVHBinDirectory"' to the vmArguments
> of the deployment in use. Only these two class path entries are necessary
> for test execution as far as I understand. Anyway, after I switched to this
> technique all of my mysterious class loading problems disappeared. Maybe
> worth another try for you.
>
> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
> news:455A1E7B.6000508@Etish.org...
>
>> Thanks once again for assistance, but unfortunately this time it was not
>> the solution. I do not have the CLASSPATH set in the environment; it is
>> something that I learned very early on with Java was to always set the
>> classpath explicitly for every program I am launching IFF it needs one.
>>
>> Cheers,
>> Joel
>>
>> Frank Froehlich wrote:
>>
>>> I had a similar problem a few month ago. What I found out was that the
>>> classpath settings (i.e. the content of environment variable CLASSPATH)
>>> that
>>> were in effect while running an AGR test suite confused the eclipse class
>>> loader somehow. After making sure that the CLASSPATH is really empty
>>> while
>>> an AGR test executes the problem disappeared. I never had the class
>>> loading
>>> problem when acting as a real user. The problem only occurred in context
>>> of
>>> AGR execution. Maybe worth a try for you to do the same.
>>>
>>> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
>>> news:ejabtq$h5h$1@utils.eclipse.org...
>>>
>>>
>>>> I guess I should have mentioned that the recording of the this test runs
>>>> fine without any exceptions and that I can run our plugin on its own
>>>> from the deployed plugins without a problem. The only time we experience
>>>> failure is when we are running the test case under AGR.
>>>>
>>>> Joel
>>>>
>>>> Joel Rosi-Schwartz wrote:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
>>>>> the old environment all of our tests executed fine. Now we are
>>>>> experiencing class loading failures in the Axis library. The odd thing
>>>>> is that the class that can not be found by name is in the same jar as
>>>>> the class that is trying to load it, axis.jar. There are two other
>>>>> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
>>>>> is in one of the BIRT plugins. In trying to isolate he problem I
>>>>> temporarily removed both of these; this made no difference. The
>>>>> stacktrace is included below.
>>>>>
>>>>> Any ideas appreciated.
>>>>>
>>>>> Thanks,
>>>>> Joel
>>>>>
>>>>> !MESSAGE Message: Problem loading class:
>>>>> org.apache.axis.attachments.AttachmentsImpl
>>>>> java.lang.NoClassDefFoundError
>>>>> at
>>>>>
>>>>> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>>>>> at java.lang.Class.forName0(Native Method)
>>>>> at java.lang.Class.forName(Class.java:242)
>>>>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>>>>> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>>>>> at
>>>>>
>>>>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
>>>>> at
>>>>>
>>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
>>>>> at
>>>>>
>>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
>>>>> at
>>>>>
>>>>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
>>>>> at
>>>>>
>>>>> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
>>>>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>>>>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
>>>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>>> at
>>>>>
>>>>> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
>>>>> at
>>>>>
>>>>> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
>>>>> at
>>>>>
>>>>> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
>>>>> at
>>>>>
>>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
>>>>> at
>>>>>
>>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
>>>>> at
>>>>>
>>>>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>>>>> at
>>>>>
>>>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>>>>> at
>>>>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>>>>> 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:928)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>>> at
>>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>>>> at
>>>>>
>>>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
>>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>>>>> at org.eclipse.jface.window.Window.open(Window.java:796)
>>>>> at
>>>>>
>>>>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>>>>> at
>>>>>
>>>>> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
>>>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>>>>> at
>>>>>
>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>>>> at
>>>>>
>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>>>> at
>>>>>
>>>>> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
>>>>> at
>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>>> at
>>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>>> at
>>>>>
>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
>

--------------020107040507060209090601
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Could you please enlighten me
on what VH is?<br>
<br>
I would like to give this a go, but I am at a loss for how to set the
classpath explicitly for the AGR execution when I am starting it via
the Run menu in Eclipse. Are you inferring that I need to set up a test
harness outside of the workspace? <br>
<br>
Thanks,<br>
Joel<br>
</font><br>
Frank Froehlich wrote:
<blockquote cite="midejejdh$ker$1@utils.eclipse.org" type="cite">
<pre wrap="">O.k., for me it was envvar CLASSPATH at that time. But there is another
thing: AGR builds up a complex class path for the JVM of the eclipse
instance in which an AGR test is executed. You really shoud check what's in
sysprop "java.class.path" while your test is executed (you can use a VH
method to do so). Due to my bad experience with envvar CLASSPATH, I now
always deliberately add '-classpath
"pathToEclipseRoot\startup.jar;pathToMyVHBinDirectory"' to the vmArguments
of the deployment in use. Only these two class path entries are necessary
for test execution as far as I understand. Anyway, after I switched to this
technique all of my mysterious class loading problems disappeared. Maybe
worth another try for you.

"Joel Rosi-Schwartz" <a class="moz-txt-link-rfc2396E" href="mailto:Joel.Rosi-Schwartz@Etish.org">&lt;Joel.Rosi-Schwartz@Etish.org&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:455A1E7B.6000508@Etish.org">news:455A1E7B.6000508@Etish.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Thanks once again for assistance, but unfortunately this time it was not
the solution. I do not have the CLASSPATH set in the environment; it is
something that I learned very early on with Java was to always set the
classpath explicitly for every program I am launching IFF it needs one.

Cheers,
Joel

Frank Froehlich wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I had a similar problem a few month ago. What I found out was that the
classpath settings (i.e. the content of environment variable CLASSPATH)
that
were in effect while running an AGR test suite confused the eclipse class
loader somehow. After making sure that the CLASSPATH is really empty
while
an AGR test executes the problem disappeared. I never had the class
loading
problem when acting as a real user. The problem only occurred in context
of
AGR execution. Maybe worth a try for you to do the same.

"Joel Rosi-Schwartz" <a class="moz-txt-link-rfc2396E" href="mailto:Joel.Rosi-Schwartz@Etish.org">&lt;Joel.Rosi-Schwartz@Etish.org&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:ejabtq$h5h$1@utils.eclipse.org">news:ejabtq$h5h$1@utils.eclipse.org</a>...

</pre>
<blockquote type="cite">
<pre wrap="">I guess I should have mentioned that the recording of the this test runs
fine without any exceptions and that I can run our plugin on its own
from the deployed plugins without a problem. The only time we experience
failure is when we are running the test case under AGR.

Joel

Joel Rosi-Schwartz wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Hi,

We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
the old environment all of our tests executed fine. Now we are
experiencing class loading failures in the Axis library. The odd thing
is that the class that can not be found by name is in the same jar as
the class that is trying to load it, axis.jar. There are two other
axis.jar in the plugins, one is in the axis 1.3 plugin and the other
is in one of the BIRT plugins. In trying to isolate he problem I
temporarily removed both of these; this made no difference. The
stacktrace is included below.

Any ideas appreciated.

Thanks,
Joel

!MESSAGE Message: Problem loading class:
org.apache.axis.attachments.AttachmentsImpl
java.lang.NoClassDefFoundError
at

org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at

org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
at

org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
at

org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
at

org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
at

org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at

com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
at

com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
at

com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
at

com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
at

com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
at

org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at

org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
at
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
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:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at

org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at

org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at

org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at

org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at

org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at

org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at

org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
at

org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
at

org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)




</pre>
</blockquote>
</blockquote>
<pre wrap="">

</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</body>
</html>

--------------020107040507060209090601--
Re: [AGR] NoClassDefFoundError while running test [message #87582 is a reply to message #87505] Thu, 16 November 2006 02:53 Go to previous messageGo to next message
Eclipse User
Originally posted by: ffr.softwareag.com

1. VH = verification hook
2. As far as I know you are using v4.2.1 (right?). Depending on this and
additionally depending on the assumption that you are using local_deployment
when using "Run", the only thing you would have to do is filling the field
labeled with "JVM Arguments:" on the Overview page of your test suite with
for example '-classpath
" absolutePathOfEclipseRoot\startup.jar;absolutePathOfMyVHBinD irectory " -Xms128m
-Xmx256m'.

Just to be very clear, here is the content of the field mentioned above of
one of my test suites:
-classpath
" D:\Temp\ffr\ecl-3.2.1\eclipse\startup.jar;D:\Temp\ffr\ecl-3. 2.1\workspaces\xxx-tests\XCIV22AutoGUITestContainer\bin "
-Xms128m -Xmx256m

If you are not using local_deployment, things are different. You need to set
variable vmArguments in your deployment then. The value for this variable
would be the same as you would enter into the input field mentioned above. I
didn't try out this way for v4.2.1 by now. With v4.1.0.1 it works as
described.

"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
news:ejg1bq$oqc$1@utils.eclipse.org...
> Could you please enlighten me on what VH is?
>
> I would like to give this a go, but I am at a loss for how to set the
> classpath explicitly for the AGR execution when I am starting it via the
> Run menu in Eclipse. Are you inferring that I need to set up a test
> harness outside of the workspace?
>
> Thanks,
> Joel
>
> Frank Froehlich wrote:
>> O.k., for me it was envvar CLASSPATH at that time. But there is another
>> thing: AGR builds up a complex class path for the JVM of the eclipse
>> instance in which an AGR test is executed. You really shoud check what's
>> in
>> sysprop "java.class.path" while your test is executed (you can use a VH
>> method to do so). Due to my bad experience with envvar CLASSPATH, I now
>> always deliberately add '-classpath
>> "pathToEclipseRoot\startup.jar;pathToMyVHBinDirectory"' to the
>> vmArguments
>> of the deployment in use. Only these two class path entries are necessary
>> for test execution as far as I understand. Anyway, after I switched to
>> this
>> technique all of my mysterious class loading problems disappeared. Maybe
>> worth another try for you.
>>
>> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
>> news:455A1E7B.6000508@Etish.org...
>>
>>> Thanks once again for assistance, but unfortunately this time it was not
>>> the solution. I do not have the CLASSPATH set in the environment; it is
>>> something that I learned very early on with Java was to always set the
>>> classpath explicitly for every program I am launching IFF it needs one.
>>>
>>> Cheers,
>>> Joel
>>>
>>> Frank Froehlich wrote:
>>>
>>>> I had a similar problem a few month ago. What I found out was that the
>>>> classpath settings (i.e. the content of environment variable CLASSPATH)
>>>> that
>>>> were in effect while running an AGR test suite confused the eclipse
>>>> class
>>>> loader somehow. After making sure that the CLASSPATH is really empty
>>>> while
>>>> an AGR test executes the problem disappeared. I never had the class
>>>> loading
>>>> problem when acting as a real user. The problem only occurred in
>>>> context
>>>> of
>>>> AGR execution. Maybe worth a try for you to do the same.
>>>>
>>>> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message
>>>> news:ejabtq$h5h$1@utils.eclipse.org...
>>>>
>>>>
>>>>> I guess I should have mentioned that the recording of the this test
>>>>> runs
>>>>> fine without any exceptions and that I can run our plugin on its own
>>>>> from the deployed plugins without a problem. The only time we
>>>>> experience
>>>>> failure is when we are running the test case under AGR.
>>>>>
>>>>> Joel
>>>>>
>>>>> Joel Rosi-Schwartz wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
>>>>>> the old environment all of our tests executed fine. Now we are
>>>>>> experiencing class loading failures in the Axis library. The odd
>>>>>> thing
>>>>>> is that the class that can not be found by name is in the same jar as
>>>>>> the class that is trying to load it, axis.jar. There are two other
>>>>>> axis.jar in the plugins, one is in the axis 1.3 plugin and the other
>>>>>> is in one of the BIRT plugins. In trying to isolate he problem I
>>>>>> temporarily removed both of these; this made no difference. The
>>>>>> stacktrace is included below.
>>>>>>
>>>>>> Any ideas appreciated.
>>>>>>
>>>>>> Thanks,
>>>>>> Joel
>>>>>>
>>>>>> !MESSAGE Message: Problem loading class:
>>>>>> org.apache.axis.attachments.AttachmentsImpl
>>>>>> java.lang.NoClassDefFoundError
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>>>>>> at java.lang.Class.forName0(Native Method)
>>>>>> at java.lang.Class.forName(Class.java:242)
>>>>>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>>>>>> at
>>>>>> org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
>>>>>> at
>>>>>>
>>>>>> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
>>>>>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>>>>>> at
>>>>>> org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
>>>>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>>>> at
>>>>>>
>>>>>> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
>>>>>> at
>>>>>>
>>>>>> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
>>>>>> at
>>>>>>
>>>>>> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
>>>>>> at
>>>>>>
>>>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
>>>>>> at
>>>>>>
>>>>>> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>>>>>> 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:928)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
>>>>>> at
>>>>>> org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>>>>>> at org.eclipse.jface.window.Window.open(Window.java:796)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
>>>>>> at
>>>>>> org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
>>>>>> at
>>>>>>
>>>>>> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>>
>
Re: [AGR] NoClassDefFoundError while running test [message #87659 is a reply to message #86981] Thu, 16 November 2006 11:18 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_005F_01C70970.EC2D08F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Joel,

Is Axis.jar in a plug-in that you have declared a dependency on in your =
test plug-in (via the manifest file)?
Or is Axis.jar a standalone jar file that you've added as part of the =
build path (via the properties dialog of the project)?

At what point does the class not found error occur (during the execution =
of a verification hook or while executing macro commands)?
If you have a context defined under the overview page of the test suite, =
then you'll need to make sure that the context contains the correct =
plug-in.

Thanks,
Ali Mehregani
"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message =
news:ejab22$2qc$1@utils.eclipse.org...
Hi,

We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In =
the old environment all of our tests executed fine. Now we are =
experiencing class loading failures in the Axis library. The odd thing =
is that the class that can not be found by name is in the same jar as =
the class that is trying to load it, axis.jar. There are two other =
axis.jar in the plugins, one is in the axis 1.3 plugin and the other is =
in one of the BIRT plugins. In trying to isolate he problem I =
temporarily removed both of these; this made no difference. The =
stacktrace is included below.

Any ideas appreciated.

Thanks,
Joel

!MESSAGE Message: Problem loading class: =
org.apache.axis.attachments.AttachmentsImpl
java.lang.NoClassDefFoundError
at =
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at =
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTar=
getedChain.java:157)
at =
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDep=
loyableItem.java:274)
at =
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeploy=
ableItem.java:260)
at =
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeploymen=
t.java:410)
at =
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java=
:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at =
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(Serv=
erWSSoapBindingStub.java:342)
at =
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerD=
elegate.java:859)
at =
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation=
(ServerLiaison.java:121)
at =
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.addLocation(ServerLocationWizard.java:90)
at =
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.performFinish(ServerLocationWizard.java:177)
at =
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680=
)
at =
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355=
)
at =
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
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:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at =
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
23)
at =
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at =
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at =
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at =
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownActio=
n.java:174)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at =
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act=
ionContributionItem.java:539)
at =
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi=
onItem.java:488)
at =
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContr=
ibutionItem.java:441)
at =
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)




------=_NextPart_000_005F_01C70970.EC2D08F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Joel,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is Axis.jar in a plug-in that you have =
declared a=20
dependency on&nbsp;in your test plug-in (via the manifest =
file)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Or is Axis.jar a standalone jar file =
that you've=20
added as part of the build path (via the properties dialog of the=20
project)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>At what point does the class not found =
error occur=20
(during the execution of a verification hook or while executing macro=20
commands)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If you have a context defined under the =
overview=20
page of the test suite, then you'll need to make sure that the context =
contains=20
the correct plug-in.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ali Mehregani</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Joel Rosi-Schwartz" &lt;<A=20
=
href=3D"mailto:Joel.Rosi-Schwartz@Etish.org">Joel.Rosi-Schwartz@Etish.org=
</A>&gt;=20
wrote in message <A=20
=
href=3D"news:ejab22$2qc$1@utils.eclipse.org">news:ejab22$2qc$1@utils.ecli=
pse.org</A>...</DIV><FONT=20
face=3D"Helvetica, Arial, sans-serif">Hi,<BR><BR>We are upgrading from =
Eclipse=20
3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In the old environment all of our =
tests=20
executed fine. Now we are experiencing class loading failures in the =
Axis=20
library. The odd thing is that the class that can not be found by name =
is in=20
the same jar as the class that is trying to load it, axis.jar. There =
are two=20
other axis.jar in the plugins, one is in the axis 1.3 plugin and the =
other is=20
in one of the BIRT plugins. In trying to isolate he problem I =
temporarily=20
removed both of these; this made no difference. The stacktrace is =
included=20
below.<BR><BR>Any ideas appreciated.<BR><BR>Thanks,<BR>Joel<BR></FONT>
<BLOCKQUOTE><FONT face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">!MESSAGE Message: Problem =
loading=20
class: =
org.apache.axis.attachments.AttachmentsImpl</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, =
monospace">java.lang.NoClassDefFoundError</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.lang.Class.forName0(Native Method)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.lang.Class.forName(Class.java:242)</FONT></FONT><BR> <FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)</FONT ></FONT>=
<BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.security.AccessController.doPrivileged(Native=20
Method)</FONT></FONT><BR><FONT face=3D"Helvetica, Arial, =
sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTar=
getedChain.java:157)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDep=
loyableItem.java:274)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeploy=
ableItem.java:260)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeploymen=
t.java:410)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java=
:257)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) </FONT></FONT=
><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invokeEngine(Call.java:2784)</FONT ></FONT><BR=
><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2767)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2443)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2366)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:1812)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(Serv=
erWSSoapBindingStub.java:342)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerD=
elegate.java:859)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation=
(ServerLiaison.java:121)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.addLocation(ServerLocationWizard.java:90)</FONT></FONT ><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.performFinish(ServerLocationWizard.java:177)</FONT></FONT ><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660) </FONT>=
</FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90) <=
/FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </FONT></=
FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) </FONT></FO=
NT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
23)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325) </FONT=
></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971) </FONT>=
</FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.window.Window.open(Window.java:796)</FONT ></FONT><BR><F=
ONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181) </FON=
T></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownActio=
n.java:174)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act=
ionContributionItem.java:539)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi=
onItem.java:488)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContr=
ibutionItem.java:441)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </FONT></=
FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)</FONT></FONT><BR></BLOCKQUOTE ><FONT=20
face=3D"Helvetica, Arial, =
sans-serif"><BR><BR></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_005F_01C70970.EC2D08F0--
Re: [AGR] NoClassDefFoundError while running test [message #87782 is a reply to message #87582] Fri, 17 November 2006 09:34 Go to previous messageGo to next message
Barbara Rosi-Schwartz is currently offline Barbara Rosi-Schwartz
Messages: 448
Registered: July 2009
Senior Member
Frank,

your cure worked, you are a saviour!... :-)

As you predicted, the classpath variable was not empty at AGR execution
time and setting it in the JVM Arguments for the test suite worked like
a charm.

Thank you very much.

Tschuess,
Barbara

Frank Froehlich wrote:
> 1. VH = verification hook
> 2. As far as I know you are using v4.2.1 (right?). Depending on this and
> additionally depending on the assumption that you are using local_deployment
> when using "Run", the only thing you would have to do is filling the field
> labeled with "JVM Arguments:" on the Overview page of your test suite with
> for example '-classpath
> " absolutePathOfEclipseRoot\startup.jar;absolutePathOfMyVHBinD irectory " -Xms128m
> -Xmx256m'.
>
> Just to be very clear, here is the content of the field mentioned above of
> one of my test suites:
> -classpath
> " D:\Temp\ffr\ecl-3.2.1\eclipse\startup.jar;D:\Temp\ffr\ecl-3. 2.1\workspaces\xxx-tests\XCIV22AutoGUITestContainer\bin "
> -Xms128m -Xmx256m
>
> If you are not using local_deployment, things are different. You need to set
> variable vmArguments in your deployment then. The value for this variable
> would be the same as you would enter into the input field mentioned above. I
> didn't try out this way for v4.2.1 by now. With v4.1.0.1 it works as
> described.
>
Re: [AGR] NoClassDefFoundError while running test [message #87918 is a reply to message #87659] Sat, 18 November 2006 10:20 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-Schwartz
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
This is a multi-part message in MIME format.
--------------080803000707010109050700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Ali,

As you may have seen already Frank's recommendation in this thread has
resolved the issue. :-) If you would still would find it useful to have
your questions below answered, please let me know I will be happy to
reply to the specifics.

What I wonder now, though, is whether or not this behavior is a bug that
should be reported. Why is this not a widely observed experience of
TPTP/AGR users? Are we doing something aberrant or have we simply
managed to uncover an infrequently exercised issue? Your opinion would
be appreciated.

Please let us know what we can do assist to resolve this in general.

Thanks,
Joel

Ali Mehregani wrote:
> Hi Joel,
>
> Is Axis.jar in a plug-in that you have declared a dependency on in
> your test plug-in (via the manifest file)?
> Or is Axis.jar a standalone jar file that you've added as part of the
> build path (via the properties dialog of the project)?
>
> At what point does the class not found error occur (during the
> execution of a verification hook or while executing macro commands)?
> If you have a context defined under the overview page of the test
> suite, then you'll need to make sure that the context contains the
> correct plug-in.
>
> Thanks,
> Ali Mehregani
>
> "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org
> <mailto:Joel.Rosi-Schwartz@Etish.org>> wrote in message
> news:ejab22$2qc$1@utils.eclipse.org...
> Hi,
>
> We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1.
> In the old environment all of our tests executed fine. Now we are
> experiencing class loading failures in the Axis library. The odd
> thing is that the class that can not be found by name is in the
> same jar as the class that is trying to load it, axis.jar. There
> are two other axis.jar in the plugins, one is in the axis 1.3
> plugin and the other is in one of the BIRT plugins. In trying to
> isolate he problem I temporarily removed both of these; this made
> no difference. The stacktrace is included below.
>
> Any ideas appreciated.
>
> Thanks,
> Joel
>
> !MESSAGE Message: Problem loading class:
> org.apache.axis.attachments.AttachmentsImpl
> java.lang.NoClassDefFoundError
> at
> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
> at
> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410)
> at
> org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257)
> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at
> com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342)
> at
> com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859)
> at
> com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121)
> at
> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90)
> at
> com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 )
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
> at
> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
> 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:928)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
> at
> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
> at
> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at
> org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
> at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
> at
> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
>
>
>

--------------080803000707010109050700
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Ali,<br>
<br>
As you may have seen already Frank's recommendation in this thread has
resolved the issue. :-)&nbsp; If you would still would find it useful to
have your questions below answered, please let me know I will be happy
to reply to the specifics.<br>
<br>
What I wonder now, though, is whether or not this behavior is a bug
that should be reported. Why is this not a widely observed experience
of TPTP/AGR users? Are we doing something aberrant or have we simply
managed to uncover an infrequently exercised issue? Your opinion would
be appreciated.<br>
<br>
Please let us know what we can do assist to resolve this in general.<br>
<br>
Thanks,<br>
Joel&nbsp; <br>
</font><br>
Ali Mehregani wrote:
<blockquote cite="mideji30p$7mg$1@utils.eclipse.org" type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2900.2963" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi Joel,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Is Axis.jar in a plug-in that you
have declared a dependency on&nbsp;in your test plug-in (via the manifest
file)?</font></div>
<div><font face="Arial" size="2">Or is Axis.jar a standalone jar file
that you've added as part of the build path (via the properties dialog
of the project)?</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">At what point does the class not
found error occur (during the execution of a verification hook or while
executing macro commands)?</font></div>
<div><font face="Arial" size="2">If you have a context defined under
the overview page of the test suite, then you'll need to make sure that
the context contains the correct plug-in.</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">Ali Mehregani</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Joel Rosi-Schwartz" &lt;<a
href="mailto:Joel.Rosi-Schwartz@Etish.org">Joel.Rosi-Schwartz@Etish.org</a>&gt;
wrote in message <a href="news:ejab22$2qc$1@utils.eclipse.org">news:ejab22$2qc$1@utils.eclipse.org</a>...</div>
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In
the old environment all of our tests executed fine. Now we are
experiencing class loading failures in the Axis library. The odd thing
is that the class that can not be found by name is in the same jar as
the class that is trying to load it, axis.jar. There are two other
axis.jar in the plugins, one is in the axis 1.3 plugin and the other is
in one of the BIRT plugins. In trying to isolate he problem I
temporarily removed both of these; this made no difference. The
stacktrace is included below.<br>
<br>
Any ideas appreciated.<br>
<br>
Thanks,<br>
Joel<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">!MESSAGE Message: Problem
loading class: org.apache.axis.attachments.AttachmentsImpl</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">java.lang.NoClassDefFoundError</font></font><br >
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName0(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.lang.Class.forName(Class.java:242)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
java.security.AccessController.doPrivileged(Native Method)</font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDeployableItem.java:274) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeployableItem.java:260) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeployment.java:410) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java:257) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2767)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2443)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:2366)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.apache.axis.client.Call.invoke(Call.java:1812)</font></font ><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(ServerWSSoapBindingStub.java:342) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerDelegate.java:859) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation(ServerLiaison.java:121) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.addLocation(ServerLocationWizard.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWizard.performFinish(ServerLocationWizard.java:177 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.window.Window.open(Window.java:796)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownAction.java:174) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 ) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</font ></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.doClick(BooleanSelectionCommand.java:490) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:294) </font></font><br>
<font face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">&nbsp; at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160) </font></font><br>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
<br>
</font></blockquote>
</blockquote>
</body>
</html>

--------------080803000707010109050700--
Re: [AGR] NoClassDefFoundError while running test [message #88235 is a reply to message #87918] Tue, 21 November 2006 12:14 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C70D66.A257D940
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Joel,

I'm also interested to know why a test suite that runs fine in a =
TPTP4.1.0 environment is failing under TPTP4.2.0. I wonder if there is =
anything specific in your project structure that is causing this =
behavior. If you can provide me with a set of steps for reproducing =
this problem, then please open a defect. =20

If your test plug-in contains non-confidential material, then please =
attach it as part of the defect.


Thanks,
Ali Mehregani

"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in message =
news:ejn8ch$rr8$1@utils.eclipse.org...
Hi Ali,

As you may have seen already Frank's recommendation in this thread has =
resolved the issue. :-) If you would still would find it useful to have =
your questions below answered, please let me know I will be happy to =
reply to the specifics.

What I wonder now, though, is whether or not this behavior is a bug =
that should be reported. Why is this not a widely observed experience of =
TPTP/AGR users? Are we doing something aberrant or have we simply =
managed to uncover an infrequently exercised issue? Your opinion would =
be appreciated.

Please let us know what we can do assist to resolve this in general.

Thanks,
Joel =20

Ali Mehregani wrote:=20
Hi Joel,

Is Axis.jar in a plug-in that you have declared a dependency on in =
your test plug-in (via the manifest file)?
Or is Axis.jar a standalone jar file that you've added as part of =
the build path (via the properties dialog of the project)?

At what point does the class not found error occur (during the =
execution of a verification hook or while executing macro commands)?
If you have a context defined under the overview page of the test =
suite, then you'll need to make sure that the context contains the =
correct plug-in.

Thanks,
Ali Mehregani
"Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@Etish.org> wrote in =
message news:ejab22$2qc$1@utils.eclipse.org...
Hi,

We are upgrading from Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. =
In the old environment all of our tests executed fine. Now we are =
experiencing class loading failures in the Axis library. The odd thing =
is that the class that can not be found by name is in the same jar as =
the class that is trying to load it, axis.jar. There are two other =
axis.jar in the plugins, one is in the axis 1.3 plugin and the other is =
in one of the BIRT plugins. In trying to isolate he problem I =
temporarily removed both of these; this made no difference. The =
stacktrace is included below.

Any ideas appreciated.

Thanks,
Joel

!MESSAGE Message: Problem loading class: =
org.apache.axis.attachments.AttachmentsImpl
java.lang.NoClassDefFoundError
at =
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at =
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at =
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at =
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTar=
getedChain.java:157)
at =
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDep=
loyableItem.java:274)
at =
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeploy=
ableItem.java:260)
at =
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeploymen=
t.java:410)
at =
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java=
:257)
at =
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at =
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at =
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(Serv=
erWSSoapBindingStub.java:342)
at =
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerD=
elegate.java:859)
at =
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation=
(ServerLiaison.java:121)
at =
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.addLocation(ServerLocationWizard.java:90)
at =
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.performFinish(ServerLocationWizard.java:177)
at =
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680=
)
at =
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355=
)
at =
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
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:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at =
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)
at =
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at =
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
23)
at =
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at =
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at =
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at =
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at =
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownActio=
n.java:174)
at =
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at =
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act=
ionContributionItem.java:539)
at =
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi=
onItem.java:488)
at =
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContr=
ibutionItem.java:441)
at =
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at =
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)
at =
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)




------=_NextPart_000_0027_01C70D66.A257D940
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Joel,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm also interested to know why a test =
suite that=20
runs fine in a TPTP4.1.0 environment is failing under TPTP4.2.0.&nbsp; I =
wonder=20
if there is anything specific in your project structure that is causing =
this=20
behavior.&nbsp; If you can provide me with a set of steps for =
reproducing this=20
problem, then please open a defect.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If your test plug-in contains =
non-confidential=20
material, then please attach it as part of the defect.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ali Mehregani</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Joel Rosi-Schwartz" &lt;<A=20
=
href=3D"mailto:Joel.Rosi-Schwartz@Etish.org">Joel.Rosi-Schwartz@Etish.org=
</A>&gt;=20
wrote in message <A=20
=
href=3D"news:ejn8ch$rr8$1@utils.eclipse.org">news:ejn8ch$rr8$1@utils.ecli=
pse.org</A>...</DIV><FONT=20
face=3D"Helvetica, Arial, sans-serif">Hi Ali,<BR><BR>As you may have =
seen=20
already Frank's recommendation in this thread has resolved the issue.=20
:-)&nbsp; If you would still would find it useful to have your =
questions below=20
answered, please let me know I will be happy to reply to the=20
specifics.<BR><BR>What I wonder now, though, is whether or not this =
behavior=20
is a bug that should be reported. Why is this not a widely observed =
experience=20
of TPTP/AGR users? Are we doing something aberrant or have we simply =
managed=20
to uncover an infrequently exercised issue? Your opinion would be=20
appreciated.<BR><BR>Please let us know what we can do assist to =
resolve this=20
in general.<BR><BR>Thanks,<BR>Joel&nbsp; <BR></FONT><BR>Ali Mehregani =
wrote:=20
<BLOCKQUOTE cite=3Dmideji30p$7mg$1@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>

<DIV><FONT face=3DArial size=3D2>Hi Joel,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is Axis.jar in a plug-in that you =
have declared=20
a dependency on&nbsp;in your test plug-in (via the manifest=20
file)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Or is Axis.jar a standalone jar =
file that=20
you've added as part of the build path (via the properties dialog of =
the=20
project)?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>At what point does the class not =
found error=20
occur (during the execution of a verification hook or while =
executing macro=20
commands)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If you have a context defined under =
the=20
overview page of the test suite, then you'll need to make sure that =
the=20
context contains the correct plug-in.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ali Mehregani</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Joel Rosi-Schwartz" &lt;<A=20
=
href=3D"mailto:Joel.Rosi-Schwartz@Etish.org">Joel.Rosi-Schwartz@Etish.org=
</A>&gt;=20
wrote in message <A=20
=
href=3D"news:ejab22$2qc$1@utils.eclipse.org">news:ejab22$2qc$1@utils.ecli=
pse.org</A>...</DIV><FONT=20
face=3D"Helvetica, Arial, sans-serif">Hi,<BR><BR>We are upgrading =
from=20
Eclipse 3.1 to 3.2 and TPTP 4.2.0 to 4.2.1. In the old environment =
all of=20
our tests executed fine. Now we are experiencing class loading =
failures in=20
the Axis library. The odd thing is that the class that can not be =
found by=20
name is in the same jar as the class that is trying to load it, =
axis.jar.=20
There are two other axis.jar in the plugins, one is in the axis =
1.3 plugin=20
and the other is in one of the BIRT plugins. In trying to isolate =
he=20
problem I temporarily removed both of these; this made no =
difference. The=20
stacktrace is included below.<BR><BR>Any ideas=20
appreciated.<BR><BR>Thanks,<BR>Joel<BR></FONT>
<BLOCKQUOTE><FONT face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">!MESSAGE Message: =
Problem loading=20
class:=20
=
org.apache.axis.attachments.AttachmentsImpl</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, =
monospace">java.lang.NoClassDefFoundError</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.handlers.BasicHandler.&lt;clinit&gt; (BasicHandler.java:43=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.lang.Class.forName0(Native Method)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.lang.Class.forName(Class.java:242)</FONT></FONT><BR> <FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)</FONT ></FONT>=
<BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
java.security.AccessController.doPrivileged(Native=20
Method)</FONT></FONT><BR><FONT face=3D"Helvetica, Arial, =
sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTar=
getedChain.java:157)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewIns tance(WSDDDep=
loyableItem.java:274)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstan ce(WSDDDeploy=
ableItem.java:260)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport( WSDDDeploymen=
t.java:410)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.configuration.FileProvider.getTransport(File Provider.java=
:257)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) </FONT></FONT=
><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.AxisClient.invoke(AxisClient.java:163 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invokeEngine(Call.java:2784)</FONT ></FONT><BR=
><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2767)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2443)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:2366)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.apache.axis.client.Call.invoke(Call.java:1812)</FONT></FONT ><BR><FONT=
=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.est.webservices.ServerWSSoapBindingStub.auth enticate(Serv=
erWSSoapBindingStub.java:342)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.base.core.services.ServerDelegate.val idate(ServerD=
elegate.java:859)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.base.core.services.ServerLiaison.addS erverLocation=
(ServerLiaison.java:121)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.addLocation(ServerLocationWizard.java:90)</FONT></FONT ><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
com.etish.useme.client.editor.ui.wizards.serverlocation.Serv erLocationWiz=
ard.performFinish(ServerLocationWizard.java:177)</FONT></FONT ><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355=
)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660) </FONT>=
</FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90) <=
/FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </FONT></=
FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) </FONT></FO=
NT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
23)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325) </FONT=
></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971) </FONT>=
</FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.window.Window.runEventLoop(Window.java:820 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.window.Window.open(Window.java:796)</FONT ></FONT><BR><F=
ONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181) </FON=
T></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizard DropDownActio=
n.java:174)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.Action.runWithEvent(Action.java:499 ) </FONT></FON=
T><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act=
ionContributionItem.java:539)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi=
onItem.java:488)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContr=
ibutionItem.java:441)</FONT></FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) </FONT></=
FONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)</FONT ></FONT><B=
R><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 09) </FONT></F=
ONT><BR><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
doClick(BooleanSelectionCommand.java:490)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.=
playback(BooleanSelectionCommand.java:294)</FONT></FONT><BR ><FONT=20
face=3D"Helvetica, Arial, sans-serif"><FONT=20
face=3D"Courier New, Courier, monospace">&nbsp; at=20
=
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(=
MacroCommandShell.java:1160)</FONT></FONT><BR></BLOCKQUOTE ><FONT=20
face=3D"Helvetica, Arial, =
sans-serif"><BR><BR></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE ></BODY>=
</HTML>

------=_NextPart_000_0027_01C70D66.A257D940--
Previous Topic:Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP
Next Topic:IS there any example to extend AGR's record and replay function?
Goto Forum:
  


Current Time: Sun Apr 20 23:04:06 EDT 2014

Powered by FUDForum. Page generated in 0.02256 seconds