[
https://jira.jboss.org/jira/browse/JBIDE-5432?page=com.atlassian.jira.plu...
]
Brian Fitzpatrick commented on JBIDE-5432:
------------------------------------------
So is the issue with the EDI reader in the Eclipse code or in the Smooks code? And if
we're feeding one to the other, do we simply need to update the path before we pass it
to the Smooks API?
Issue found while testing smooks example edi-with-import-to-java
----------------------------------------------------------------
Key: JBIDE-5432
URL:
https://jira.jboss.org/jira/browse/JBIDE-5432
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.1.0.GA
Reporter: Brian Fitzpatrick
Assignee: Xue Peng
Fix For: 3.1.0.GA
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
While testing today, I ran into an issue testing the
milyn-smooks-example-edi-with-import-to-java example from the Smooks examples.
You can download Smooks from here:
http://www.smooks.org/mediawiki/index.php?title=Downloads
Grab Smooks v.1.2.2 "ALL", and it will include binaries, examples and so on.
You can have maven create the eclipse projects and import them directly. In the root of
the smooks-examples directory, type "mvn eclipse:eclipse". Then you can import
each example individually. Do this and import the
milyn-smooks-example-edi-with-import-to-java example.
Using this example, when I specify the edi sample message file I get this error in the
editor:
"Check Reader Configuration. Error creating Input Model from Input Data. Error:
"Error parsing EDI mapping model [file]. Target Profile(s)
[org.milyn.profile.profile#default_profile]."
And this in my console:
2009-12-09 09:04:23.276::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
java.lang.NullPointerException
at
org.jboss.tools.smooks.configuration.editors.ModelPanelCreator.markPropertyUI(ModelPanelCreator.java:179)
at
org.jboss.tools.smooks.configuration.editors.ModelPanelCreator.createModelPanel(ModelPanelCreator.java:160)
at
org.jboss.tools.smooks.configuration.editors.SmooksReaderFormPage.createReaderPanel(SmooksReaderFormPage.java:763)
at
org.jboss.tools.smooks.configuration.editors.SmooksReaderFormPage.initReaderConfigSection(SmooksReaderFormPage.java:440)
at
org.jboss.tools.smooks.configuration.editors.SmooksReaderFormPage.createReaderConfigSection(SmooksReaderFormPage.java:395)
at
org.jboss.tools.smooks.configuration.editors.SmooksReaderFormPage.createFormContent(SmooksReaderFormPage.java:210)
at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:152)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:150)
at
org.jboss.tools.smooks.graphical.editors.SmooksProcessGraphicalEditor.createTaskPage(SmooksProcessGraphicalEditor.java:1008)
at
org.jboss.tools.smooks.graphical.editors.SmooksProcessGraphicalEditor$5.run(SmooksProcessGraphicalEditor.java:964)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at
org.jboss.tools.smooks.graphical.editors.SmooksProcessGraphicalEditor.showTaskControl(SmooksProcessGraphicalEditor.java:927)
at
org.jboss.tools.smooks.graphical.editors.SmooksProcessGraphicalEditor$2.selectionChanged(SmooksProcessGraphicalEditor.java:353)
at org.eclipse.zest.core.viewers.GraphViewer$1.widgetSelected(GraphViewer.java:96)
at org.eclipse.zest.core.widgets.Graph.fireWidgetSelectedEvent(Graph.java:723)
at org.eclipse.zest.core.widgets.Graph.access$4(Graph.java:715)
at org.eclipse.zest.core.widgets.Graph$DragSupport.mousePressed(Graph.java:682)
at org.eclipse.draw2d.Figure.handleMousePressed(Figure.java:873)
at
org.eclipse.draw2d.SWTEventDispatcher.dispatchMousePressed(SWTEventDispatcher.java:214)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:513)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira