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

anniejoseph chithraannie at gmail.com
Sat Nov 10 07:52:04 EST 2012


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.


More information about the rules-users mailing list