Kris,
I am still getting some IllegalArgumentException and here are the things I
did. Attached also please find the log file and screenshots.
1.) I uploaded the following 'Process evaluation.rf' file into Guvnor's
default package and built the package.
2.) When I login into drools-flow console, I would see the definition for
'Process evalation', but when I click on that I would get the following
exception. Also, I would not see anything in 'Process Instances' tab.
-------------------------
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Can n
ot set static javassist.util.proxy.MethodFilter field
org.drools.process.audit.N
odeInstanceLog_$$_javassist_2._method_filter to
org.hibernate.proxy.pojo.javassi
st.JavassistLazyInitializer$1
at
javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:356)
at
javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339)
at
javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)
at
javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyF
actory(JavassistLazyInitializer.java:138)
... 52 more
Caused by: java.lang.IllegalArgumentException: Can not set static
javassist.util
.proxy.MethodFilter field
org.drools.process.audit.NodeInstanceLog_$$_javassist_
2._method_filter to
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$
1
at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(
UnsafeFieldAccessorImpl.java:146)
Kris Verlaenen wrote:
>
> Sure. If you still have issues with it, could you describe in detail
> what you are doing, seeing, and whether you see anything on the server
> console.
>
> Thx,
> Kris
>
> <?xml version="1.0" encoding="UTF-8"?>
> <process
xmlns="http://drools.org/drools-5.0/process"
>
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
>
xs:schemaLocation="http://drools.org/drools-5.0/process
> drools-processes-5.0.xsd"
> type="RuleFlow" name="Performance evaluation"
> id="com.sample.evaluation" package-name="com.sample" >
>
> <header>
> <variables>
> <variable name="employee" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </variable>
> <variable name="projectManager" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </variable>
> <variable name="hrManager" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </variable>
> </variables>
> </header>
>
> <nodes>
> <humanTask id="4" name="Self Evaluation" x="96"
y="56" width="143"
> height="48" >
> <work name="Human Task" >
> <parameter name="ActorId" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>#{employee}</value>
> </parameter>
> <parameter name="Comment" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>As part of your performance evaluation, you have to do
> a self-assessment.</value>
> </parameter>
> <parameter name="Content" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </parameter>
> <parameter name="Priority" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>1</value>
> </parameter>
> <parameter name="Skippable" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>false</value>
> </parameter>
> <parameter name="TaskName" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>Performance Evaluation</value>
> </parameter>
> </work>
> </humanTask>
> <humanTask id="8" name="Project Manager Evaluation"
x="352" y="16"
> width="225" height="48" >
> <work name="Human Task" >
> <parameter name="ActorId" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>#{projectManager}</value>
> </parameter>
> <parameter name="Comment" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>A performance evaluation has been requested for
> employee #{employee}</value>
> </parameter>
> <parameter name="Content" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </parameter>
> <parameter name="Priority" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>1</value>
> </parameter>
> <parameter name="Skippable" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>false</value>
> </parameter>
> <parameter name="TaskName" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>Performance Evaluation</value>
> </parameter>
> </work>
> <onEntry>
> <action type="expression" dialect="mvel"
>>kcontext.setVariable("projectManager",
"john");</action>
> </onEntry>
> </humanTask>
> <split id="6" name="Split" x="271"
y="56" width="49" height="49"
> type="1" />
> <start id="1" name="Start" x="16"
y="56" width="48" height="48" />
> <end id="3" name="End" x="687" y="57"
width="48" height="48" />
> <join id="7" name="Join" x="603"
y="56" width="49" height="49"
> type="1" />
> <humanTask id="5" name="HR Manager Evaluation"
x="352" y="96"
> width="225" height="48" >
> <work name="Human Task" >
> <parameter name="ActorId" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>#{hrManager}</value>
> </parameter>
> <parameter name="Comment" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>A performance evaluation has been requested for
> employee #{employee}</value>
> </parameter>
> <parameter name="Content" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> </parameter>
> <parameter name="Priority" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>1</value>
> </parameter>
> <parameter name="Skippable" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>false</value>
> </parameter>
> <parameter name="TaskName" >
> <type
> name="org.drools.process.core.datatype.impl.type.StringDataType" />
> <value>Performance Evaluation</value>
> </parameter>
> </work>
> <onEntry>
> <action type="expression" dialect="mvel"
>>kcontext.setVariable("hrManager", "mary");</action>
> </onEntry>
> </humanTask>
> </nodes>
>
> <connections>
> <connection from="1" to="4" />
> <connection from="6" to="8"
bendpoints="[295,39]" />
> <connection from="4" to="6" />
> <connection from="7" to="3" />
> <connection from="5" to="7"
bendpoints="[629,119]" />
> <connection from="8" to="7"
bendpoints="[626,41]" />
> <connection from="6" to="5"
bendpoints="[295,120]" />
> </connections>
>
> </process>
>
> Quoting satjo <jo_satish(a)yahoo.com>:
>
>>
>> Yes! It could be a deployment process that I need to understand.
>>
>> Kris,
>> Could it be possible to get the example shown in the documentation?
>> Is it available in SVN trunk so that I can download and use?
>>
>>
>> Mauricio Salatino wrote:
>> >
>> > Kris, I see that behavior in his machine and it seems that for
>> some
>> > reason,
>> > the page that contains the start button, don't get the ID from the
>> > selected
>> > process in the process definition page.
>> > Because a window appear and the error message is that the
>> gwt-console was
>> > not able to get the process with the id "asdasd.asd"
>> > It probably can be a deployment process.
>> >
>> >
>> > On Wed, Oct 28, 2009 at 5:18 AM, Kris Verlaenen <
>> > kris.verlaenen(a)cs.kuleuven.be> wrote:
>> >
>> >> Satjo,
>> >>
>> >> What do you mean by "could not be started"?
>> >>
>> >> Note that, if you have no form associated with the process, it
>> should
>> >> simply start the process. Also note that, if your process does
>> not
>> >> contain any wait states at all (like human tasks), it will be
>> started
>> >> but will already be completed when the method returns so the
>> process
>> >> instance will not be shown in the process instances view (though
>> should
>> >> show up in the history / reporting).
>> >>
>> >> Kris
>> >>
>> >>
>> >> Quoting satjo <jo_satish(a)yahoo.com>:
>> >>
>> >> >
>> >> > Can the Droolsflow web console can be used to select and start
>> a
>> >> > process that
>> >> > does not have any human task?
>> >> >
>> >> > When I uploaded a non-human related process, the definition was
>> >> > shown.
>> >> > It, however, could not be stared.
>> >> > --
>> >> > View this message in context:
>> >> >
>> >>
>> >>
>>
>
http://www.nabble.com/Droolsflow-web-console-5.1.M1---Non-human-task-tp26...
>> >> > Sent from the drools - user mailing list archive at
Nabble.com.
>> >> >
>> >> > _______________________________________________
>> >> > rules-users mailing list
>> >> > rules-users(a)lists.jboss.org
>> >> >
https://lists.jboss.org/mailman/listinfo/rules-users
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >> Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm
>> >> _______________________________________________
>> >> rules-users mailing list
>> >> rules-users(a)lists.jboss.org
>> >>
https://lists.jboss.org/mailman/listinfo/rules-users
>> >>
>> >
>> >
>> >
>> > --
>> > -
http://salaboy.wordpress.com
>> > -
http://www.jbug.com.ar
>> > - Salatino "Salaboy" Mauricio -
>> >
>> > _______________________________________________
>> > rules-users mailing list
>> > rules-users(a)lists.jboss.org
>> >
https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>> >
>>
>> --
>> View this message in context:
>>
>
http://www.nabble.com/Droolsflow-web-console-5.1.M1---Non-human-task-tp26...
>> Sent from the drools - user mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
>
> Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>