java.lang.RuntimeException: java.lang.ClassCastException: > com.x.engine.domain.ShiftDate cannot be cast to > com.x.engine.domain.dto.ProfileDayType at > org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:90) at > org.drools.core.phreak.PhreakAccumulateNode.addMatch(PhreakAccumulateNode.java:759) at > org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:163) at > org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:80) at > org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:569) at > org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:540) at > org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:336) at > org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:163) at > org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:118) at > org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:194) at > org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:62) at > org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:974) at > org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1283) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1325) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1308) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1287) at > com.x.engine.drools.hardconstraints.MaxHoursPerDayTester.testMaxHoursTwoShiftsViolatedStartDateType(MaxHoursPerDayTester.java:244)

Google Groups | Eugene Shvartsman | 1 year ago
  1. 0

    Accumulate Function ClassCastException

    Google Groups | 1 year ago | Eugene Shvartsman
    java.lang.RuntimeException: java.lang.ClassCastException: > com.x.engine.domain.ShiftDate cannot be cast to > com.x.engine.domain.dto.ProfileDayType at > org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:90) at > org.drools.core.phreak.PhreakAccumulateNode.addMatch(PhreakAccumulateNode.java:759) at > org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:163) at > org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:80) at > org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:569) at > org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:540) at > org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:336) at > org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:163) at > org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:118) at > org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:194) at > org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:62) at > org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:974) at > org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1283) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1325) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1308) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1287) at > com.x.engine.drools.hardconstraints.MaxHoursPerDayTester.testMaxHoursTwoShiftsViolatedStartDateType(MaxHoursPerDayTester.java:244)
  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 | 5 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 | 3 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

    axis-dev-ws.apache.org - JAX WS Client Error - msg#00224 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.RuntimeException: No element reference in message getAllVehiclesRequest at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)

    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.ClassCastException: > com.x.engine.domain.ShiftDate cannot be cast to > com.x.engine.domain.dto.ProfileDayType at > org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:90) at > org.drools.core.phreak.PhreakAccumulateNode.addMatch(PhreakAccumulateNode.java:759) at > org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:163) at > org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:80) at > org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:569) at > org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:540) at > org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:336) at > org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:163) at > org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:118) at > org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:194) at > org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:62) at > org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:974) at > org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1283) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1325) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1308) at > org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1287) at > com.x.engine.drools.hardconstraints.MaxHoursPerDayTester.testMaxHoursTwoShiftsViolatedStartDateType(MaxHoursPerDayTester.java:244)

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame