[rules-users] Pojos not visible in Guided DT

Joe White Joe.White at recondotech.com
Wed Mar 19 18:09:17 EDT 2014


Hey Mike,
1.    I am able to reliably reproduce. I created JIRA GUVNOR-2087<https://issues.jboss.org/browse/GUVNOR-2087>. Creating a hidden checkbox type column seems to reproduce. I was doing that through free-form DRL. I added my steps and the stacktrace to the JIRA.
2.
Ping me on IRC if you need more details.
Joe

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Michael Anstis
Sent: Wednesday, March 19, 2014 2:03 PM
To: Rules Users List
Subject: Re: [rules-users] Pojos not visible in Guided DT


Ok, if it was more general I'll give it a poke and see what's the problem.

Sent on the move
On 19 Mar 2014 19:40, "Joe White" <Joe.White at recondotech.com<mailto:Joe.White at recondotech.com>> wrote:
Hey Mike,
I'll try to reproduce again so that I can provide details before opening the Jira. It wasn't specifically related to the free form DRL I don't think. I was able to go into the admin console and revert a couple of changes to get my table back to life.

I had a perm-gen problem and had to reboot so the stack is gone. The only info I have now is the error from the portal:
Unable to complete your request. The following exception occurred: rowData contains a different number of columns to those provided.

If you want a ticket with just that info I can open it but let me know since that isn't much to go on. I'll try again to gather a better trace.

Thanks
Joe
From: rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org> [mailto:rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org>] On Behalf Of Michael Anstis
Sent: Wednesday, March 19, 2014 12:31 PM
To: Rules Users List
Subject: Re: [rules-users] Pojos not visible in Guided DT


@JoeW

I glimpsed at IRC before leaving for the day and saw you had a problem with Free Format DRL in a BRL Condition column.

Could you raise a JIRA and I'll look at tomorrow (just need to finish something else first).

Cheers,

Mike

Sent on the move
On 19 Mar 2014 16:28, "Michael Anstis" <michael.anstis at gmail.com<mailto:michael.anstis at gmail.com>> wrote:
Are the types in the same package as the guided decision table?

You'll need to import them ("Config" tab) if they're not.

On 19 March 2014 16:02, Joe White <Joe.White at recondotech.com<mailto:Joe.White at recondotech.com>> wrote:
I haven't tried 6.1.0 yet. I'll do that.

Generally the process to reproduce is:

-          Load a jar that is missing dependencies

-          Update the jar to remove those dependencies so that it has no external or transitive dependencies (pure pojo)

-          Create decision table

-          No objects available.

If I reproduce on 6.1 I'll open a jira.

From: rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org> [mailto:rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org>] On Behalf Of Michael Anstis
Sent: Tuesday, March 18, 2014 7:36 PM
To: Rules Users List
Subject: Re: [rules-users] Pojos not visible in Guided DT


That is strange.

Can you provide steps to reproduce? Have you tried 6.1.0.Beta1?

Sent on the move
On 18 Mar 2014 22:30, "Joe White" <Joe.White at recondotech.com<mailto:Joe.White at recondotech.com>> wrote:
In the workbench has anybody seen a case where you can create a decision table with the Wizard and it sees your classes. But the non- wizard decision table definition fails? I get this exception when creating a table without using the wizard and none of my objects show up in the dropdown for column definition. If I use the wizard and select my imports everything works as expected.



1.  java.lang.NullPointerException: null
2.          at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.registerInitialErrors(KieBuilderSetImpl.java:50) ~[drools-compiler-6.0.1.Final.jar:6.0.1.Final]
3.          at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.<init>(KieBuilderSetImpl.java:42) ~[drools-compiler-.0.1.Final.jar:6.0.1.Final]
4.          at org.drools.compiler.kie.builder.impl.KieBuilderImpl.createFileSet(KieBuilderImpl.java:703) ~[drools-compiler-6.0.1.Final.jar:6.0.1.Final]
5.  at org.guvnor.common.services.builder.Builder.addResource(Builder.java:245) ~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]    at org.guvnor.common.services.builder.Builder.updateResource(Builder.java:319) ~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
6.          at org.guvnor.common.services.builder.BuildServiceImpl.updatePackageReso
7.  urce(BuildServiceImpl.java:192) ~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
8.         at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.updatePackageResource(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java)
9.  [guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
10.         at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder$4.run(ResourceChangeIncrementalBuilder.java:237)[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
11.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
12.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
13.         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
14. 2014-03-18 13:31:02,953 [pool-9-thread-8] ERROR null
15. org.guvnor.common.services.shared.exceptions.GenericPortableException: null
16.         at org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24) ~[guvnor-services-api-6.0.1.Final.jar:6.0.1.Final]
17.         at org.guvnor.common.services.builder.BuildServiceImpl.updatePackageResource(BuildServiceImpl.java:200) ~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
18.         at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.updatePackageResource(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java)~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
19.         at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder$4.run(ResourceChangeIncrementalBuilder.java:237) ~[guvnor-project-builder-6.0.1.Final.jar:6.0.1.Final]
20.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
21.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
22.         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]


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

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


_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140319/1f4e8c8e/attachment-0001.html 


More information about the rules-users mailing list