[JBoss JIRA] (FORGE-959) ClassCastException with CLAC when the attribute added to UIContext.setAttribute is an Enum
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-959?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-959:
----------------------------------
Steps to Reproduce:
- Open NewFieldWizard, go to line 239
- Change
{code}
context.setAttribute(RelationshipType.class,relationshipType.getValue().name());
{code}
to
{code}
context.setAttribute(RelationshipType.class,relationshipType.getValue());
context.getAttribute(RelationshipType.class);
{code}
> ClassCastException with CLAC when the attribute added to UIContext.setAttribute is an Enum
> ------------------------------------------------------------------------------------------
>
> Key: FORGE-959
> URL: https://issues.jboss.org/browse/FORGE-959
> Project: Forge
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.0.0.Alpha5
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> This was spotted in the NewFieldWizard when transitioning to NewFieldRelationshipWizardStep:
> {code}
> RelationshipType enumValue = ...
> UIContext.setAttribute("value", enumValue);
> enumValue = (RelationshipType) UIContext.getAttribute("value")// CCE
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by Robb Greathouse (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
Robb Greathouse commented on FORGE-962:
---------------------------------------
I recently upgraded to XSLT 2.0 by adding revolver.jar and saxon9he.jar to java extensions. But I removed those and the problem persisted
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by Robb Greathouse (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
Robb Greathouse commented on FORGE-962:
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0"
name="org.arquillian.forge.arquillian-plugin"
slot="1.0.0-SNAPSHOT-3f6be804-c294-414f-ab15-0aa5caa7907d">
<resources xmlns="">
<resource-root path="arquillian-plugin.jar"/>
</resources>
<dependencies xmlns="">
<module name="org.arquillian.forge.arquillian-plugin.dependencies"
slot="1.0.0-SNAPSHOT-3f6be804-c294-414f-ab15-0aa5caa7907d"/>
<module name="org.jboss.forge.javaee.api" services="import"/>
<module name="org.jboss.forge.maven.api" services="import"/>
<module name="org.jboss.forge.scaffold.api" services="import"/>
<module name="org.jboss.forge.scaffoldx.api" services="import"/>
<module name="org.jboss.forge.shell.api" services="import"/>
<module name="org.jboss.seam.render" services="import"/>
<module name="javax.api"/>
</dependencies>
</module>
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-962:
---------------------------------------
Robb,
Please paste the contents of the erroneous module.xml indicated in the exception.
This hopefully may help us on indicating where the real problem is.
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by Robb Greathouse (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
Robb Greathouse commented on FORGE-962:
---------------------------------------
If that is it what is the solution? They were installed by running "forge find-plugin <name>" and then "forge install-plugin <name>" These are plugins that have been working in prior versions.
I find it hard to believe that 3 fairly common plugins have the same module.xml error.
I will remove these and keep trying other modules to see if I can find one that works and compare them.
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
Vineet Reynolds commented on FORGE-962:
---------------------------------------
Looks like a plugin installation problem or a module.xml corruption issue. The module names in the stack traces contain multiple version strings like 1.0.5.Final, 1.2.0.Final etc. in addition to the generated slot name.
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-968) Shell tests fail on Windows 7
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-968:
----------------------------------------
Summary: Shell tests fail on Windows 7
Key: FORGE-968
URL: https://issues.jboss.org/browse/FORGE-968
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.0.0.Alpha5
Environment: $ java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
Reporter: Lincoln Baxter III
Fix For: 2.x Future
{code}
$ cat tests/target/surefire-reports/*.txt
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.ShellAddonTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.2 sec
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.ShellCommandListenerTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.94 sec <<< FAILURE!
testCommandExecutionListenerTriggers(org.jboss.forge.addon.shell.ShellCommandListenerTest) Time elapsed: 5.512 sec <<<
FAILURE!
java.lang.AssertionError: Timed out.
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.jboss.forge.addon.shell.ShellCommandListenerTest.testCommandExecutionListenerTriggers(ShellCommandListene
rTest.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
at org.jboss.forge.addon.shell.ShellCommandListenerTest_$$_javassist_9630b8d0-eb8b-4335-b1a3-d57d54cc6ed5.testCo
mmandExecutionListenerTriggers(ShellCommandListenerTest_$$_javassist_9630b8d0-eb8b-4335-b1a3-d57d54cc6ed5.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.arquillian.ForgeTestMethodExecutor.invoke(ForgeTestMethodExecutor.java:135)
at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventControll
er.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventCont
roller.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.ShellTestHarnessTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.769 sec <<< FAILURE!
testShellTestUtility(org.jboss.forge.addon.shell.ShellTestHarnessTest) Time elapsed: 15.1 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.furnace.services.ExportedInstanceLazyLoader.invoke(ExportedInstanceLazyLoader.java:56)
at org.jboss.forge.addon.shell.test.ShellTest_$$_javassist_d96af40c-6498-4504-b8b9-67f006d35b7d.execute(ShellTes
t_$$_javassist_d96af40c-6498-4504-b8b9-67f006d35b7d.java)
at org.jboss.forge.addon.shell.ShellTestHarnessTest.testShellTestUtility(ShellTestHarnessTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
at org.jboss.forge.addon.shell.ShellTestHarnessTest_$$_javassist_63e91ca8-5c64-4329-9c92-685b8d8a1fad.testShellT
estUtility(ShellTestHarnessTest_$$_javassist_63e91ca8-5c64-4329-9c92-685b8d8a1fad.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.arquillian.ForgeTestMethodExecutor.invoke(ForgeTestMethodExecutor.java:135)
at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventControll
er.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventCont
roller.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.lang.RuntimeException: Failed to execute command.
at org.jboss.forge.addon.shell.test.ShellTestImpl.execute(ShellTestImpl.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
at org.jboss.forge.addon.shell.test.ShellTest_$$_javassist_d96af40c-6498-4504-b8b9-67f006d35b7d.execute(ShellTes
t_$$_javassist_d96af40c-6498-4504-b8b9-67f006d35b7d.java)
... 99 more
Caused by: java.util.concurrent.TimeoutException: Timeout expired waiting for command [list-services
].
at org.jboss.forge.addon.shell.test.ShellTestImpl.execute(ShellTestImpl.java:80)
... 107 more
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.parser.CommandParserTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.parser.RunnningCommandParserTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.437 sec
-------------------------------------------------------------------------------
Test set: org.jboss.forge.addon.shell.util.CommandLineUtilTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-940) Tests fail on Windows 7
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-940?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-940.
------------------------------------
Fix Version/s: 2.0.0.Alpha6
(was: 2.x Future)
Resolution: Done
Fixed with a variety of strategies including force-closing JAR files and additionally updating some broken functionality in Addons themselves. Rough stuff.
> Tests fail on Windows 7
> -----------------------
>
> Key: FORGE-940
> URL: https://issues.jboss.org/browse/FORGE-940
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 2.0.0.Alpha4
> Environment: Windows 7 x64, Maven 3.0.5
> Reporter: Adam Wyłuda
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Alpha6
>
>
> {code}
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.857 sec <<< FAILURE!
> org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: org.apache.maven.surefire.testset.TestSetFailedException: java.lang.RuntimeException: Could not run @AfterSuite; nested exception is java.lang.RuntimeException: Could not run @AfterSuite
> at org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:166)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:118)
> ... 9 more
> Caused by: java.lang.RuntimeException: Could not run @AfterSuite
> at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:140)
> at org.jboss.arquillian.junit.Arquillian$1.testRunFinished(Arquillian.java:114)
> at org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:95)
> at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61)
> at org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:92)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:116)
> ... 9 more
> Caused by: java.lang.RuntimeException: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1198e15d-31d8-4efb-a62e-a10165c1b9c1\arquillian-core.jar
> at org.jboss.forge.furnace.util.Files._deleteRecursive(Files.java:113)
> at org.jboss.forge.furnace.util.Files._deleteRecursive(Files.java:107)
> at org.jboss.forge.furnace.util.Files.delete(Files.java:63)
> at org.jboss.forge.arquillian.ForgeDeployableContainer.stop(ForgeDeployableContainer.java:190)
> at org.jboss.arquillian.container.impl.ContainerImpl.stop(ContainerImpl.java:217)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:178)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:172)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.stopContainer(ContainerLifecycleController.java:171)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$4.perform(ContainerLifecycleController.java:107)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$4.perform(ContainerLifecycleController.java:100)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.stopSuiteContainers(ContainerLifecycleController.java:99)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:91)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.afterSuite(EventTestRunnerAdaptor.java:73)
> at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:128)
> ... 14 more
> Results :
> Failed tests: testHotSwap(org.jboss.forge.furnace.hotswap.AddonDeepOptionalDependencyHotSwapTest): Values should be different. Actual: ModuleClassLoader for Module "dep:1_6c1c14a8-8fa6-49bc-9ca0-b1fb17a313bf" from AddonModuleLoader
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonOptionalDependencyHotSwapTest): Values should be different. Actual: ModuleClassLoader for Module "dep:1_6c1c14a8-8fa6-49bc-9ca0-b1fb17a313bf" from AddonModuleLoader
> Tests in error:
> org.jboss.forge.furnace.ContainerLifecycleListenerTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1a1a0191-bc25-4bb8-a86e-0501377bd8ae\4eec8d60-1472-484c-99c0-a923d94a6415.jar
> org.jboss.forge.furnace.ContainerLifecycleTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-57452a78-cae0-4d63-9561-fe56c8ab3310\arquillian-core.jar
> org.jboss.forge.furnace.ContainerServiceDetectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-f7de63d5-4be7-4de9-8b63-e419e8fb06f8\arquillian-core.jar
> org.jboss.forge.furnace.ContainerServiceInstanceTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-6b38990b-9789-4962-9de5-f4c60634b026\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonCDIExtensionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-88c42e56-7998-490f-afc0-ed46b1cd11fe\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonDependencyInjectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-c202ad3a-cbaa-4138-8c79-aaa67b4fb405\825031a5-29e7-4b77-a220-6c5a08c8e093.jar
> org.jboss.forge.furnace.dependencies.AddonEventPropagationNonRemoteTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-e38272f6-bc4c-4651-940a-f84b7a5b9e81\6c6c1942-22ab-4656-ad01-fcae28143bc8.jar
> testEventPropagationAcrossContainers(org.jboss.forge.furnace.dependencies.AddonEventPropagationRemoteTest): Problems encountered during propagation of event [org.example.event.EventPayload1@62b8fe41] with qualifiers [[(a)javax.enterprise.inject.Any(), @javax.inject.Named(value=1)]]
> org.jboss.forge.furnace.dependencies.AddonEventPropagationRemoteTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-4f4edcff-b19e-4e0d-86e7-029118b3f6f8\42902a4a-2f28-461e-836f-4664ea3ed5f1.jar
> org.jboss.forge.furnace.dependencies.AddonIncludingJARsTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-8f3705dd-7fdf-49c8-804a-bb82ff1f5bf7\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonInjectableAPIsTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-c210e498-2ac9-4a8f-b412-1ca2bcb2699f\4b069c2d-7a33-44b3-add2-6b19f2ca7ed3.jar
> org.jboss.forge.furnace.dependencies.AddonSelfInjectionExposedServiceTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-2b72006f-86e1-4f1a-90dd-54bf65b02d0c\8780b850-5d06-43eb-b053-17ef64b68356.jar
> org.jboss.forge.furnace.dependencies.AddonSelfInjectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1198e15d-31d8-4efb-a62e-a10165c1b9c1\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.ClassLoadingOnlyAddonTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\noncdi-1\f0458a75-95c0-4acf-b3d3-2f9afc14cb03.jar
> org.jboss.forge.furnace.deployment.AddonMissingDelayedRequiredDependencyTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\dependency-2\dependency.jar
> org.jboss.forge.furnace.deployment.AddonMultipleDependencyVersionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\dep-2\328df043-772d-468b-9872-d62a5063a34a.jar
> org.jboss.forge.furnace.ForgeGetVersionIsCallableTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-3304d7c6-a8df-4198-870c-95abdf6b6575\arquillian-core.jar
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonDeepHotSwapTest): Addon [dep,1 - STARTED] was not stopped.
> org.jboss.forge.furnace.hotswap.AddonDeepHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-7a8454eb-3ffe-48be-a08d-211f9112a9ba\arquillian-core.jar
> org.jboss.forge.furnace.hotswap.AddonDeepOptionalDependencyHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-a6bd9600-bb5c-459c-9b0e-b4142215e413\583303de-5dc7-4c52-9481-656b0d9ae8cc.jar
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonHotSwapTest): Addon [dep,1 - STARTED] was not stopped.
> org.jboss.forge.furnace.hotswap.AddonHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-7e3a0445-540f-47af-b40e-922c76a07850\arquillian-core.jar
> org.jboss.forge.furnace.hotswap.AddonOptionalDependencyHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-a1fff2e5-dccb-4287-9ea2-2b5f1bfeabf9\4606de2e-c1e9-4e7c-822b-b0ae2307c2e1.jar
> testAddonsCanReferenceDependenciesInOtherRepositories(org.jboss.forge.furnace.MultipleRepositoryTest): failed to delete: C:\Users\Adam\AppData\Local\Temp\forge1241921483464157952repo1\org-jboss-forge-addon-convert-2-0-0-SNAPSHOT\convert-2.0.0-SNAPSHOT-forge-addon.jar
> testAddonsDontFailIfDuplicatedInOtherRepositories(org.jboss.forge.furnace.MultipleRepositoryTest): failed to delete: C:\Users\Adam\AppData\Local\Temp\forge7403208321209315918repo1\org-jboss-forge-addon-convert-2-0-0-SNAPSHOT\convert-2.0.0-SNAPSHOT-forge-addon.jar
> org.jboss.forge.furnace.XPathLookupTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-ef6e017a-8ae6-4938-a7e1-8dbde69ed264\796bb890-5f06-4426-82c8-7c13ff6a7750.jar
> Test mechanism: Could not run @AfterSuite
> Tests run: 54, Failures: 2, Errors: 26, Skipped: 2
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-940) Tests fail on Windows 7
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-940?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III reassigned FORGE-940:
----------------------------------------
Assignee: Lincoln Baxter III (was: George Gastaldi)
> Tests fail on Windows 7
> -----------------------
>
> Key: FORGE-940
> URL: https://issues.jboss.org/browse/FORGE-940
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 2.0.0.Alpha4
> Environment: Windows 7 x64, Maven 3.0.5
> Reporter: Adam Wyłuda
> Assignee: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> {code}
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.857 sec <<< FAILURE!
> org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: org.apache.maven.surefire.testset.TestSetFailedException: java.lang.RuntimeException: Could not run @AfterSuite; nested exception is java.lang.RuntimeException: Could not run @AfterSuite
> at org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:166)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:118)
> ... 9 more
> Caused by: java.lang.RuntimeException: Could not run @AfterSuite
> at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:140)
> at org.jboss.arquillian.junit.Arquillian$1.testRunFinished(Arquillian.java:114)
> at org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:95)
> at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61)
> at org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:92)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:116)
> ... 9 more
> Caused by: java.lang.RuntimeException: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1198e15d-31d8-4efb-a62e-a10165c1b9c1\arquillian-core.jar
> at org.jboss.forge.furnace.util.Files._deleteRecursive(Files.java:113)
> at org.jboss.forge.furnace.util.Files._deleteRecursive(Files.java:107)
> at org.jboss.forge.furnace.util.Files.delete(Files.java:63)
> at org.jboss.forge.arquillian.ForgeDeployableContainer.stop(ForgeDeployableContainer.java:190)
> at org.jboss.arquillian.container.impl.ContainerImpl.stop(ContainerImpl.java:217)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:178)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:172)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.stopContainer(ContainerLifecycleController.java:171)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$4.perform(ContainerLifecycleController.java:107)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$4.perform(ContainerLifecycleController.java:100)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.stopSuiteContainers(ContainerLifecycleController.java:99)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:91)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.afterSuite(EventTestRunnerAdaptor.java:73)
> at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:128)
> ... 14 more
> Results :
> Failed tests: testHotSwap(org.jboss.forge.furnace.hotswap.AddonDeepOptionalDependencyHotSwapTest): Values should be different. Actual: ModuleClassLoader for Module "dep:1_6c1c14a8-8fa6-49bc-9ca0-b1fb17a313bf" from AddonModuleLoader
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonOptionalDependencyHotSwapTest): Values should be different. Actual: ModuleClassLoader for Module "dep:1_6c1c14a8-8fa6-49bc-9ca0-b1fb17a313bf" from AddonModuleLoader
> Tests in error:
> org.jboss.forge.furnace.ContainerLifecycleListenerTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1a1a0191-bc25-4bb8-a86e-0501377bd8ae\4eec8d60-1472-484c-99c0-a923d94a6415.jar
> org.jboss.forge.furnace.ContainerLifecycleTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-57452a78-cae0-4d63-9561-fe56c8ab3310\arquillian-core.jar
> org.jboss.forge.furnace.ContainerServiceDetectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-f7de63d5-4be7-4de9-8b63-e419e8fb06f8\arquillian-core.jar
> org.jboss.forge.furnace.ContainerServiceInstanceTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-6b38990b-9789-4962-9de5-f4c60634b026\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonCDIExtensionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-88c42e56-7998-490f-afc0-ed46b1cd11fe\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonDependencyInjectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-c202ad3a-cbaa-4138-8c79-aaa67b4fb405\825031a5-29e7-4b77-a220-6c5a08c8e093.jar
> org.jboss.forge.furnace.dependencies.AddonEventPropagationNonRemoteTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-e38272f6-bc4c-4651-940a-f84b7a5b9e81\6c6c1942-22ab-4656-ad01-fcae28143bc8.jar
> testEventPropagationAcrossContainers(org.jboss.forge.furnace.dependencies.AddonEventPropagationRemoteTest): Problems encountered during propagation of event [org.example.event.EventPayload1@62b8fe41] with qualifiers [[(a)javax.enterprise.inject.Any(), @javax.inject.Named(value=1)]]
> org.jboss.forge.furnace.dependencies.AddonEventPropagationRemoteTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-4f4edcff-b19e-4e0d-86e7-029118b3f6f8\42902a4a-2f28-461e-836f-4664ea3ed5f1.jar
> org.jboss.forge.furnace.dependencies.AddonIncludingJARsTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-8f3705dd-7fdf-49c8-804a-bb82ff1f5bf7\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.AddonInjectableAPIsTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-c210e498-2ac9-4a8f-b412-1ca2bcb2699f\4b069c2d-7a33-44b3-add2-6b19f2ca7ed3.jar
> org.jboss.forge.furnace.dependencies.AddonSelfInjectionExposedServiceTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-2b72006f-86e1-4f1a-90dd-54bf65b02d0c\8780b850-5d06-43eb-b053-17ef64b68356.jar
> org.jboss.forge.furnace.dependencies.AddonSelfInjectionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-1198e15d-31d8-4efb-a62e-a10165c1b9c1\arquillian-core.jar
> org.jboss.forge.furnace.dependencies.ClassLoadingOnlyAddonTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\noncdi-1\f0458a75-95c0-4acf-b3d3-2f9afc14cb03.jar
> org.jboss.forge.furnace.deployment.AddonMissingDelayedRequiredDependencyTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\dependency-2\dependency.jar
> org.jboss.forge.furnace.deployment.AddonMultipleDependencyVersionTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\dep-2\328df043-772d-468b-9872-d62a5063a34a.jar
> org.jboss.forge.furnace.ForgeGetVersionIsCallableTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-3304d7c6-a8df-4198-870c-95abdf6b6575\arquillian-core.jar
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonDeepHotSwapTest): Addon [dep,1 - STARTED] was not stopped.
> org.jboss.forge.furnace.hotswap.AddonDeepHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-7a8454eb-3ffe-48be-a08d-211f9112a9ba\arquillian-core.jar
> org.jboss.forge.furnace.hotswap.AddonDeepOptionalDependencyHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-a6bd9600-bb5c-459c-9b0e-b4142215e413\583303de-5dc7-4c52-9481-656b0d9ae8cc.jar
> testHotSwap(org.jboss.forge.furnace.hotswap.AddonHotSwapTest): Addon [dep,1 - STARTED] was not stopped.
> org.jboss.forge.furnace.hotswap.AddonHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-7e3a0445-540f-47af-b40e-922c76a07850\arquillian-core.jar
> org.jboss.forge.furnace.hotswap.AddonOptionalDependencyHotSwapTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-a1fff2e5-dccb-4287-9ea2-2b5f1bfeabf9\4606de2e-c1e9-4e7c-822b-b0ae2307c2e1.jar
> testAddonsCanReferenceDependenciesInOtherRepositories(org.jboss.forge.furnace.MultipleRepositoryTest): failed to delete: C:\Users\Adam\AppData\Local\Temp\forge1241921483464157952repo1\org-jboss-forge-addon-convert-2-0-0-SNAPSHOT\convert-2.0.0-SNAPSHOT-forge-addon.jar
> testAddonsDontFailIfDuplicatedInOtherRepositories(org.jboss.forge.furnace.MultipleRepositoryTest): failed to delete: C:\Users\Adam\AppData\Local\Temp\forge7403208321209315918repo1\org-jboss-forge-addon-convert-2-0-0-SNAPSHOT\convert-2.0.0-SNAPSHOT-forge-addon.jar
> org.jboss.forge.furnace.XPathLookupTest: failed to delete: C:\Users\Adam\AppData\Local\Temp\furnace5267367185883380340test-addon-dir\-DEFAULT-ef6e017a-8ae6-4938-a7e1-8dbde69ed264\796bb890-5f06-4426-82c8-7c13ff6a7750.jar
> Test mechanism: Could not run @AfterSuite
> Tests run: 54, Failures: 2, Errors: 26, Skipped: 2
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-962) After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
by Robb Greathouse (JIRA)
[ https://issues.jboss.org/browse/FORGE-962?page=com.atlassian.jira.plugin.... ]
Robb Greathouse commented on FORGE-962:
---------------------------------------
Robbs-MacBook-Pro:~ robbgreathouse$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
Robbs-MacBook-Pro:~ robbgreathouse$
> After installing plugin get error message saying that Unexpected content of type 'element start' named 'resources'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-962
> URL: https://issues.jboss.org/browse/FORGE-962
> Project: Forge
> Issue Type: Bug
> Components: Blessed Plugins
> Affects Versions: 1.2.0.Final
> Environment: Mac OSX 10.6.4 running java 1.6
> Reporter: Robb Greathouse
> Fix For: 1.x Future
>
>
> When I run the command "forge install-plugin ' I get the following error. Message: Unexpected content of type 'element start' named 'resources'
> The plugin then fails to load. I tested this with the switchyard, jboss-as-7 and arquillian plugins, which had worked in previous versions.
> The error occurred in both the Forge shipped with JBDS 7.0 and the version downloaded directly from the Forge site.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months