[
https://issues.jboss.org/browse/DROOLS-1502?page=com.atlassian.jira.plugi...
]
Matteo Mortari updated DROOLS-1502:
-----------------------------------
Comment: was deleted
(was: First problem is {{DMNCompilerImpl.resolveTypeRef()}} which was not considering
local namespace for the QName as resolved by the unmarshalling
{code:java}
16:28:24.122 [main] ERROR o.k.d.core.compiler.DMNCompilerImpl.compile:78 - Error compiling
model from source.
java.lang.NullPointerException: null
at org.kie.dmn.core.compiler.DMNCompilerImpl.resolveTypeRef(DMNCompilerImpl.java:398)
[classes/:na]
at org.kie.dmn.core.compiler.DMNCompilerImpl.buildTypeDef(DMNCompilerImpl.java:290)
[classes/:na]
at
org.kie.dmn.core.compiler.DMNCompilerImpl.processItemDefinitions(DMNCompilerImpl.java:100)
[classes/:na]
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:90)
[classes/:na]
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:75)
[classes/:na]
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:64)
[classes/:na]
at
org.kie.dmn.core.assembler.DMNAssemblerService.addResource(DMNAssemblerService.java:55)
[classes/:na]
{code}
)
Incorrect "local" namespace resolution
--------------------------------------
Key: DROOLS-1502
URL:
https://issues.jboss.org/browse/DROOLS-1502
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
The following example DMN model similar to an already existing in the code base is
modified for "local" xmlns namespace definition:
[ EDIT : there was a wrong DMN model example ]
and it's throwing two distinct types of NPEs.. (follows)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)