It works!
Thanks Michaël!
2015-12-05 14:34 GMT+01:00 Michaël Michaud <[email protected]>:
> Hi Peppe,
>
> Should be fixed in r4568, thanks for your help
>
> Michaël
>
>
> Le 05/12/2015 13:19, Giuseppe Aruta a écrit :
>
> Hi Michaël,
> The problem seems to be solved with SLD plugins but the error comes again
> with Combine Selected Layers plugin
> (org.openjump.core.ui.plugin.layer.CombineSelectedLayersPlugIn)
> I did a simple test:
> a) I created/loaded two or three different vector files/layers
> b) combined them
> c) tried to open Change Style plugin.
> I attached the error message below.
> BTW: Should I open an error ticket?
> Best regards
> Peppe
>
> java.lang.ClassCastException:
> com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be
> cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle
> at
> com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901)
> at javax.swing.JSlider.fireStateChanged(Unknown Source)
> at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
> at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown
> Source)
> at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown
> Source)
> at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
> at javax.swing.JSlider.setValue(Unknown Source)
> at com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221)
> at
> de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134)
> at
> com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.AbstractButton.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$500(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
> Source)
> at
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
>
>
>
> 2015-12-03 13:36 GMT+01:00 Michaël Michaud <[email protected]>:
>
>> Hi Peppe,
>>
>> I introduced XBasicStyle when I added the capability to display vertices
>> in ColorThemingStyle.
>> As ColorThemingStyle is mapping key values or ranges to BasicStyle, I
>> wrapped vertex style in
>> BasicStyle and called it XBasicStyle as for eXtended BasicStyle.
>> Sorry it it has broken SLD compatibility. I'll try to figure out what is
>> broken. If you have a dataset
>> and a sld to reproduce the problem, it may help,
>>
>> Michaël
>>
>>
>> Le 03/12/2015 11:53, Giuseppe Aruta a écrit :
>>
>> I had this error on Change Style plugin on a layer, on which I load a SLD
>> style (previuosly saved using OpenJUMP SLD exporter).
>> What does it mean? What is this XBaseStyle class? And how can I pass it
>> by?
>> regards
>> Peppe
>>
>> java.lang.ClassCastException:
>> com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be
>> cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle
>> at
>> com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901)
>> at javax.swing.JSlider.fireStateChanged(Unknown Source)
>> at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
>> at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown
>> Source)
>> at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown
>> Source)
>> at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
>> at javax.swing.JSlider.setValue(Unknown Source)
>> at
>> com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221)
>> at
>> de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134)
>> at
>> org.openjump.core.ui.plugin.layer.LayerableStylePlugIn.execute(LayerableStylePlugIn.java:38)
>> at
>> com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
>> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
>> Source)
>> at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>> at java.awt.Component.processMouseEvent(Unknown Source)
>> at javax.swing.JComponent.processMouseEvent(Unknown Source)
>> at java.awt.Component.processEvent(Unknown Source)
>> at java.awt.Container.processEvent(Unknown Source)
>> at java.awt.Component.dispatchEventImpl(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Window.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>> at java.awt.EventQueue.access$500(Unknown Source)
>> at java.awt.EventQueue$3.run(Unknown Source)
>> at java.awt.EventQueue$3.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>> Source)
>> at
>> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>> Source)
>> at java.awt.EventQueue$4.run(Unknown Source)
>> at java.awt.EventQueue$4.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>> Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>>
>>
>>
>> _______________________________________________
>> Jump-pilot-devel mailing
>> [email protected]https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel