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

Google Groups | Prakash Viswanathan | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Invoking Geoscript Class from another Java project or Command Line

    Google Groups | 5 years ago | Prakash Viswanathan
    java.lang.NoSuchMethodError: org.geotools.util.Utilities.ensureNonNull(Ljava/lang/String;Ljava/lang/ Object;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at org.geotools.coverage.processing.CoverageProcessor.getOperation()
    2. org.geotools.coverage
      CoverageProcessor.getOperation
      1. org.geotools.coverage.processing.CoverageProcessor.getOperation(CoverageProcessor.java:450)
      1 frame
    3. org.geotools.renderer
      StreamingRenderer.<clinit>
      1. org.geotools.renderer.lite.StreamingRenderer.<clinit>(StreamingRenderer.java:216)
      1 frame
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:169)
      2 frames
    5. geoscript.render
      Map.<init>
      1. geoscript.render.Map.class$(Map.groovy)
      2. geoscript.render.Map.$get$$class$org$geotools$renderer$lite$StreamingRenderer(Map.groovy)
      3. geoscript.render.Map.<init>(Map.groovy:94)
      3 frames
    6. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    7. Groovy
      AbstractCallSite.callConstructor
      1. org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
      2. org.codehaus.groovy.runtime.callsite.ConstructorSite$NoParamSite.callConstructor(ConstructorSite.java:120)
      3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
      4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
      5 frames
    8. com.company.project
      GeoScriptTest.main
      1. com.company.project.ops.Plotter.createMap(Plotter.groovy:35)
      2. com.company.project.GeoScriptTest.main(GeoScriptTest.java:32)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame