Bug 724608 (BRMS-520) - NullPointerException running QA Analisys
Summary: NullPointerException running QA Analisys
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-520
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0.PostGA
Assignee: Tihomir Surdilovic
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-23 16:27 UTC by Alessandro Lazarotti
Modified: 2010-12-26 04:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Fedora 12, JDK 1.6 sun/oracle
Last Closed: 2010-12-26 04:36:59 UTC
Type: Bug


Attachments (Terms of Use)
Sample_x.xls (12.00 KB, application/vnd.ms-excel)
2010-12-23 16:30 UTC, Alessandro Lazarotti
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-520 0 Major Closed NullPointerException running QA Analisys 2014-02-19 02:18:49 UTC

Description Alessandro Lazarotti 2010-12-23 16:27:12 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000005f32z&sfdc.override=1
Steps to Reproduce:  - Create in Guvnor a package called decisionTableissue
 - Insert a new declarative model:
	declare Message
		message: String
		status: Integer
	end
 - Create a new spreadsheet Rule (use that I have attached here)
 - Build package
 - Try run QA Analysis
securitylevel_name: Public

If you have in Guvnor a package with Decision Tables, you can not run QA Analisys.
The log has the following Stack Trace:

org.drools.guvnor.client.rpc.VerificationService.analysePackage(java.lang.String) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java.lang.NullPointerException
	at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
...

Caused by: 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:18)

Comment 1 Alessandro Lazarotti 2010-12-23 16:30:58 UTC
Attachment: Added: Sample_x.xls


Comment 2 Alessandro Lazarotti 2010-12-23 16:32:49 UTC
Link: Added: This issue is related to GUVNOR-1135


Comment 3 Tihomir Surdilovic 2010-12-26 04:36:59 UTC
Done


Note You need to log in before you can comment on or make changes to this bug.