> Our application is using this url: 
> http://localhost:8080/guvnor/org.drools.guvnor.Guvnor/package/org.dfms.model/LATEST
>  
> to loading from Guvnor5.3.0 the pkg. Is it correct? 


Yes, to get the compiled package, compiled inside Guvnor , but this is the 
problem here. 

The compiled package is a serialized kPackage object . When you get this from 
guvnor, and put it inside your kBase, the object is simply deserialized. The 
ObjectTypeConf conf .getTypeDeclaration() will look in the kBase, and for 
guvnor compiled package this method returns null (don't know why). I think you 
may have a difference between your Guvnor version and the drools runtime 
version. 


You can either use the source got from guvnor ( 
http://localhost:8080/guvnor/rest/packages/org.dfms.model/source ) to build 
your kBase, and this should work fine. 




_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to