[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2230) DecisionTable added to KnowledgeAgent via change-set throws a NullPointerException

Andreas Liebrich (JIRA) jira-events at lists.jboss.org
Fri Sep 3 03:51:53 EDT 2010


    [ https://jira.jboss.org/browse/JBRULES-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12548829#action_12548829 ] 

Andreas Liebrich commented on JBRULES-2230:
-------------------------------------------

This issue is still present, even in latest build.
Could someone please handle this bug or at least do something to this ticket? The problem and it's obvious solution is here for almost a year now and nobody cares about it? Is the commununity dead?

Thanks for looking into this one,
Andi


> DecisionTable added to KnowledgeAgent via change-set throws a NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: JBRULES-2230
>                 URL: https://jira.jboss.org/browse/JBRULES-2230
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler, drools-core
>    Affects Versions: 5.0.1.FINAL
>         Environment: Windows XP
> Java 1.5
>            Reporter: Steve Ronderos
>            Assignee: Mark Proctor
>         Attachments: bug.zip
>
>
> When adding a change-set which contains a decision table to a KnowledgeAgent I receive the following error:
> Exception in thread "main" java.lang.NullPointerException
> 	at org.drools.decisiontable.DecisionTableProviderImpl.compileStream(DecisionTableProviderImpl.java:26)
> 	at org.drools.decisiontable.DecisionTableProviderImpl.loadFromInputStream(DecisionTableProviderImpl.java:19)
> 	at org.drools.compiler.DecisionTableFactory.loadFromInputStream(DecisionTableFactory.java:16)
> 	at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:508)
> 	at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)
> 	at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:386)
> 	at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:120)
> 	at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:109)
> 	at org.drools.bug.AgentDecisionTableBug.main(AgentDecisionTableBug.java:12)
> I tested with 5.0.1 and 5.1.0.SNAPSHOT.  I looked into the code a little and it appears that KnowledgeAgentImpl.rebuildResources does not parse the DecisionTable's configuration and pass it to the overloaded KnowledgeBuilderImpl.add method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list