openjump-gis / openjump

OpenJUMP, the Open Source GIS with more than one trick in its kangaroo pocket, takes the leap from svn to git. join the effort!
http://openjump.org
GNU General Public License v2.0
28 stars 14 forks source link

RunTime exception if I use zoom plugins from workbench statusbar #58

Closed ma15569 closed 1 year ago

ma15569 commented 1 year ago

Clicking on lower bar, both on scale and on coordinate boxes should popup conresponding zoom plugins (Zoom to scale and Zoom to coordinate). With latest OJ Night Build ver 2.1, I have RunTime exceptions.

java.lang.RuntimeException: Add super.initialize() to your AbstractPlugIn.initialize() implementation! org.openjump.core.ui.plugin.view.ZoomToScalePlugIn

edeso commented 1 year ago

hey Peppe,

please try the next snapshot. the plugins needed to be initialized() before usage. just added it and initialized them lazily later.

ma15569 commented 1 year ago

Hi Ede, Zoom to coordinates and Zoom to scale work fine in OpenJUMP-Portable-20220823-r5135[6899249]-PLUS. I close the issue