Applying p5665750_10131_GENERIC.zip doesnt solve the rules change problem

Hi,
Please suggest a solution to the below problem.
Initial problem : whenever user changed rules in rules repository(WebDAV repository) they are not getting reflected in the BPEL process which contains decision service.
Solution : redeploying the BPEL process or restarting SOA suite will affect BPEL process with the changes in rules repository.
But we need to solve the above problem without redeploying the BPEL process. For this we have been provided a patch (p5665750_10131_GENERIC.zip)
Installation of above patch
%soa_home%opmn\bin>Opmnctl stopall
Then I installed the patch.
And restart the SOA suite
%soa_home%opmn\bin>Opmnctl startall
Now when I am trying to access the application I am getting Promotion Status as null and the following is the stack trace of the error
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36334
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> Error while executing a rule session unit of work.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute a unit of work.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 28 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Rete.assertObject(Rete.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.AssertObject.call(ReflectFunctions.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.FunctionHolder.call(FunctionHolder.java:30)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Funcall.execute(Funcall.java:280)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 31 more
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
at jess.Rete.assertObject(Rete.java:1554)
at jess.AssertObject.call(ReflectFunctions.java:1554)
at jess.FunctionHolder.call(FunctionHolder.java:30)
at jess.Funcall.execute(Funcall.java:280)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
... 31 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36333
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Error while executing the rule session.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:263)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: ORABPEL-36334
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Error while executing a rule session unit of work.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute a unit of work.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 27 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 28 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Rete.assertObject(Rete.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.AssertObject.call(ReflectFunctions.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.FunctionHolder.call(FunctionHolder.java:30)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Funcall.execute(Funcall.java:280)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 31 more
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Error while executing a rule session unit of work.
The rule session DuvalRules06:390024 failed to execute a unit of work.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
ORABPEL-36334
Error while executing a rule session unit of work.
The rule session DuvalRules06:390024 failed to execute a unit of work.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
... 28 more
Caused by: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
at jess.Rete.assertObject(Rete.java:1554)
at jess.AssertObject.call(ReflectFunctions.java:1554)
at jess.FunctionHolder.call(FunctionHolder.java:30)
at jess.Funcall.execute(Funcall.java:280)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
... 31 more
07/04/27 18:39:14 pFaultMessage is [email protected]9 name:operationErroredFault
07/04/27 18:39:14 QName string is operationErroredFault

Hi everybody,
Wondering if we could categorize a little bit so that we can put together some kind of tech-note. So far i have seen the following errors:
1. Something along
at line 3 column 1 in main
Caused by: FactClassException: fact class for 'loanoffer.LoanApplicationType' should be declared earlier in rule session
at line 3 column 1 in main
This one is usually caused by a RL function having above fact class as one
of its parameters. The workaround to avoid this is either use 'loanoffer.LoanApplication' as the parameter type or enable 'assertXPath' for the fact 'loanoffer.LoanApplicationType'.
2. Something like (see above)
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
This usually indicates a classloader issue in the decision service itself and it can
happen if you put the fact class files into some directory which is in the classpath
of BPEL PM (like ?/bpel/system/classes)
I'm following up with "soruganti" on the second issue (the one originally posted)
and we'll post the outcome here.
Juan: Can you confirm that the issue you're seeing is one of above (1.) or (2.) ?
Any stack trace available ?
Nevertheless i'm sure it is somehow unrelated to patch p5665750.
Best Regards,
Ralf

Similar Messages

  • Any way of finding out how Apple will solve the Aperture / ACR problem?

    Has anyone out there gotten any comments from Apple support or other people "in the know" about how Apple is going to solve the Aperture / ACR problem, and any potential time frame?
    Of course, Apple is going to work on problems with its own RAW conversion; that goes without saying. But does anyone have any knowledge of whether Apple is going to open up the ability for Apple to send RAW, unconverted images to Photoshop, so that ACR can handle them?
    I think knowing this now is pretty crucial. I am willing to live with the pain Aperture is going to impose on my workflow, in exchange for the file organization benefits it provides, IF I know that I'll be able to use Aperture with ACR soon (near term). But if Apple is going to just tinker with the RAW converter, and not attempt to send RAW files to ACR, then as someone else posted in another topic, this could be a long wait, and other companies have taken years to hone their RAW converters.
    This is kind of my last-ditch effort to keep Aperture around, and build my workflow around it. If I know that within a month or two at the most, I'll be able to be using ACR directly when editing new versions, then I'll absorb the pain until then. But if I am looking at waiting six months for it (several man years), or riding out the process of Apple trying to get their own converter fixed, then as much as I don't want to, Aperture is going to get returned or hit eBay.
    Does anyone have any idea on this? I've held up my projects for the past week trying to reorganize my workflow to work with Aperture, and I've got to pound the gavel, make a decision, and pursue a direction. Knowing what direction Apple is going to take with this makes all the difference in the world in what I do.
    Thanks in advance for any info you can pass on.
    Brad
    Powerbook G4-1.33GHz-17" / Powermac G4-1.4GHz   Mac OS X (10.4.2)   PB: 1GB RAM, Radeon 9600-64MB / PM: 1.25GB RAM, Radeon 9000Pro-128MB

    This "Open External Editor from Master NEF", versus open from a dynamicaly created version is, I have decided, crucial.
    I am getting less clumsy with the interface, but I simply can not get all white balance, and noise reduction done on my best available light shots.
    ACR in CS2, and a subsequent "Neat Image" scrubbing is excellent for this.
    The automatic association within a stack, of the resulting flattened file would be a big difference. I agree a formal statement from Apple would make me more inclined to really commit to Aperture for all my work.
    Going one step further, it would be nice to keep the layers on the round-trip Master file, even if you would work with a dynamicaly created version of the returned "master" within a stack. It would occupy more disk space, but would do so only for those images where the user has made a quality decision.
    Michael
    Powermac G5 dual 2GHZ, 2.5GB - 2x20in   Mac OS X (10.3.4)  

  • OS 4.1 on iPhone 4 still doesnt fix the proximity sensor problem!  and now?

    Dear Apple
    iPhone 4 ***** !!! 4.1 still doesnt fix the prox.sensor problems and every 2nd call or so is interrupted by this problem, how do fix it an what should I do now and what are you doing to fix it ????

    We are iphone users like you.
    As provided, you are not addressing Apple here.
    The iphone has a one year warranty. If yours is defective then Apple replace.
    Contact Apple to arrange for this.

  • HT1212 How to solve the forgotten passcode problem

    If I never connect my iPhone5 to iTunes, didnt turn on the iCloud, and did not backup my phone before, how can i solve the forgotten passcode problem without erasing the data?

    Read the article that brought you here
    http://support.apple.com/kb/ht1212 
    There is nothing you can do other than that and you will lose your data if you have never backed up

  • Does upgrading from Premiere Elements 12 to 13 solve the Organizer thumbnail problem?

    Thumbnails do not show up after importing clips into Premiere Elements 12 Organizer.  I've tried right clicking on a clip and telling it to recreate the thumbnail but it doesn't work. I've tried refreshing and repairing the catalog.  I've even started a new catalog and reimported the files.  The system says it's creating thumbnails but they still do not show up.  Does upgrading from Premiere Elements 12 to 13 solve the Organizer thumbnail problem?

    listiak
    That is one of those questions best answered by evaluating Elements Organizer13 with your specific files in your specific computer environment.
    Each of the Elements Organizer versions often appears to carry along its own baggage.
    One of the things that came up about Elements Organizer 13 thumbnails recently was a problem with files with MPEG2
    video compression. The Adobe word on this was that this is only an Elements Organizer 13 tryout issue...supposed not to exist
    in the purchased version.
    ATR

  • To include the Rule changes to a transport request

    Hello,
    I have a rule with the category as responsiblities and tried adding the agent to that rule. The agent got added and saved. But not assigned to any transport request. How can i save these changes in a tranport request.
    Thanks,.
    neslin.

    I think it got already savedin some other workbench request, what you can do is try to createa  new workbench request and then goto PFAC txn and enter the rule ID and click on Utilities  -  > request management -
    > and select the newly created request number and Give the PROG as R3TR and OBJID as PDAC..
    But make sure that the task created for you should be of type Development/Corrections...
    In the responsibilities TAB you have a ICON with symbol Bus/Lorry click on it each time you add a new agent to the rule.

  • I solve the Iphone 3Gs problem with the iOS 4

    I solve the problem you just need to go to Settings -> General -> Date & Time then turn (set Automatically) off then go back to Settings -> Wallpaper then change the wallpaper to the first one on the top then turn the iphone off wait 2 mint then turn it one on
    Message was edited by: @Iphoner

    brendan002 do you have Iphone 3Gs did u upgrade to iOS 4 after the upgrade did u face any problems if your answer is No to all that mean it is not your problem if your answer was yes that mean you still dont anderstand the case.

  • Will Reinstallation and Data migration solve the Character Set Problem????

    Hi to all,
    We are having a problem with Arabic Data in the Oracle 9i Database, when we are adding any data using SQL * Plus and a asp.net web based application, the data is converting to ????? (Question Marks), when the database was installed on the Server with Windows 2003 OS, it was not having Arabic Support, after installation of oracle 9i it was realised, later we installed the language packs for Arabic on the Server.
    So this was the reason the arabic support is not there in the database, we changed the NLS_LANG parameter of the Server's Registry entry, but this did'nt make any effect on the database, the only change we observed was that now we were able to type arabic data in the SQL * Plus on the Server machine. But after saving the record when we retrieve the data is coming as ?????? , so we tried to insert the data using a client which is having the Arabic Support and we inserted a row using the SQL * Plus with arabic data in the insert statement, after inserting when we retrieve the data. The data was visible without any problem.
    So What is the problem is the database storing the arabic data correctly or not ???, we think there is problem with the Server's Oracle Configuartion, is there any other way we can get the server working with arabic data or a Reinstall of the Oracle Data will solve the Problem.
    Or we can do something on the server machine so that we dont need the Resinstallation.
    If we have to Reinstall the Server what are the best practices and steps we should follow so that we have a seamless migration between the old and the new oracle database.
    Thanks and Regards

    With NLS_LANG on the client and NLS_CHARACTERSET in the database equal AR8MSWIN1256, you should be able to support Arabic data without problems. If you have problems, it usually means a configuration issue on the client, for example, NLS_LANG not set for the right Oracle Home, or lack of Arabic support in a particular tool.
    You need to add Arabic message files to the database Oracle Home (i.e. Arabic should be selected in the Product Languages dialog box in the Installer) only if you care about the language of error messages returned from the database to clients. If you do not display these ORA-xxxx error messages to end users, it should be OK to leave them in English. Also, if you want Arabic error messages, month names, and weekday names, you should change AMERICAN to ARABIC in NLS_LANG.
    -- Sergiusz

  • Does labVIEW have a function to solve the following math problem?

    In Labview what is the easiest way to solve the following problem?
    |----             ---|  -1       |--     ---|                |--       --|
    |  1   1   0       |            |   a     |                |    x     |
    |  1   0   1       |            |   b     |     =         |    y     |
    |  0   1   1       |            |   c     |                |    z     |
    |__             __|            |_       _|                |_       _|
    from the equations:
         a = x + y
         b = x + z
         c = y + z         where a, b, c are know values.    The problem I actually have is a system of 9 equations.
    Thank you.

    You have a known matrix, a known vector, and a vector you need to solve for given the equation Ax = b.  This is exactly the problem this VI is designed to solve:
    With the values I made up for a, b, and c, the solution is [2, 3, 4].
    Chris M

  • How do i solve the silverlight installation problems

    How do I solve the Sliverlight installation issues on my new Macbook pro?

    What exactly is the installation issue?
    Uninstall Silverlight: https://www.microsoft.com/getsilverlight/get-started/install/removing-silverligh t-mac.aspx
    Reinstall Silverlight: https://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    Sometimes you may need to repair permissions and users permissions on the machine.
    See #6 and #11 here
    ..Step by Step to fix your Mac
    If your having trouble with the installation process, it's sort of the same procedure to install Flash
    How to install/uninstall Flash, fix problems
    Installing software from the web is a bit more difficult than from AppStore.
    Microsoft Silverlight should be approved through Gatekeeper, so having to control or right click on the installer to select "Open" to bypass Gatekeeper shouldn't be required.
    If this is occuring, like it's saying this app can't be installed as it's not from MacAppStore or a Apple Identified Developer, then it's likely not the real Silverlight but a trojan malware.
    Please use the links I've provided to install Silverlight as they are direct to Microsoft.

  • Does upgrade from Snow Lion to Mavericks solve the 'no bluetooth' problem?

    Hi.
    I know I'm behind the times so please don't laugh.  I just upgraded from Leopard to Snow Leopard and yes, my Bluetooth stopped working.  I've read all the forums and tried the various fixes that folk have suggested but still no BT.  What I'm wondering now is should I upgrade to Mavericks - does the upgrade to Mavericks solve the non-funtioning bluetooth issue? 

    tried the various fixes that folk have suggested
    Please detail ALL you have done so far in the way of troubleshooting?   Need this info to avoid the been there done that scenarios.
    does the upgrade to Mavericks solve the non-funtioning bluetooth issue?
    Why not ask in the OS X Mavericks forums?

  • How to solve the image display problem in the iTunes Store

    Hi guys!
    I just want to give a work-around for all of you having the image display problem in the iTunes Store. In my case only the square images in the slider sections won't load:
    I had this in my last W7-installation and got it again in W8 after the first few weeks.
    There are a lot of reports about this problem out there and adhoc solutions like 'clear the cache' or 'reinstall and drink ice tea' that do not work. It is obviously a file request error. It is all about finding out which server addresses get blocked by your computer.
    Solution: Go to your firewall and your Anti-virus-program. There must be a whitelist option. In Kaspersky, check the web-options, the banner-options and the firewall-options, because the all have whitelists. The following addresses have to be whitelisted:
    *.apple
    *.mzstatic.apple.com.akadns.net
    *.mzstatic.com.edgesuite.net
    *.da1.akamai.net
    *.itunes.apple.com
    se.itunes.apple.com
    upp.itunes.apple.com
    ax.init.itunes.apple.com
    xp.apple.com
    *.mzstatic.com
    client-api.itunes.apple.com
    www.apple.com.edgekey.net
    www.isg-apple.com.akadns.net
    Press Ctrl + R in the iTunes Shop then and browse throught the music sections. All images should be displayed correctly now.
    If not, there might be more Apple servers involved in your case. You can find them by running a DNS sniffing tool like the DNS query sniffer by Nirsoft or Wireshark.

    Phone restarting randomly could be loose battery. Tighten by putting a small strip of electrical tape on the back edge.
    THE BITTERNESS OF POOR QUALITY, LINGERS LONG AFTER THE CHEAPNESS OF PRICE, IS SOON FORGOTTEN.

  • I am sick and tired of Firefox crashing from Adobe Flash player. All support statements say to reinstall and that doesnt solve the problem!

    I am sick and tired of your Firefox not supporting Adobe Flash player. Windows explorer no problem it works fine. All of your support statements tell me to reinstall and I've tried that more than once and nothing improves! It is slowing up my computer, and I have a windows folder with 4.8Mb of auto generated crash messages!

    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''

  • Solve the MSN/Jabbber problems once and for all!!

    Hey there.
    I use iChat to talk to my msn friends through jabber. I have three gripes with this, two I think can be Solved. The first being user name, everytime I want to change my user name (Which is not often) I have to go into a third party app to do it, thats a pain in the ***. Second, Buddy icons. Now all I want is my company logo to show up next to my name, I don't want to change it, unless I change my logo, but I have to be logged in on msn to show this, not through jabber.
    So for you developers out there.
    It's obvious that when you use msn it connects to a network and grabs your username and icon. So is it possible to make a widget that is connected to this network and that you can easily type in your username and also drag and drop the logo you want to use onto it. Then it stays connected with your info so your friends can see your buddy icon while you sit there happily using iChat (appart from the no transfers)..
    Hope someone can solve this problem, cause if not i'm going to be spending a lot of time trying to do it myself!
    Thanks

    ok thanks for the tip.
    Does anyone know a good easy to install server for osx then that I can connect mainly to MSN with.
    Hopefully with features like Buddy Icons and file transfers.
    So that I can use iChat with my msn buddy's just like my aim ones.
    Thanks

  • How to solve the tree update problem

    Hi all,
    I met a urgent problem, I defined two tree control over two JScrollPanes.
    two JScrollPanes are in a JSplitPane which is located in another JSplit's left. The left JSplitPane and another JTextarea both are in another JSplitPane.they are layouted as:
    JTree1 | JTextArea
    JTree2 | JTextArea
    I want to achieve this: when I clicked a node in JTree1,then JTree2 is changed in the viewport according to the content of the clicked node.
    I use the following essential code :
    public class TNTree extends JTree {
    private TemplateFrame frame1;
    public TNTree(TemplateFrame frame/*,XTree tree*/)
    this.frame1=frame;
    getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    setShowsRootHandles(true);
    setEditable(false);
    try{
    treeModel=initTree();
    setModel(treeModel);
    jbInit();
    }catch(Exception e){}
    this.addMouseListener(new MouseAdapter(){
    public void mouseClicked(MouseEvent e) {
    TreePath tp=getPathForLocation(e.getX(), e.getY());
    pt.x=e.getX();
    pt.y=e.getY();
    try{
    if((e.getModifiers()&InputEvent.BUTTON1_MASK)==InputEvent.BUTTON1_MASK)
    setSelectionPath(tp);
    if(e.getClickCount()==1){
    if((tp!=null)&&(!isIn((DefaultMutableTreeNode)tp.getLastPathComponent())))
    {    tempStr=((DefaultMutableTreeNode)tp.getLastPathComponent()).toString();
    Connection con=getConnection();
    PreparedStatement pstmt;
    pstmt=con.prepareStatement("select content from template ,tcontent"+
    " where template.tcode=tcontent.tcode and name=?");
    pstmt.setString(1,tempStr);
    ResultSet rset=pstmt.executeQuery();
    String str="";
    if(rset.next()){
    str=rset.getString(1);
    treeStr=str;
    System.out.println(treeStr);
    // frame1.xTree =new XTree(frame1,str);
    // frame1.xTree=new XTree(frame1);
    frame1.xTree.refresh( str );
    frame1.jScroll.getViewport().add(frame1.xTree);
    // frame1.repaint();
    if(e.getClickCount()==2){
    }else
    }catch(Exception e1){e1.printStackTrace();}
    public class XTree extends JTree {
    private TemplateFrame frame;
    public XTree(TemplateFrame frame) throws ParserConfigurationException
    this.frame=frame;
    refreshTextFlag=false;
    strBuffer=new StringBuffer();
         getSelectionModel().setSelectionMode( TreeSelectionModel.SINGLE_TREE_SELECTION );
         setShowsRootHandles( true );
         setEditable( false );
         dbf = DocumentBuilderFactory.newInstance();
         dbf.setValidating( false );
         db = dbf.newDocumentBuilder();
    treeModel = buildWelcomeTree();
    setModel(treeModel );
    TreeTXT = "";
    try{
    jbInit();
    catch(Exception e){
    //e.printStackTrace();
    Error err = new Error();
    eBuffer.append(err.getValue("Err#4"));
    eBuffer.append("\r\n");
    public void refresh( String text ) //throws ParserConfigurationException
    try{
    treeModel=buildTree(text);
    setModel( treeModel );
    TreeTXT = text;
    }catch(Exception e){
    // e.printStackTrace();
    Error err = new Error();
    eBuffer.append(err.getValue("Err#1"));
    eBuffer.append("\r\n");
    public class TemplateFrame extends JFrame
    static XTree xTree=null;
    static TNTree tnTree;
    xTree=new XTree(this);
    tnTree=new TNTree(this);
    jScrollLeft.getViewport().add(tnTree);
    void fileOpen_ActionPerformed(ActionEvent e)
    String fileName = "";
    BufferedReader reader;
    String line;
    StringBuffer xmlText;
    JFileChooser chooser = new JFileChooser();
    Container parent = jMenuItem4.getParent();
    int choice = chooser.showOpenDialog(parent);
    int returnVal = chooser.showOpenDialog(this);
    if(returnVal == JFileChooser.APPROVE_OPTION) {
    textMessage.setText("You chose to open this file: " +
    chooser.getSelectedFile().getAbsolutePath() );
    // chooser.getSelectedFile().getName());
    fileName = chooser.getSelectedFile().getAbsolutePath();
    path=fileName;
    if(fileName.substring(fileName.length()-3,fileName.length()).equalsIgnoreCase("xml"))
    //Will fix future
    try{
    reader = new BufferedReader( new FileReader( fileName ) );
    xmlText = new StringBuffer();
    while ( ( line = reader.readLine() ) != null )
    xmlText.append( line+"\n" );
    reader.close();
    //refresh the xml tree
    xTree.refresh( xmlText.toString() );
    textArea.setText( xmlText.toString() ) ;
    /*Set the title*/
    //fTitle = chooser.getSelectedFile().getName();
    fTitle = chooser.getSelectedFile().getName();
    this.setTitle(fTitle/*+mTitle */ );
    //Sign the editor has a file
    dirty = true;
    }catch(Exception Mye) {
    textMessage.setText("Error occured when opening the file");
    }else{
    textMessage.setText("Error occured when the opening file is not a xml file");
    Now my problem is when in TemplateFrame cl*** I call open method including import xTree.refresh(string),I can get the right results ,the JTree2 is refreshed correctly,but when in TNTree cl*** I call the xTree.refresh(String),I met a java.lang.nullpointer exception , How can I solve this problem?
    Are there other better ways to slove this problem?

    Hm ...
    what should it be otherwise?- You said, the problem is calling frame1.xTree.refresh(str) - and the NullPointerException is thrown there - so there are only 2 possibilities - frame1 is null or xTree is null. So please add the following code before this line ...
    if (frame1==null) { System.out.println("frame1 is null"); }
    else if (frame1.xTree==null) { System.out.println("frame1.xTree is null"); }
    else System.out.println("None of them is null - I haven't read the runtime error correctly");and then you will see, where the problem is :)
    greetings Marsian

Maybe you are looking for