[ 
https://issues.apache.org/jira/browse/KARAF-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946686#comment-14946686
 ] 

Benson Margulies commented on KARAF-3967:
-----------------------------------------

I can't get the current snapshot.

ERROR] Failed to execute goal on project tc-itest: Could not resolve 
dependencies for project org.apache.karaf:tc-itest:jar:0.0.1-SNAPSHOT: Failed 
to collect dependencies at 
org.ops4j.pax.exam:pax-exam-junit4:jar:4.7.0-SNAPSHOT: Failed to read artifact 
descriptor for org.ops4j.pax.exam:pax-exam-junit4:jar:4.7.0-SNAPSHOT: Could not 
find artifact org.ops4j:master:pom:4.3.0-SNAPSHOT in ops4j-snapshots 
(https://oss.sonatype.org/content/repositories/ops4j-snapshots) -> [Help 1]


> Seemingly simple Karaf application fails with equinox as framework
> ------------------------------------------------------------------
>
>                 Key: KARAF-3967
>                 URL: https://issues.apache.org/jira/browse/KARAF-3967
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>         Environment: Java 1.8.
>            Reporter: Benson Margulies
>
> If you clone g...@github.com:bimargulies/karaf-loop-tc.git, and checkout the 
> 'equinox' branch, and run mvn install with Maven 3.2.5, you will see the 
> following exception, followed by the test hanging. jstack shows all karaf 
> threads sitting around, none of them are doing anything. Eventually, pax-exam 
> gives up and quits.
> {noformat}
> 2015-09-01 11:02:07,533 | WARN  | pool-1-thread-1  | Activator                
>         | 8 - org.apache.karaf.features.core - 4.0.1 | Error starting 
> activator
> java.lang.IllegalStateException: BundleContext is no longer valid
>       at 
> org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
>       at 
> org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:463)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
>       at 
> org.apache.karaf.util.tracker.BaseActivator.registerMBean(BaseActivator.java:290)[8:org.apache.karaf.features.core:4.0.1]
>       at 
> org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:262)[8:org.apache.karaf.features.core:4.0.1]
>       at 
> org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[8:org.apache.karaf.features.core:4.0.1]
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_05]
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_05]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_05]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_05]
>       at java.lang.Thread.run(Thread.java:745)[:1.8.0_05]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to