Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-212

java.lang.NullPointerException if the rule imports the wrong class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.5.1.Final, 6.0.0.CR2
    • 6.0.0.CR1
    • None
    • None

      Method org.drools.compiler.rule.builder.dialect.mvel.addStaticPackageImport checks if the imported class can be loaded from the class loader (line 442) but line 444 calls cls.getDeclaredMethods() even if cls is null.

              mfusco@redhat.com Mario Fusco
              aledibe Alessandro Di Bella (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: