[rules-users] Problem in Parsing Change-set.xml

Wolfgang Laun wolfgang.laun at gmail.com
Sat Nov 10 08:52:19 EST 2012


Spaces in pathnames shouldn't be a problem. (Does it work if you rename the
folder, omitting the space?)

Did you truncate the stack trace?

-W

On 10 November 2012 13:52, anniejoseph <chithraannie at gmail.com> wrote:

> Hi
>     I'm using change-set.xml, which pionts to a drl file. While running
> change-set.xml I got an exception due to in *space *on the folder name in
> the url .
>
> My path for change-set.xml is : ' F:/Rule Testing/rules/change-set.xml ' .
>
> Exception that I got is :
>
> java.lang.RuntimeException: Unable to parse ChangeSet
>         at
> org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentI
> mpl.java:448)
>         at
> org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgen
> tImpl.java:180)
>         at com.xxx.xxx.xxxxx.xxx.xxxx.<init>(xxxx.java:75)
>         at com.xxx.xxx.xxxxx.xxx.xxxx.<clinit>(xxxx.java:55)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.RuntimeException: Unable to get File for url
> file:/F:/Rule Testing/rules/change-set.xml
>         at org.drools.io.impl.UrlResource.getFile(UrlResource.java:246)
>         at org.drools.io.impl.UrlResource.grabLastMod(UrlResource.java:275)
>         at
> org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:134)
>         at org.drools.io.impl.UrlResource.getReader(UrlResource.java:214)
>         at
> org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentI
> mpl.java:446)
>
> Is there any way to parse change-set.xml ,if it's folder name have space?
>
> Can any one help me to solve my problem?
>
> Thanks & Regards
> Annie
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Problem-in-Parsing-Change-set-xml-tp4020785.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121110/17b2d449/attachment-0001.html 


More information about the rules-users mailing list