[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1383) Unable to publish Teiid Example Project to modeshape repository (IllegalArgumentException)
Len DiMaggio (JIRA)
jira-events at lists.jboss.org
Thu Oct 28 10:53:54 EDT 2010
[ https://jira.jboss.org/browse/JBDS-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560000#action_12560000 ]
Len DiMaggio commented on JBDS-1383:
------------------------------------
Seeing a somewhat diff problem here too:
Version: 4.0.0.Beta2
Build id: v201010280127N
Build date: 201010280147
Unhandled event loop exception
java.lang.IllegalArgumentException: Internationalization field "serverManagerGetWorkspacesExceptionMsg" in class org.jboss.tools.modeshape.rest.RestClientI18n: 0 parameters supplied, but 1 parameter required: "There was a problem obtaining workspaces for "{0}."" => "There was a problem obtaining workspaces for "{0}"
at org.modeshape.common.i18n.I18n.text(I18n.java:420)
at org.modeshape.common.i18n.I18n.text(I18n.java:404)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.refreshWorkspaces(PublishPage.java:836)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.handleRepositoryModified(PublishPage.java:643)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.modifyText(PublishPage.java:717)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:173)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Combo.select(Combo.java:1840)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.refreshRepositories(PublishPage.java:760)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.handleServerModified(PublishPage.java:661)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.modifyText(PublishPage.java:715)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:173)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Combo.select(Combo.java:1840)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.refreshServers(PublishPage.java:801)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.serverRegistryChanged(PublishPage.java:892)
at org.jboss.tools.modeshape.rest.ServerManager.addRegistryListener(ServerManager.java:179)
at org.jboss.tools.modeshape.rest.wizards.PublishPage.createControl(PublishPage.java:560)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.jboss.tools.modeshape.rest.actions.BasePublishingHandler.execute(BasePublishingHandler.java:108)
at org.jboss.tools.modeshape.rest.actions.PublishHandler.execute(PublishHandler.java:1)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> 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
More information about the jbosstools-issues
mailing list