[rules-users] Pojos not visible in Guided DT

Michael Anstis michael.anstis at gmail.com
Wed Mar 19 14:31:18 EDT 2014


@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> 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> 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] *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> 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.jav
>> a: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
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> 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/94841ae7/attachment-0001.html 


More information about the rules-users mailing list