-
Bug
-
Resolution: Done
-
Major
-
3.2.0.M1
-
None
I used soa-5.1.0.ER2 with modeshape 2.3, JBDS 4.0.0.Beta2 and tried to publish Teiid Project Example to default in-memory repository.
Message:
Publishing file "/home/psrna/data/testing/workspaces/jbdev23/PartsProject/PartsSourceA.xmi" to path "/PartsProject" in workspace "default" failed.
Exception Stack Trace:
java.lang.IllegalArgumentException: The stream argument may not be null
at org.modeshape.common.util.CheckArg.isNotNull(CheckArg.java:387)
at org.modeshape.common.util.MimeTypeUtil.load(MimeTypeUtil.java:153)
at org.modeshape.web.jcr.rest.client.Utils.getMimeType(Utils.java:72)
at org.modeshape.web.jcr.rest.client.json.FileNode.<init>(FileNode.java:112)
at org.modeshape.web.jcr.rest.client.json.JsonRestClient.pathExists(JsonRestClient.java:372)
at org.modeshape.web.jcr.rest.client.json.JsonRestClient.publish(JsonRestClient.java:392)
at org.jboss.tools.modeshape.rest.ServerManager.publish(ServerManager.java:504)
at org.jboss.tools.modeshape.rest.jobs.PublishJob.run(PublishJob.java:213)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
- duplicates
-
MODE-989 When publishing a file using JBDS, it causes an NPE when trying to load the mimeTypes
-
- Closed
-