java.lang.NoSuchMethodError: org.geotools.util.Utilities.ensureNonNull(Ljava/lang/String;Ljava/lang/ Object;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Prakash Viswanathan, 10 months ago
org.geotools.util.Utilities.ensureNonNull(Ljava/lang/String;Ljava/lang/ Object;)V
java.lang.NoSuchMethodError: org.geotools.util.Utilities.ensureNonNull(Ljava/lang/String;Ljava/lang/ Object;)V
at org.geotools.coverage.processing.CoverageProcessor.getOperation(CoverageProcessor.java:450)
at org.geotools.renderer.lite.StreamingRenderer.(StreamingRenderer.java:216)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at geoscript.render.Map.class$(Map.groovy)
at geoscript.render.Map.$get$$class$org$geotools$renderer$lite$StreamingRenderer(Map.groovy)
at geoscript.render.Map.(Map.groovy:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$NoParamSite.callConstructor(ConstructorSite.java:120)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at com.company.project.ops.Plotter.createMap(Plotter.groovy:35)
at com.company.project.GeoScriptTest.main(GeoScriptTest.java:32)
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:597)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.