-
Bug
-
Resolution: Done
-
Critical
-
3.0.0.Alpha1
-
None
Executing TestModeShapeConfiguration, I receive the following exception:
10:59:20,814 ERROR MSC00001: Failed to start service jboss.modeshape.repository.sample1 org.jboss.msc.service.StartException in service jboss.modeshape.repository.sample1: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1786) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.ExceptionInInitializerError at org.modeshape.jcr.value.binary.AbstractBinaryStore.<init>(AbstractBinaryStore.java:61) at org.modeshape.jcr.value.binary.FileSystemBinaryStore.<init>(FileSystemBinaryStore.java:90) at org.modeshape.jcr.value.binary.TransientBinaryStore.<init>(TransientBinaryStore.java:77) at org.modeshape.jcr.value.binary.TransientBinaryStore.<clinit>(TransientBinaryStore.java:42) at org.modeshape.jcr.ExecutionContext.<init>(ExecutionContext.java:186) at org.modeshape.jcr.ExecutionContext.<init>(ExecutionContext.java:105) at org.modeshape.jcr.ExecutionContext.<clinit>(ExecutionContext.java:74) at org.modeshape.jcr.JcrRepository.initializeDescriptors(JcrRepository.java:695) at org.modeshape.jcr.JcrRepository.<init>(JcrRepository.java:209) at org.modeshape.jcr.JcrEngine.deploy(JcrEngine.java:503) at org.modeshape.jcr.JcrEngine.deploy(JcrEngine.java:462) at org.modeshape.jboss.service.RepositoryService.start(RepositoryService.java:62) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) ... 4 more Caused by: java.lang.NullPointerException at org.modeshape.common.util.MimeTypeUtil.getDefaultMappings(MimeTypeUtil.java:145) at org.modeshape.common.util.MimeTypeUtil.<init>(MimeTypeUtil.java:99) at org.modeshape.common.util.MimeTypeUtil.<init>(MimeTypeUtil.java:72) at org.modeshape.jcr.mimetype.ExtensionBasedMimeTypeDetector.<init>(ExtensionBasedMimeTypeDetector.java:37) at org.modeshape.jcr.mimetype.ExtensionBasedMimeTypeDetector.<clinit>(ExtensionBasedMimeTypeDetector.java:39) ... 17 more