I built a rule package in Guvnor and downloaded the binary. When I use: builder.add(ResourceFactory.newInputStreamResource(inStream), ResourceType.PKG);
I get a NullPointerException. But, if I use Guvnor's "view source", copy the source to a file, and use: builder.add(ResourceFactory.newInputStreamResource(inStream), ResourceType.DRL); the package is added without an exception and behaves as anticipated. It appears that the exception generated by the binary package is occurring in PackageBuilder.addKnowledgeResource (line 495). Am I using a valid technique for loading binary packages? I don't have drools source code to trace into the details with Eclipse. What's the standard procedure for getting drools source code? Any other suggestions for determining the cause of my problem? Any and all help is appreciated. -- View this message in context: http://www.nabble.com/Bug-in-binary-package-generation--tp23263551p23263551.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
