Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » AGR stacktraces but testcase passes
AGR stacktraces but testcase passes [message #121958] Mon, 04 February 2008 16:49 Go to next message
Eclipse User
Originally posted by: stephanl.us.ibm.com

Greetings,

I am running AGR v4.3.0 in WebSphere Integration Developer v6.1.0, which
is built on Eclipse 3.2. I am executing a single, simple AGR testcase by
invoking it programmatically from ant as follows:

<target name="CreateConfigurationAndProject" description="Execute">
<tptp:test
resultsrefid="tptp.test.results"
workspace="${test.root.dir}\dev-ws"
project="com.webify.wsf.studio.test"
suite="test-suites/CreateConfigurationAndProject.testsuite"
synchronicity="synchronous"
vmargs="-Dagr.exe.ws=${test.root.dir}\exe-ws"
/>
</target>

While the test completes successfully, I am seeing the below stacktrace in
the console from which I invoke AGR. The test does not contain any
assertions. Any idea/input what is causing this stacktrace would be much
appreciated. I am unsure if

Thanks!

- Stephan

CreateConfigurationAndProject:
Test started!
Test '\test-suites\CreateConfigurationAndProject.testsuite' executing
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:273)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:288)
at
org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:267)
at
org.eclipse.jdt.internal.ui.JavaPlugin.uninstallPreferenceSt oreBackwardsCompatibility(JavaPlugin.java:477)
at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java: 526)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:35)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
at
java.security.AccessController.doPrivileged(AccessController .java:242)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:569)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:147)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get Extension(ExtensionsRegistry.java:241)
at
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.doG etDocumentSetupParticipants(ExtensionsRegistry.java:364)
at
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:386)
at
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:519)
at
org.eclipse.core.internal.filebuffers.TextFileBufferManager. createEmptyDocument(TextFileBufferManager.java:305)
at
org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer .initializeFileBufferContent(ResourceTextFileBuffer.java:268 )
at
org.eclipse.core.internal.filebuffers.ResourceFileBuffer.cre ate(ResourceFileBuffer.java:242)
at
org.eclipse.core.internal.filebuffers.TextFileBufferManager. connect(TextFileBufferManager.java:108)
at
org.eclipse.pde.internal.core.builders.ErrorReporter.createD ocument(ErrorReporter.java:71)
at
org.eclipse.pde.internal.core.builders.BuildErrorReporter.pr epareTextBuildModel(BuildErrorReporter.java:438)
at
org.eclipse.pde.internal.core.builders.BuildErrorReporter.va lidate(BuildErrorReporter.java:108)
at
org.eclipse.pde.internal.core.builders.ErrorReporter.validat eContent(ErrorReporter.java:130)
at
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkBuildProperties(ManifestConsistencyChecker.java:1 40)
at
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkThisProject(ManifestConsistencyChecker.java:58)
at
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.build(ManifestConsistencyChecker.java:40)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:603)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:167)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:230)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:233)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:252)
at
org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:285)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:154)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:217)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Waiting..................................................... ............................................................ .........................
Collected results:
'org.eclipse.hyades.models.common.testprofile.impl.TPFExecut ionResultImpl @96e096e
(eProxyURI:
platform:/resource/com.webify.wsf.studio.test/CreateConfigur ationAndProject.execution#E0E2C7A2B9F99298E2FA3710868A11DC)'
Test '\test-suites\CreateConfigurationAndProject.testsuite' completed
Test completed!
Re: AGR stacktraces but testcase passes [message #122039 is a reply to message #121958] Mon, 04 February 2008 18:06 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Stephan,
The exception is thrown since the JFace code cannot find the display.
Is this on Linux? If so, the problem is mostly caused by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216635. Can you try exporting
the DISPLAY?

Paul
"Stephan Lips" <stephanl@us.ibm.com> wrote in message
news:15ecd753da2dd50faa4c832bef508fb8$1@www.eclipse.org...
> Greetings,
>
> I am running AGR v4.3.0 in WebSphere Integration Developer v6.1.0, which
> is built on Eclipse 3.2. I am executing a single, simple AGR testcase by
> invoking it programmatically from ant as follows:
>
> <target name="CreateConfigurationAndProject" description="Execute">
> <tptp:test
> resultsrefid="tptp.test.results"
> workspace="${test.root.dir}\dev-ws"
> project="com.webify.wsf.studio.test"
> suite="test-suites/CreateConfigurationAndProject.testsuite"
> synchronicity="synchronous"
> vmargs="-Dagr.exe.ws=${test.root.dir}\exe-ws"
> />
> </target>
>
> While the test completes successfully, I am seeing the below stacktrace in
> the console from which I invoke AGR. The test does not contain any
> assertions. Any idea/input what is causing this stacktrace would be much
> appreciated. I am unsure if
> Thanks!
>
> - Stephan
>
> CreateConfigurationAndProject:
> Test started!
> Test '\test-suites\CreateConfigurationAndProject.testsuite' executing
> org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:273)
> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:288)
> at
> org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:267)
> at
> org.eclipse.jdt.internal.ui.JavaPlugin.uninstallPreferenceSt oreBackwardsCompatibility(JavaPlugin.java:477)
> at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java: 526)
> at
> org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:35)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController .java:242)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:569)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:147)
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get Extension(ExtensionsRegistry.java:241)
> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.doG etDocumentSetupParticipants(ExtensionsRegistry.java:364)
> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:386)
> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:519)
> at
> org.eclipse.core.internal.filebuffers.TextFileBufferManager. createEmptyDocument(TextFileBufferManager.java:305)
> at
> org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer .initializeFileBufferContent(ResourceTextFileBuffer.java:268 )
> at
> org.eclipse.core.internal.filebuffers.ResourceFileBuffer.cre ate(ResourceFileBuffer.java:242)
> at
> org.eclipse.core.internal.filebuffers.TextFileBufferManager. connect(TextFileBufferManager.java:108)
> at
> org.eclipse.pde.internal.core.builders.ErrorReporter.createD ocument(ErrorReporter.java:71)
> at
> org.eclipse.pde.internal.core.builders.BuildErrorReporter.pr epareTextBuildModel(BuildErrorReporter.java:438)
> at
> org.eclipse.pde.internal.core.builders.BuildErrorReporter.va lidate(BuildErrorReporter.java:108)
> at
> org.eclipse.pde.internal.core.builders.ErrorReporter.validat eContent(ErrorReporter.java:130)
> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkBuildProperties(ManifestConsistencyChecker.java:1 40)
> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkThisProject(ManifestConsistencyChecker.java:58)
> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.build(ManifestConsistencyChecker.java:40)
> at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:603)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:167)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
> at
> org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:230)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:233)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:252)
> at
> org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:285)
> at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:154)
> at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:217)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Waiting..................................................... ............................................................ .........................
> Collected results:
> 'org.eclipse.hyades.models.common.testprofile.impl.TPFExecut ionResultImpl @96e096e
> (eProxyURI:
> platform:/resource/com.webify.wsf.studio.test/CreateConfigur ationAndProject.execution#E0E2C7A2B9F99298E2FA3710868A11DC)'
> Test '\test-suites\CreateConfigurationAndProject.testsuite' completed
> Test completed!
>
Re: AGR stacktraces but testcase passes [message #122091 is a reply to message #122039] Mon, 04 February 2008 20:57 Go to previous messageGo to next message
Eclipse User
Originally posted by: stephanl.us.ibm.com

Thanks Paul. This is actually on Windows XP, with the display in plain
view in front of me :) (well, desktop, logged on). Any ideas what could
be causing this on Windows? Apologies for not including the platform/OS
in the original posting.

- Stephan


Paul Slauenwhite wrote:

> Hi Stephan,
> The exception is thrown since the JFace code cannot find the display.
> Is this on Linux? If so, the problem is mostly caused by
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=216635. Can you try exporting
> the DISPLAY?

> Paul
> "Stephan Lips" <stephanl@us.ibm.com> wrote in message
> news:15ecd753da2dd50faa4c832bef508fb8$1@www.eclipse.org...
>> Greetings,
>>
>> I am running AGR v4.3.0 in WebSphere Integration Developer v6.1.0, which
>> is built on Eclipse 3.2. I am executing a single, simple AGR testcase by
>> invoking it programmatically from ant as follows:
>>
>> <target name="CreateConfigurationAndProject" description="Execute">
>> <tptp:test
>> resultsrefid="tptp.test.results"
>> workspace="${test.root.dir}dev-ws"
>> project="com.webify.wsf.studio.test"
>> suite="test-suites/CreateConfigurationAndProject.testsuite"
>> synchronicity="synchronous"
>> vmargs="-Dagr.exe.ws=${test.root.dir}exe-ws"
>> />
>> </target>
>>
>> While the test completes successfully, I am seeing the below stacktrace in
>> the console from which I invoke AGR. The test does not contain any
>> assertions. Any idea/input what is causing this stacktrace would be much
>> appreciated. I am unsure if
>> Thanks!
>>
>> - Stephan
>>
>> CreateConfigurationAndProject:
>> Test started!
>> Test 'test-suitesCreateConfigurationAndProject.testsuite' executing
>> org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
>> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:273)
>> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:288)
>> at
>>
org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:267)
>> at
>>
org.eclipse.jdt.internal.ui.JavaPlugin.uninstallPreferenceSt oreBackwardsCompatibility(JavaPlugin.java:477)
>> at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java: 526)
>> at
>>
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:35)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
>> at java.security.AccessController.doPrivileged(AccessController .java:242)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
>> at
>>
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:569)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
>> at
>>
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:147)
>> at
>>
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
>> at
>>
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>> at
>>
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>> at
>>
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get Extension(ExtensionsRegistry.java:241)
>> at
>>
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.doG etDocumentSetupParticipants(ExtensionsRegistry.java:364)
>> at
>>
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:386)
>> at
>>
org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:519)
>> at
>>
org.eclipse.core.internal.filebuffers.TextFileBufferManager. createEmptyDocument(TextFileBufferManager.java:305)
>> at
>>
org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer .initializeFileBufferContent(ResourceTextFileBuffer.java:268 )
>> at
>>
org.eclipse.core.internal.filebuffers.ResourceFileBuffer.cre ate(ResourceFileBuffer.java:242)
>> at
>>
org.eclipse.core.internal.filebuffers.TextFileBufferManager. connect(TextFileBufferManager.java:108)
>> at
>>
org.eclipse.pde.internal.core.builders.ErrorReporter.createD ocument(ErrorReporter.java:71)
>> at
>>
org.eclipse.pde.internal.core.builders.BuildErrorReporter.pr epareTextBuildModel(BuildErrorReporter.java:438)
>> at
>>
org.eclipse.pde.internal.core.builders.BuildErrorReporter.va lidate(BuildErrorReporter.java:108)
>> at
>>
org.eclipse.pde.internal.core.builders.ErrorReporter.validat eContent(ErrorReporter.java:130)
>> at
>>
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkBuildProperties(ManifestConsistencyChecker.java:1 40)
>> at
>>
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkThisProject(ManifestConsistencyChecker.java:58)
>> at
>>
org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.build(ManifestConsistencyChecker.java:40)
>> at
>> org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:603)
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at
>>
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:167)
>> at
>>
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
>> at
>> org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:230)
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at
>>
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:233)
>> at
>>
org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:252)
>> at
>> org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:285)
>> at
>> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:154)
>> at
>> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:217)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
>>
Waiting..................................................... ............................................................ .........................
>> Collected results:
>>
'org.eclipse.hyades.models.common.testprofile.impl.TPFExecut ionResultImpl @96e096e
>> (eProxyURI:
>>
platform:/resource/com.webify.wsf.studio.test/CreateConfigur ationAndProject.execution#E0E2C7A2B9F99298E2FA3710868A11DC)'
>> Test 'test-suitesCreateConfigurationAndProject.testsuite' completed
>> Test completed!
>>
Re: AGR stacktraces but testcase passes [message #122171 is a reply to message #122091] Tue, 05 February 2008 11:29 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Stephan,
No, I do not when running on Windows. Since the local Eclipse instance
is headless, I am not really sure why the JFace code would want to find the
display. Please add a comment with the details to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216635 and we will investigate
further.

Paul
"Stephan Lips" <stephanl@us.ibm.com> wrote in message
news:da474a51a45d06b06960888e93653469$1@www.eclipse.org...
> Thanks Paul. This is actually on Windows XP, with the display in plain
> view in front of me :) (well, desktop, logged on). Any ideas what could
> be causing this on Windows? Apologies for not including the platform/OS
> in the original posting.
>
> - Stephan
>
>
> Paul Slauenwhite wrote:
>
>> Hi Stephan,
>> The exception is thrown since the JFace code cannot find the display.
>> Is this on Linux? If so, the problem is mostly caused by
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=216635. Can you try
>> exporting the DISPLAY?
>
>> Paul
>> "Stephan Lips" <stephanl@us.ibm.com> wrote in message
>> news:15ecd753da2dd50faa4c832bef508fb8$1@www.eclipse.org...
>>> Greetings,
>>>
>>> I am running AGR v4.3.0 in WebSphere Integration Developer v6.1.0, which
>>> is built on Eclipse 3.2. I am executing a single, simple AGR testcase
>>> by invoking it programmatically from ant as follows:
>>>
>>> <target name="CreateConfigurationAndProject" description="Execute">
>>> <tptp:test
>>> resultsrefid="tptp.test.results"
>>> workspace="${test.root.dir}dev-ws"
>>> project="com.webify.wsf.studio.test"
>>> suite="test-suites/CreateConfigurationAndProject.testsuite"
>>> synchronicity="synchronous"
>>> vmargs="-Dagr.exe.ws=${test.root.dir}exe-ws"
>>> />
>>> </target>
>>>
>>> While the test completes successfully, I am seeing the below stacktrace
>>> in the console from which I invoke AGR. The test does not contain any
>>> assertions. Any idea/input what is causing this stacktrace would be
>>> much appreciated. I am unsure if
>>> Thanks!
>>>
>>> - Stephan
>>>
>>> CreateConfigurationAndProject:
>>> Test started!
>>> Test 'test-suitesCreateConfigurationAndProject.testsuite' executing
>>> org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
>>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
>>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
>>> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:273)
>>> at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:288)
>>> at
> org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:267)
>>> at
> org.eclipse.jdt.internal.ui.JavaPlugin.uninstallPreferenceSt oreBackwardsCompatibility(JavaPlugin.java:477)
>>> at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java: 526)
>>> at
> org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:35)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController .java:242)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
>>> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
>>> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
>>> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:569)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>>> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
>>> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:147)
>>> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
>>> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get Extension(ExtensionsRegistry.java:241)
>>> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.doG etDocumentSetupParticipants(ExtensionsRegistry.java:364)
>>> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:386)
>>> at
> org.eclipse.core.internal.filebuffers.ExtensionsRegistry.get DocumentSetupParticipants(ExtensionsRegistry.java:519)
>>> at
> org.eclipse.core.internal.filebuffers.TextFileBufferManager. createEmptyDocument(TextFileBufferManager.java:305)
>>> at
> org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer .initializeFileBufferContent(ResourceTextFileBuffer.java:268 )
>>> at
> org.eclipse.core.internal.filebuffers.ResourceFileBuffer.cre ate(ResourceFileBuffer.java:242)
>>> at
> org.eclipse.core.internal.filebuffers.TextFileBufferManager. connect(TextFileBufferManager.java:108)
>>> at
> org.eclipse.pde.internal.core.builders.ErrorReporter.createD ocument(ErrorReporter.java:71)
>>> at
> org.eclipse.pde.internal.core.builders.BuildErrorReporter.pr epareTextBuildModel(BuildErrorReporter.java:438)
>>> at
> org.eclipse.pde.internal.core.builders.BuildErrorReporter.va lidate(BuildErrorReporter.java:108)
>>> at
> org.eclipse.pde.internal.core.builders.ErrorReporter.validat eContent(ErrorReporter.java:130)
>>> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkBuildProperties(ManifestConsistencyChecker.java:1 40)
>>> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.checkThisProject(ManifestConsistencyChecker.java:58)
>>> at
> org.eclipse.pde.internal.core.builders.ManifestConsistencyCh ecker.build(ManifestConsistencyChecker.java:40)
>>> at
>>> org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:603)
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:167)
>>> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
>>> at
>>> org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:230)
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:233)
>>> at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:252)
>>> at
>>> org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:285)
>>> at
>>> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:154)
>>> at
>>> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:217)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
>>>
> Waiting..................................................... ............................................................ .........................
>>> Collected results:
> 'org.eclipse.hyades.models.common.testprofile.impl.TPFExecut ionResultImpl @96e096e
>>> (eProxyURI:
> platform:/resource/com.webify.wsf.studio.test/CreateConfigur ationAndProject.execution#E0E2C7A2B9F99298E2FA3710868A11DC)'
>>> Test 'test-suitesCreateConfigurationAndProject.testsuite' completed
>>> Test completed!
>>>
>
>
Previous Topic:Importing JUnit Tests into a TPTP JUnit Test
Next Topic:ArrayIndexOutofBoundsException
Goto Forum:
  


Current Time: Fri Oct 24 18:49:10 GMT 2014

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

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