java.lang.RuntimeException: java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code

YouTrack | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    throw throw causes compiler exception

    YouTrack | 2 years ago
    java.lang.RuntimeException: java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code
  2. 0

    Error Building Grails Application

    Stack Overflow | 3 years ago | user1365732
    java.lang.RuntimeException: Method code too large! at groovyjarjarasm.asm.MethodWriter.a(Unknown Source) at groovyjarjarasm.asm.ClassWriter.toByteArray(Unknown Source) at<br> org.codehaus.groovy.control.CompilationUnit$14.call(CompilationUnit.java:788) at<br> org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1027) at<br> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:564) at<br> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:542) at<br> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:519) at<br> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:498) at org.codehaus.groovy.control.CompilationUnit$compile.call(Unknown<br> Source) at<br> org.codehaus.groovy.grails.web.pages.GroovyPageCompiler$_compileGSP_closure1.doCall(GroovyPageCompiler.groovy:144) at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source) at<br> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at<br> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at<br> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082) at<br> groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906) at<br> groovy.lang.Closure.call(Closure.java:412) at<br> groovy.lang.Closure.call(Closure.java:425) at<br> org.codehaus.groovy.runtime.IOGroovyMethods.withStream(IOGroovyMethods.java:1160) at<br> org.codehaus.groovy.runtime.ResourceGroovyMethods.withInputStream(ResourceGroovyMethods.java:1523) at org.codehaus.groovy.runtime.dgm$841.invoke(Unknown Source) at<br> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at<br> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at<br> org.codehaus.groovy.grails.web.pages.GroovyPageCompiler.compileGSP(GroovyPageCompiler.groovy:121) at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) at<br> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at<br> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272) at<br> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153) at<br> org.codehaus.groovy.grails.web.pages.GroovyPageCompiler.compile(GroovyPageCompiler.groovy:61) at<br> org.codehaus.groovy.grails.web.pages.GroovyPageCompiler$compile.call(Unknown Source) at<br> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at<br> org.codehaus.groovy.grails.web.pages.GroovyPageCompilerTask.execute(GroovyPageCompilerTask.groovy:117) at<br> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)<br> at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) at<br> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at<br> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at groovy.util.AntBuilder.performTask(AntBuilder.java:260) at<br> groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:220) at<br> groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147) at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:170) at<br> groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64) at<br> org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99) at<br> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at<br> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at<br> org.codehaus.groovy.grails.compiler.GrailsProjectCompiler.compileGroovyPages(GrailsProjectCompiler.groovy:384) at<br> org.codehaus.groovy.grails.compiler.GrailsProjectCompiler$compileGroovyPages.call(Unknown Source) at<br> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at<br> _GrailsCompile_groovy$_run_closure5.doCall(_GrailsCompile_groovy:92) at<br> org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81) at<br> org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95) at<br> org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)<br> at<br> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at<br> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at _GrailsWar_groovy$_run_closure2.doCall(_GrailsWar_groovy:41) at<br> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:597) at<br> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at<br> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082) at<br> groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906) at<br> groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at<br> org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)<br> at<br> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at<br> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at<br> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at<br> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at<br> org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
  3. 0

    Problems building Eclipse RCP application

    Stack Overflow | 6 years ago
    java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer. startDefaultApp(EclipseAppContainer.java:242) at org.eclipse.equinox.internal.app.MainApplicationLauncher. run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher. runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher. start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter. run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter. run(EclipseStarter.java:179)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()

    Stack Overflow | 4 years ago | xybrek
    java.lang.RuntimeException: critical error in IOC container bootstrap at org.jboss.errai.ioc.client.Container.bootstrapContainer(Container.java:69) at org.jboss.errai.ioc.client.Container.onModuleLoad(Container.java:34)
  6. 0

    JMockIt: Inner class testing

    Stack Overflow | 3 years ago | amchang87
    java.lang.RuntimeException: java.lang.NoSuchMethodException: me.magneto.groups.models.User$Endpoint.getEndpoint()

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code

      at org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute()
    2. org.jetbrains.kotlin
      CLICompiler.execFullPathsInMessages
      1. org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute(K2JSCompiler.java:171)
      2. org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute(K2JSCompiler.java:69)
      3. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:148)
      4. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:128)
      5. org.jetbrains.kotlin.cli.common.CLICompiler.execFullPathsInMessages(CLICompiler.java:64)
      5 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame