[
https://jira.jboss.org/jira/browse/JBIDE-3681?page=com.atlassian.jira.plu...
]
Maurice Zeijen updated JBIDE-3681:
----------------------------------
Attachment: eclipse_smooks_plugin_connection_bug.swf
Not sure if this is the same problem but I also have linking problems. I attached a Flash
video illustrating the problem. Simply open the swf file in the browser, and decrease the
size of the browser until the video looks good (the video will be stretched otherwise).
I used the following eclipse environment:
- Eclipse 3.4.2 (Build id: M20090211-1700)
- Smooks editor 1.0.0 RC 2
I found the following exception in the log:
!ENTRY org.eclipse.ui 4 0 2009-03-06 12:04:27.846
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 7
at
org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getCenterCurvePoints(CurveLineConnection.java:53)
at
org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getcenterCurvePointList(CurveLineConnection.java:67)
at
org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getBounds(CurveLineConnection.java:98)
at
org.eclipse.gef.editparts.ScalableRootEditPart$FeedbackLayer.getPreferredSize(ScalableRootEditPart.java:117)
at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:711)
at org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.java:44)
at org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(AbstractHintLayout.java:68)
at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)
at org.eclipse.draw2d.ViewportLayout.calculatePreferredSize(ViewportLayout.java:65)
at org.eclipse.draw2d.AbstractLayout.getPreferredSize(AbstractLayout.java:93)
at org.eclipse.draw2d.AbstractHintLayout.getPreferredSize(AbstractHintLayout.java:85)
at org.eclipse.draw2d.Figure.getPreferredSize(Figure.java:735)
at org.eclipse.draw2d.ScrollPaneSolver.solve(ScrollPaneSolver.java:75)
at org.eclipse.draw2d.FigureCanvas.layoutViewport(FigureCanvas.java:297)
at org.eclipse.draw2d.FigureCanvas.access$4(FigureCanvas.java:295)
at org.eclipse.draw2d.FigureCanvas$3.notifyValidating(FigureCanvas.java:260)
at org.eclipse.draw2d.UpdateManager.fireValidating(UpdateManager.java:123)
at
org.eclipse.draw2d.DeferredUpdateManager.performValidation(DeferredUpdateManager.java:203)
at org.eclipse.draw2d.DeferredUpdateManager.paint(DeferredUpdateManager.java:154)
at org.eclipse.draw2d.LightweightSystem.paint(LightweightSystem.java:199)
at org.eclipse.draw2d.LightweightSystem$2.handleEvent(LightweightSystem.java:107)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1424)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3842)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
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:193)
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:386)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
SmooksEditor has issues with linking on graph, etc.
---------------------------------------------------
Key: JBIDE-3681
URL:
https://jira.jboss.org/jira/browse/JBIDE-3681
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.0.0.cr1
Environment: jbdevstudio-linux-gtk-2.0.0.CR2-R200901250322.jar on RHEL 5, jdk
1.5.11
Reporter: Jeff DeLong
Assignee: Xue Peng
Fix For: 3.0.1.GA
Attachments: eclipse_smooks_plugin_connection_bug.swf
I used JBDS to create a new Smooks Configuration File, choose Java to XML and for the
XML File Path clicked Browse Workspace and choose PolicyQuote.xml.Then I added my domain
classes org.acme.insurance.Driver and org.acme.insurance.Policy.
Next I tried to link the XML on the left to the pojo on the right in the Graph editor,
but could not do this. I tried to click on the xml then drag to the pojo, etc. but was
unsuccessful in creating a link. Also, then portions of the JBDS display would blank out
if I drug a non-JBDS window on top of it, but refresh when I hovered my mouse over it.
If I entered the correct smooks mapping information in the source view, the links would
display properly after that.
--
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