[
https://jira.jboss.org/jira/browse/JBIDE-4271?page=com.atlassian.jira.plu...
]
Denis Maliarevich commented on JBIDE-4271:
------------------------------------------
Events processing was corrected, arrows positions and actions were updated, sash weight
now gets initialized with the default value. Methods upClicked(), upMaxClicked(),
downClicked(), downMaxClicked() in the CustomSashForm class were updated, additional check
for positive sash weight value was added.
IllegalArgumentException if Visual pane has a wrong position
------------------------------------------------------------
Key: JBIDE-4271
URL:
https://jira.jboss.org/jira/browse/JBIDE-4271
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M1
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
Priority: Minor
Attachments: FirstCase.swf, SecondCase.swf
See flash video to reproduce it correctly. After reproducing next exception appears:
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3845)
at org.eclipse.swt.SWT.error(SWT.java:3779)
at org.eclipse.swt.SWT.error(SWT.java:3750)
at org.eclipse.swt.custom.SashForm.setWeights(SashForm.java:428)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm.upClicked(CustomSashForm.java:549)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm$8.mouseUp(CustomSashForm.java:433)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:207)
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.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2393)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2357)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2209)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
P. S. Names of tooltips may be changed according to 4270.
--
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