I confirm that it works with a freshly built Pax Exam.

Regards
JB

On 11/23/2013 10:37 AM, Jean-Baptiste Onofré wrote:
OK, let me rebuild Pax Exam 3.4.0-SNAPSHOT and Karaf locally to see if
it happens again.

Thanks,
Regards
JB

On 11/23/2013 10:11 AM, Christian Schneider wrote:
The build works fine for me. I think I also have seen this exception
before but it does not happen very often.
Still a NPE points to a problem in exam somewhere. I will try to find
the problem but I think it is not critical for the releases.

Christian

On 23.11.2013 09:24, Christian Schneider wrote:
I will look into it.

Christian


Am 23.11.2013 08:10, schrieb Jean-Baptiste Onofré:
Hi all,

it seems that the latest change (in Pax Exam or Karaf itself) breaks
the itests:

        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (3.0.0-SNAPSHOT)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> 08:08:20,222 | INFO  |
raf.region.persist.internal.RegionsPersistenceImpl | Loading region
digraph persistence
08:08:20,364 | INFO  |
raf.region.persist.internal.RegionsPersistenceImpl | initializing
region digraph from etc/regions-config.xml
08:08:20,857 | INFO  |
e.aries.blueprint.container.BlueprintContainerImpl | Bundle
org.apache.karaf.shell.commands is waiting for dependencies
[(objectClass=org.jledit.EditorFactory)]
08:08:21,586 | INFO  | org.apache.karaf.itests.KarafTestWatcher |
>>>>>> realmListCommand(org.apache.karaf.itests.JaasTest) <<<<<
jaas:realm-list
08:08:21,667 | ERROR |
org.ops4j.pax.swissbox.extender.BundleWatcher   | Exception in
executor thread
java.lang.NullPointerException
        at
org.ops4j.pax.exam.raw.extender.intern.Probe.register(Probe.java:42)[81:org.ops4j.pax.exam.extender.service:3.4.0.SNAPSHOT]


        at
org.ops4j.pax.exam.raw.extender.intern.TestBundleObserver.addingEntries(TestBundleObserver.java:72)[81:org.ops4j.pax.exam.extender.service:3.4.0.SNAPSHOT]


        at
org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:226)[76:org.ops4j.pax.swissbox.extender:1.7.0]


        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_21]


        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_21]


        at
java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_21]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_21]


        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_21]


        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]


        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]


        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
[org.ops4j.pax.exam.spi.reactors.ReactorManager] : suite finished
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
10.736 sec

Results :

Tests in error:
  listCommands(org.apache.karaf.itests.ObrTest): Command not found:
obr:list

I'm checking why.

Regards
JB







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to