[ 
https://issues.apache.org/activemq/browse/SMX4KNL-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49390#action_49390
 ] 

Edell Nolan commented on SMX4KNL-188:
-------------------------------------

The real error behind this is that it throws an exception as to the following 

[localShell] ERROR org.apache.servicemix.kernel.gshell.core.LocalConsole - Exiti
ng shell due to caught exception java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
        at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:44)
        at java.lang.StringBuilder.<init>(StringBuilder.java:81)
        at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.repeat(ShellImpl.ja
va:265)
        at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:
242)
        at org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrappe
r.java:81)
        at org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsol
e.java:125)
        at java.lang.Thread.run(Thread.java:595)

> Gshell itests fail on windows 
> ------------------------------
>
>                 Key: SMX4KNL-188
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-188
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Edell Nolan
>             Fix For: 1.1.0
>
>
> The gshell itests fail consistently on windows for me 
> When it attempts to get 
> getOsgiService(Shell.class); 
> In the test logs - it throws 
> testHelp(org.apache.servicemix.kernel.gshell.itests.CoreTest)  Time elapsed: 
> 9.25 sec  <<< ERROR!
> java.lang.IllegalStateException: Unable to dynamically start generated unit 
> test bundle
>       at 
> org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests.postProcessBundleContext(AbstractOnTheFlyBundleCreatorTests.java:519)
>       at 
> org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests.postProcessBundleContext(AbstractConfigurableBundleCreatorTests.java:223)
>       at 
> org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:262)
>       at 
> org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374)
>       at 
> org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203)
>       at 
> org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184)
>       at junit.framework.TestResult.runProtected(TestResult.java:124)
>       at 
> org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181)
>       at junit.framework.TestSuite.runTest(TestSuite.java:208)
>       at junit.framework.TestSuite.run(TestSuite.java:203)
>       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:585)
>       at 
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>       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:585)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Caused by: org.osgi.framework.BundleException: The framework has been 
> shutdown.
>       at org.apache.felix.framework.Felix.installBundle(Felix.java:2244)
>       at org.apache.felix.framework.Felix.installBundle(Felix.java:2227)
>       at 
> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:132)
>       at 
> org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests.installAndStartBundle(AbstractOnTheFlyBundleCreatorTests.java:531)
>       at 
> org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests.postProcessBundleContext(AbstractOnTheFlyBundleCreatorTests.java:516)
>       ... 23 more
>       ... 23 more
> The remaining tests fail because then the port is in use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to