The 2 sessions that you saw were actually 2 different guvnors running on 2 different
application servers...one was running 5.2.0 Final and the other is 5.4.0 Final
But in any case, I closed both and retried again (5.4.0 final) and still the same
problem...
________________________________
From: manstis [via Drools] [mailto:ml-node+s46999n4017922h39@n3.nabble.com]
Sent: Wednesday, June 13, 2012 10:48 AM
To: Nguyen, Tony N
Subject: Re: [rules-users] 5.4.0 Final and issue: GUVNOR-1873
That error, I can only guess at.
Your screenshot shows two sessions to (presumably the same) Guvnor instance (i.e. 2
browser windows).
Is there any possibility you changed the same asset in the two sessions?
With a single session I can create a new POJO model, or uploaded new content to an
existing POJO model, in a package without problem.
BCC'ed a colleague who might have seen it before....
Jervis, any ideas?
On 13 June 2012 18:08, TonyN <[hidden
email]</user/SendEmail.jtp?type=node&node=4017922&i=0>> wrote:
Hi Mike,
I was trying to re-import the old POJO to see how the classes are imported and ran into
this error:
1) Create/upload new POJO
2) Entering in new name
3) Hit OK
4) Get the below error.
Also failed when trying to update existing model....what's going on?
________________________________
From: manstis [via Drools] [mailto:[hidden
email]<http://user/SendEmail.jtp?type=node&node=4017921&i=0>]
Sent: Wednesday, June 13, 2012 8:49 AM
To: Nguyen, Tony N
Subject: Re: [rules-users] 5.4.0 Final and issue: GUVNOR-1873
Hi Tony,
Looks like a different bug to the one I fixed :(
My fix related to when a POJO model is uploaded and the imports automatically generated.
The drop-down you have identified still needs fixing.
The "Advanced view" is the work-around at present (but you should find the
imports are all present and correct after uploading a POJO JAR).
Would you be so kind as to raise another JIRA (and assign to me)?
Thanks,
Mike
On 13 June 2012 16:32, TonyN <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4017917&i=0>> wrote:
Mike,
thanks for taking the time to look into this. This is my observation:
1) Copy Test_R02 from package 'Test_Package' to package 't1'
2) Copy Function 'compare_revs' from package 'Test_Package' to package
't1'
3) Build Package
4) Got a 'Success' result.
5) Notice that the following classes appeared in the 'Configuration: Import Types'
text area widget
a) 'com.boeing.irip.model.TcItem.Dataset'
b) 'com.boeing.irip.model.TcItem.Dataset.NamedReference'
Note: notice the '.' (dot) convention. (Did you import them in this way)?
To show the failure:
1) Remove the above 2 classes from 'Configuration: Import Types' text area
widget.
2) Re-Import them back in as-is (click on the + sign and select the classes)
a) com.boeing.irip.model.TcItem$Dataset
b) com.boeing.irip.model.TcItem$Dataset$NamedReference
Note: Notice the '$' convention.
3) Save work
4) Build package
5) Will get errors
I guess I would have to use (advanced) class name: to 'rename' the classes (or
replace the '$' with '.') in order for a success build????
Thank You,
Tony Nguyen
IPDM Advanced Development
The Boeing Company
<a href="tel:<a href="tel:714-896-1086"
value="+17148961086" target="_blank">714-896-1086"
value="<a href="tel:%2B17148961086" value="+17148961086"
target="_blank">+17148961086" target="_blank"><a
href="tel:714-896-1086" value="+17148961086"
target="_blank">714-896-1086
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017915&i=0>
________________________________
From: manstis [via Drools] [mailto:[hidden
email]<http://user/SendEmail.jtp?type=node&node=4017915&i=1>]
Sent: Wednesday, June 13, 2012 5:04 AM
To: Nguyen, Tony N
Subject: Re: [rules-users] 5.4.0 Final and issue: GUVNOR-1873
Hi Tony,
I tested again and it appears fine for me.
I used the BA5_TCModel JAR included in your repository export, with the following steps:-
1) Create a new package
2) Import POJO Model JAR
3) Re-create rule "Test _Rule01".
4) Validated OK.
5) Package built OK.
I've attached my repository export to the JIRA for your information (package t1).
It was too big to include in this email (email was pending approval before posting to
mailing list due to it's size... and that, I guess, will never happen).
With kind regards,
Mike
On 12 June 2012 23:01, Michael Anstis <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4017907&i=0>> wrote:
Sure will do.
On 12 June 2012 22:50, TonyN <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4017907&i=1>> wrote:
Hi,
Latest release 5.4.0 final was supposed to include a fix for an issue that I
reported earlier (#1873). However, I am still seeing the problem....
https://issues.jboss.org/browse/GUVNOR-1873
Wondering if you can take a look...
thx,
Tony
--
View this message in context:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp401...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017907&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017907&i=3>
https://lists.jboss.org/mailman/listinfo/rules-users
________________________________
If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp401...
To unsubscribe from 5.4.0 Final and issue: GUVNOR-1873, click here.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
________________________________
View this message in context: RE: [rules-users] 5.4.0 Final and issue:
GUVNOR-1873<http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GU...
Sent from the Drools: User forum mailing list
archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.htm... at
Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017917&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017917&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
________________________________
If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp401...
To unsubscribe from 5.4.0 Final and issue: GUVNOR-1873, click here.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
________________________________
View this message in context: RE: [rules-users] 5.4.0 Final and issue:
GUVNOR-1873<http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GU...
Sent from the Drools: User forum mailing list
archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.htm... at
Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4017922&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4017922&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
________________________________
If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp401...
To unsubscribe from 5.4.0 Final and issue: GUVNOR-1873, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...;.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
--
View this message in context:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp401...
Sent from the Drools: User forum mailing list archive at
Nabble.com.