XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.5.6
    • Fix Version/s: None
    • Component/s: groovy-runtime
    • Labels:
      None

      Description

      Getting this error and the code never passes after Groovyclassloader.parseclass

      in below:

         CompilerConfiguration var4 = new CompilerConfiguration();
              ImportCustomizer var5 = new ImportCustomizer();
              var5.addImports(new String[]{GroovyWidget.class.getName(), Level.class.getName()});
              var4.addCompilationCustomizers(new CompilationCustomizer[]{var5});
              GroovyClassLoader var6 = new GroovyClassLoader(this.getClass().getClassLoader(), var4);
             
              try {
                  System.out.println("Prepare 111");
                  Class var7 = var6.parseClass(this.scriptProperty);
                  System.out.println("Prepare 222");
                  Object var8 = var7.newInstance();
      
      BUG! exception in phase 'semantic analysis' in source unit 'script1597598907020297599075.groovy' won't
       at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:969)
       at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:647)
       at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:596)
       at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:390)
       at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:89)
       at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:330)
       at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:327)
       at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
       at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:325)
       at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:309)
       at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:251)
       at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:261)
       at com.edqsolutions.groovy.widget.EDQSGroovy.prepare(EDQSGroovy.java:97)
       at com.datanomic.director.runtime.widgets.adapters.MultiCalculatorAdapter.prepare(MultiCalculatorAdapter.java:137)
       at com.datanomic.director.runtime.engine.RuntimeProcessor.prepare(RuntimeProcessor.java:795)
       at com.datanomic.director.runtime.engine.RuntimeProcess.prepare(RuntimeProcess.java:286)
       at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1016)
       at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:222)
       at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalArgumentException: won't
       at com.datanomic.director.widgets.manager.internal.XLoader.findResource(XLoader.java:565)
       at java.lang.ClassLoader.getResource(ClassLoader.java:1089)
       at java.lang.ClassLoader.getResource(ClassLoader.java:1084)
       at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:248)
       at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:189)
       at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:169)
       at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:125)
       at org.codehaus.groovy.control.ResolveVisitor.resolveToOuter(ResolveVisitor.java:855)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:466)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:631)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:611)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:585)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:464)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromStaticInnerClasses(ResolveVisitor.java:569)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:465)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromStaticInnerClasses(ResolveVisitor.java:569)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:465)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromStaticInnerClasses(ResolveVisitor.java:569)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:465)
       at org.codehaus.groovy.control.ResolveVisitor.resolveFromStaticInnerClasses(ResolveVisitor.java:569)
       at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:465)
       at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1423)
       at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:229)
       at org.codehaus.groovy.control.CompilationUnit$13.call(CompilationUnit.java:705)
       at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:965)
       ... 18 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Reddi Ramu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: