tkobayas opened a new issue, #5879:
URL: https://github.com/apache/incubator-kie-drools/issues/5879

   ## Parent issue
   - #5678 
   
   ## Failing rule
   - org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl
   
   ## Notes
   
   ## Rule code snippet
   ```
   rule TYPEREF_NOT_FEEL_NOT_DEF_p1
   when
     $o: Expression( !(this instanceof UnaryTests), typeRef != null, 
typeRef.prefix == null || getNamespaceURI( typeRef.prefix ) != getURIFEEL(), 
$typeRef : typeRef )
     (and (not ItemDefinition( name == $typeRef.getLocalPart() ) )
          (not (and Import($importName : name, $importedNS : namespace )
                    $importDef : Definitions( namespace == $importedNS ) from 
entry-point "DMNImports"
                    ItemDefinition( $typeRef.getLocalPart() == $importName + 
"." + name ) from $importDef.itemDefinition
               )
          )
     )
   ```
   
   ## Error output
   ```
   [ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.5.0:java (validation-bootstrap) on 
project kie-dmn-validation: An exception occured while executing the Java 
class. null: InvocationTargetException: Unable to create KieModule, Errors 
Existed: [Message [id=1, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=83, 
column=0
   [ERROR]    text=no viable alternative at input 'getNamespaceURI'], Message 
[id=2, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=83, 
column=0
   [ERROR]    text=mismatched input '!=' expecting {'not', 'in', 'matches', 
'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 
'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 
'overlaps', 'overlappedby', 'starts', 'startedby', '#', '!.', 'instanceof', 
'(', ')', '[', ',', '.', '>', '<', '~', '==', '<=', '>=', '!=', '&&', '||', 
'++', '--', '+', '-', '*', '/', '&', '|', '^', '%', IDENTIFIER}], Message 
[id=3, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=97, 
column=0
   [ERROR]    text=no viable alternative at input 'getNamespaceURI'], Message 
[id=4, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=97, 
column=0
   [ERROR]    text=mismatched input '!=' expecting {'not', 'in', 'matches', 
'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 
'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 
'overlaps', 'overlappedby', 'starts', 'startedby', '#', '!.', 'instanceof', 
'(', ')', '[', ',', '.', '>', '<', '~', '==', '<=', '>=', '!=', '&&', '||', 
'++', '--', '+', '-', '*', '/', '&', '|', '^', '%', IDENTIFIER}], Message 
[id=5, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=111, 
column=0
   [ERROR]    text=no viable alternative at input 'getNamespaceURI'], Message 
[id=6, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=111, 
column=0
   [ERROR]    text=mismatched input '!=' expecting {'not', 'in', 'matches', 
'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 
'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 
'overlaps', 'overlappedby', 'starts', 'startedby', '#', '!.', 'instanceof', 
'(', ')', '[', ',', '.', '>', '<', '~', '==', '<=', '>=', '!=', '&&', '||', 
'++', '--', '+', '-', '*', '/', '&', '|', '^', '%', IDENTIFIER}], Message 
[id=7, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=125, 
column=0
   [ERROR]    text=no viable alternative at input 'getNamespaceURI'], Message 
[id=8, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=125, 
column=0
   [ERROR]    text=mismatched input '!=' expecting {'not', 'in', 'matches', 
'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 
'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 
'overlaps', 'overlappedby', 'starts', 'startedby', '#', '!.', 'instanceof', 
'(', ')', '[', ',', '.', '>', '<', '~', '==', '<=', '>=', '!=', '&&', '||', 
'++', '--', '+', '-', '*', '/', '&', '|', '^', '%', IDENTIFIER}], Message 
[id=9, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=0, 
column=0
   [ERROR]    text=], Message [id=10, kieBase=defaultKieBase, level=ERROR, 
path=org/kie/dmn/validation/DMNv1_1/dmn-validation-rules-typeref.drl, line=0, 
column=0
   [ERROR]    text=Parser returned a null Package]]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to