-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2017-05-29T15:06:07 +0000 Mark Raynsford <list+org.op...@io7m.com> wrote: > Hello. > > I've been using pax-exam for a few days, and all of a sudden my test > suite no longer runs due to Felix being unable to create a bundle cache. > > The test code is here: > > https://github.com/io7m/callisto/blob/feature/interfaces-sketch-00/com.io7m.callisto.tests/src/test/java/com/io7m/callisto/tests/resources/main/CoResourceResolverTest.java
I've just spotted the problem. The line: CoreOptions.url("link:classpath:com.io7m.jaffirm.core.link"), I had removed this module from the classpath. This causes an InvocationTargetException to be raised with the cause "java.io.IOException: URL [com.io7m.jaffirm.core.link] could not be resolved from classpath". Unfortunately, Felix throws this exception away when raising an IllegalStateException, breaking the stack trace. M -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEgWja4isV0+3HIsI9DxW30G+oDLgFAlksSYEOHG1hcmtAaW83 bS5jb20ACgkQDxW30G+oDLgJ+w/+NSQo6mAiCiYLk5RpiHh7z7m/Hk9He5SAdznS LqrjyHhNpZj0plEJPvf2EYvFZEQFzEHnajBan2LdbJSHsxOA0O0y7VKRV/nw2wGx K1HcuyYQriMqSaBIk0qlIv3rGfwlrrfhnEuM8L8AoZUVHtsZo5wxBGsNSg6djSYn zjF+nXHR6gVzM5PIkemj7ghbQbMY5ueCG2J18wk342tnfAq/HthaWEj7cB0NKtBO qQlxSVMrWPoNZ+26RdV3dkbauJG9MzHNvVb6b/LuL2F/8ksnYyUuI6OujAW9Gvzq Pw+jpgaZfGS3b0HcJeuD63eANF8yIWi8IscdEw4GUUz6M/G+VFzrvubdbzSapDG5 0EHPymdnQUOUf97DJwOlvNVUkxaz4crHi02abiKVnOUHrSKCd+294nIOChJqOGZt 7Q2LzaXGeM9O8IU+WHMAHoFApArPIV+e+jrE6NQCYmmBCMUPBxcZlPaUZqatvbi5 dEB0Cd328V632KzJrAPT2nZsc0etriZ0hiSZon2GT3oH3DPo7H6WgOH/3SGtsSTH qP7GKOzqC23SGfIMtVeUDFNV1TYTHwq2pEneib1oq3rYL5cdKfAc/P6osqr4a3le ObTbV9u/y1zxhuV8MQCWHvGTgnp2N3dllN7Nt6bROEh5uOsKWDgCtPrFINhY3Wqp 37dX+Bk= =q0SI -----END PGP SIGNATURE----- -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.