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
30 stars 14 forks source link

Exception thrown at OpenJUMP start #54

Closed mukoki closed 2 years ago

mukoki commented 2 years ago

While opening OpenJUMP PLUS (OpenJUMP-Portable-20220620-r5116), the following exception is thrown (maybe related to https://github.com/openjump-gis/openjump/issues/53)

(java.util.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi: Provider it.geosolutions.imageio.plugins.arcbinarygrid.ArcBinaryGridImageReaderSpi could not be instantiated at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:581) at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:803) at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1394) at java.desktop/javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:188) at java.desktop/javax.imageio.spi.IIORegistry.(IIORegistry.java:113) at java.desktop/javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:134) at java.desktop/javax.imageio.ImageIO.(ImageIO.java:66) at com.cadplan.fill_patterns.jump.LoadFillPatterns.loadImageIO(LoadFillPatterns.java:192) at com.cadplan.fill_patterns.jump.LoadFillPatterns.loadNames(LoadFillPatterns.java:182) at com.cadplan.fill_patterns.jump.LoadFillPatterns.(LoadFillPatterns.java:72) at com.cadplan.fill_patterns.jump.FillPatternsPlugIn.initialize(FillPatternsPlugIn.java:56) at com.cadplan.fill_patterns.jump.FillPatternsExtension.configure(FillPatternsExtension.java:45) at com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:258) at com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:237) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:461) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:396) Caused by: java.lang.NoClassDefFoundError: org/gdal/gdal/gdal at it.geosolutions.imageio.gdalframework.GDALUtilities.loadGDAL(GDALUtilities.java:674) at it.geosolutions.imageio.gdalframework.GDALImageReaderSpi.(GDALImageReaderSpi.java:56) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:779) ... 15 more )

edeso commented 2 years ago

my bad, "optimized" size by excluding gdal.jar bindings packaging. will add them back.

edeso commented 2 years ago

should be fixed with https://github.com/openjump-gis/openjump/commit/dcbe0b5add54f07660dc087df0c1db3c48abfb24