Hey there.
I'm sorry you're having trouble with this. It looks like you are using
Windows, but without knowing more information about your environment such
as Windows version, Java Version, CPU 32x64 bits, Forge version, it is
difficult to know what the problem might be.
However, if you haven't heard already, we are working hard on Forge 2, and
Forge 1 will soon be deprecated. You may want to take a look at Forge 2,
since all work going forward will be on that.
For more information on Forge 2, please check here:
https://github.com/forge/core#jboss-forge-20
Thanks,
Lincoln
On Mon, Jan 27, 2014 at 8:46 AM, <forge-users(a)lists.jboss.org> wrote:
Hi,
i have made a simple plugin, but cant test it. Always get this exception,
everything is out of the box, plugin itself and test for it. Tried out
different version of forge api, nothing helps {emoticon:class=jive_macro
jive_emote|src=
https://community.jboss.org/6.0.3.60ddddd/images/emoticons/wink.png|__jiv...
}
h6. java.lang.NoClassDefFoundError: Could not initialize class
org.fusesource.jansi.internal.Kernel32
h6. at
org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:48)
h6. at
org.jboss.forge.shell.console.jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:277)
h6. at
org.jboss.forge.shell.console.jline.WindowsTerminal.init(WindowsTerminal.java:96)
h6. at
org.jboss.forge.shell.console.jline.TerminalFactory.create(TerminalFactory.java:109)
h6. at
org.jboss.forge.shell.console.jline.TerminalFactory.get(TerminalFactory.java:177)
h6. at
org.jboss.forge.shell.ShellImpl.initReaderAndStreams(ShellImpl.java:519)
h6. at
org.jboss.forge.shell.ShellImpl.setInputStream(ShellImpl.java:1154)
h6. at
org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.setInputStream(ShellImpl$Proxy$_$$_WeldClientProxy.java)
h6. at
org.jboss.forge.test.AbstractShellTest.resetInputQueue(AbstractShellTest.java:197)
h6. at
org.jboss.forge.test.AbstractShellTest.beforeTest(AbstractShellTest.java:110)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
h6. at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
h6. at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
h6. at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
h6. at
org.jboss.arquillian.junit.Arquillian$StatementLifecycleExecutor.invoke(Arquillian.java:351)
h6. at
org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:99)
h6. at
org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:72)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
h6. at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
h6. at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
h6. at
org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
h6. at
org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
h6. at
org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
h6. at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
h6. at
org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
h6. at
org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
h6. at
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:95)
h6. at
org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:222)
h6. at
org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
h6. at
org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
h6. at
org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
h6. at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
h6. at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
h6. at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
h6. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
h6. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
h6. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
h6. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
h6. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
h6. at
org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
h6. at
org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
h6. at
org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
h6. at
org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
h6. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
h6. at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
h6. at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
h6. at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
h6. at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
h6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
h6. at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
h6. at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
h6. at java.lang.reflect.Method.invoke(Method.java:606)
h6. at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
h6. at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
h6. at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
h6. at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
h6. at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Posted by forums
Original post:
https://community.jboss.org/message/854954#854954
_______________________________________________
forge-users mailing list
forge-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."