Unable to publish Teiid Example Project to modeshape repository
(IllegalArgumentException)
------------------------------------------------------------------------------------------
Key: JBDS-1383
URL:
https://jira.jboss.org/browse/JBDS-1383
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: Modeshape
Affects Versions: 4.0.0.Beta2
Environment: linux 32bit, jbdevstudio-linux-gtk-4.0.0.v201010260634N-H123-Beta2,
soa-5.1.0.ER2 with modeshape 2.3
Reporter: Pavol Srna
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira