Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3418

5.3.x Regression: Declared Super-Types: Compile-time error

    Details

      Description

      See test PackageBuilderTests.testDeclaredSuperTypeFields(). 5.3.x Branch only

      org.drools.RuntimeDroolsException: Unable to resolve Type Declaration superclass 'foo.Bean1'
      at org.drools.compiler.PackageBuilder.mergeInheritedFields(PackageBuilder.java:1565)
      at org.drools.compiler.PackageBuilder.mergeInheritedFields(PackageBuilder.java:1485)
      at org.drools.compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:1761)
      at org.drools.compiler.PackageBuilder.mergePackage(PackageBuilder.java:1123)
      at org.drools.compiler.PackageBuilder.newPackage(PackageBuilder.java:1109)
      at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:802)
      at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:404)
      at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:379)
      at org.drools.compiler.PackageBuilderTest.testDeclaredSuperTypeFields(PackageBuilderTest.java:1334)
      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)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manstis Michael Anstis
                Reporter:
                manstis Michael Anstis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: