[rules-users] Drools Server Problem java.lang.String cannot be cast to [B

Lucas Amador lucazamador at gmail.com
Fri May 7 09:57:05 EDT 2010


Hi,
this happens when the xml command has incorrect format, and the  
marshaller isn't able to create the object Commands.
Can you tell me wich marshaller are you using, xstream or jaxb? Also,  
i could help you if  you send me the xml command and the model  
definition

Thanks

El 07/05/2010, a las 05:36, Seltir escribió:

>
> Hello All.
>
> I have a problem using Drools Server with example domain.
>
> During sending Rest Request to Drools Server I have an exception:
>
> 15:45:56,578 ERROR [STDERR] 2010-05-05 15:45:56
> org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> INFO: Application
> {http://service.server.drools.org/}knowledgeService#{http://service.server.drools.org/ 
> }execute
> has thrown exception, unwinding now:  
> org.drools.CheckedDroolsException:
> java.lang.String cannot be cast to [B
>
> Could anybody tell me what could couse this ? Somebody had this  
> problem?
>
> Im running Drools Server on Jboss 5.0.0 with test drools server  
> domain added
> to the libs.
> -- 
> View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-Problem-java-lang-String-cannot-be-cast-to-B-tp783225p783225.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users





More information about the rules-users mailing list