Zoltan Farkas | 4 Mar 17:58

[rules-dev] troubleshooting errors in guvnor


I am attempting to build some rules with guvnor (5.0 latest snapshot),
and I get:

"Sorry, a technical error occurred. Please contact a system
administrator."

I go to the event log and see a:

org.drools.RuntimeException: java.lang.IllegalArgumentException:
argument type mismatch

I have a question:

How can I get the stack trace of the exception, at some point in time
they were available in the app server error log, but I don't see them
there anymore. Stack trace would be of great help to figure out what is
going wrong.

Thanks

Zoltan Farkas

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Michael Neale | 5 Mar 03:53
Picon
Gravatar

Re: [rules-dev] troubleshooting errors in guvnor

Ok, will see if I can add the stack trace back in - did you work out  
what the specific problem was ?

Sent from my phone.

On 05/03/2009, at 3:58, "Zoltan Farkas" <zoly <at> daxtechnologies.com>  
wrote:

>
> I am attempting to build some rules with guvnor (5.0 latest snapshot),
> and I get:
>
> "Sorry, a technical error occurred. Please contact a system
> administrator."
>
> I go to the event log and see a:
>
> org.drools.RuntimeException: java.lang.IllegalArgumentException:
> argument type mismatch
>
> I have a question:
>
> How can I get the stack trace of the exception, at some point in time
> they were available in the app server error log, but I don't see them
> there anymore. Stack trace would be of great help to figure out what  
> is
> going wrong.
>
> Thanks
>
(Continue reading)

Michael Neale | 5 Mar 04:24
Picon
Gravatar

Re: [rules-dev] troubleshooting errors in guvnor

OK I added in some stack trace printing.

Note that it really *should* only be bugs that cause that sort of
error - if there is something that shouldn't cause it to happen then
please do raise a JIRA with details, so we can tighten the error
trapping and reporting (so we know if it is a real bug or someting we
need to report more clearly that can be rectified by the user -
without a stack trace being necessary of course !).

Thanks,

Michael.

On Thu, Mar 5, 2009 at 1:53 PM, Michael Neale <michael.neale <at> gmail.com> wrote:
> Ok, will see if I can add the stack trace back in - did you work out what
> the specific problem was ?
>
> Sent from my phone.
>
> On 05/03/2009, at 3:58, "Zoltan Farkas" <zoly <at> daxtechnologies.com> wrote:
>
>>
>> I am attempting to build some rules with guvnor (5.0 latest snapshot),
>> and I get:
>>
>> "Sorry, a technical error occurred. Please contact a system
>> administrator."
>>
>> I go to the event log and see a:
>>
(Continue reading)

Zoltan Farkas | 6 Mar 01:27

RE: [rules-dev] troubleshooting errors in guvnor

Created:

https://jira.jboss.org/jira/browse/JBRULES-1992

Here is the exception:

2009-03-05 19:56:07,891 [http-0.0.0.0-8080-2] ERROR STDERR -
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract org.drools.guvnor.client.rpc.BuilderResult[]
org.drools.guvnor
.client.rpc.RepositoryService.buildPackage(java.lang.String,java.lang.St
ring,boolean) throws
com.google.gwt.user.client.rpc.SerializableException' threw an
unexpected exception: org.drools.RuntimeDroolsExcep
tion: java.lang.IllegalArgumentException: argument type mismatch
2009-03-05 19:56:07,895 [http-0.0.0.0-8080-2] ERROR STDERR -    at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360
)
2009-03-05 19:56:07,895 [http-0.0.0.0-8080-2] ERROR STDERR -    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
2009-03-05 19:56:07,895 [http-0.0.0.0-8080-2] ERROR STDERR -    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteSe
rviceServlet.java:164)
2009-03-05 19:56:07,896 [http-0.0.0.0-8080-2] ERROR STDERR -    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteService
Servlet.java:86)
2009-03-05 19:56:07,896 [http-0.0.0.0-8080-2] ERROR STDERR -    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2009-03-05 19:56:07,896 [http-0.0.0.0-8080-2] ERROR STDERR -    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
(Continue reading)

Michael Neale | 6 Mar 02:50
Picon
Gravatar

Re: [rules-dev] troubleshooting errors in guvnor

OK - so that looks like a bug in the declared facts - so that is a
bug, a real bug - so thanks for that JIRA.

As a meta- issue, how can we best report that if, God forbid, an error
happens in that core library (like this) from the guvnor side - is
that stack trace ok? (I think it is to log a bug report) - or is there
some other way we can report it? (if so, a seperate JIRA would be nice
in the GUVNOR project).

On Fri, Mar 6, 2009 at 11:27 AM, Zoltan Farkas <zoly <at> daxtechnologies.com> wrote:
> Created:
>
> https://jira.jboss.org/jira/browse/JBRULES-1992
>
>
>
> Here is the exception:
>
> 2009-03-05 19:56:07,891 [http-0.0.0.0-8080-2] ERROR STDERR -
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract org.drools.guvnor.client.rpc.BuilderResult[]
> org.drools.guvnor
> .client.rpc.RepositoryService.buildPackage(java.lang.String,java.lang.St
> ring,boolean) throws
> com.google.gwt.user.client.rpc.SerializableException' threw an
> unexpected exception: org.drools.RuntimeDroolsExcep
> tion: java.lang.IllegalArgumentException: argument type mismatch
> 2009-03-05 19:56:07,895 [http-0.0.0.0-8080-2] ERROR STDERR -    at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360
> )
(Continue reading)

Abu Rasheed | 6 Mar 04:15
Favicon

[rules-dev] When to use rules?

I'm planning to use drools in one of my projects. I'm just wondering what are the examples of use case scenario that drools is suitable for. Any success stories on using drools in real projects?

Thanks


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Abu Rasheed | 6 Mar 04:15
Favicon

[rules-dev] When to use rules?

I'm planning to use drools in one of my projects. I'm just wondering what are the examples of use case scenario that drools is suitable for. Any success stories on using drools in real projects?

Thanks


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mark Proctor | 6 Mar 04:20

Re: [rules-dev] When to use rules?

Abu Rasheed wrote:
I'm planning to use drools in one of my projects. I'm just wondering what are the examples of use case scenario that drools is suitable for. Any success stories on using drools in real projects?
http://blog.athico.com/2008/09/creating-dsl-for-ws-humantask-and-when.html

Thanks


_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mohiuddin Shaik | 6 Mar 13:19
Picon

[rules-dev] Decision Table( How to use PRIORITY in the Decision table, i am unable to find in the documentation provided please help)

Hi,
      I am using Decision table to represent the business rules, i want to give priority to set of rules (here rows) to be executed first before other rules i found the keyword to achieve that but i am unable to find how to means where should i add this keyword in the Excel file.
Please provide the details, i am stuck in the middle please help.

Mohiuddin
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mark Proctor | 6 Mar 14:38

Re: [rules-dev] Decision Table( How to use PRIORITY in the Decision table, i am unable to find in the documentation provided please help)

Mohiuddin Shaik wrote:
Hi,
      I am using Decision table to represent the business rules, i want to give priority to set of rules (here rows) to be executed first before other rules i found the keyword to achieve that but i am unable to find how to means where should i add this keyword in the Excel file.
Please provide the details, i am stuck in the middle please help.
The is the DEV mailing list, when you opened a JIRA, https://jira.jboss.org/jira/browse/JBRULES-1986,  as a help request I specifically asked you to use the USER mailing list, likewise the mailing list page makes this  clear too. Please ask this question on the USER mailing list. As a little hint it is customery to actually read the details and netiquette for mailing list before joining:

http://www.jboss.org/drools/lists.html
"The user mailing list is for general user querries about drools and how to use and it problems with using it. The dev mailing list is for more hard core discussions about about developing drools itself and general rules/ai theory that might apply to future drools features. "

Mark

Mohiuddin
_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Gmane