Hi Joe,

The eclipse is working and I inserted “-Ddrools.dialect.mvel.strict = <false>” but the error still popping up.

 

Return type is String.

 

Thank you for your help..

 

From: Joe White-3 [via Drools] [mailto:ml-node+[hidden email]]
Sent: Wednesday, March 26, 2014 4:41 PM
To: Gopu Shrestha
Subject: Re: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error

 

You’re supposed to pick a value for that one. Either true or false. It is a property. You may also need the –D.

 

I’m asking what is the return type on getProviderClaimNumber() and does that type have a getValue method?

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of grules
Sent: Wednesday, March 26, 2014 2:12 PM
To: [hidden email]
Subject: Re: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error

 

Hi Joe,

 

The getProviderClaimNumber return? i.e. System.out.println(".......java (getter/setter)...providerClaimNumber.."+$claim.getClaimIdentificationInfo().getProviderClaimNumber().getValue())

 

Same value “130430007701”

As $claim.claimIdentificationInfo.providerClaimNumber.value Do i.e. 130430007701

 

Now for My Eclipse didn’t open when I added drools.dialect.mvel.strict =<true|false>

 

I just added like this in eclipse.ini

-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

-vmargs

-Dosgi.requiredJavaVersion=1.5

-Dhelp.lucene.tokenizer=standard

-Xms40m

-Xmx512m

 

drools.dialect.mvel.strict = <true|false>

 

 

From: Joe White-3 [via Drools] [mailto:ml-node+[hidden email]]
Sent: Wednesday, March 26, 2014 3:56 PM
To: Gopu Shrestha
Subject: Re: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error

 

I haven’t done it in a long time but I think you have to disable strict mode in your eclipse ini file

 

From the docs:

drools.dialect.mvel.strict = <true|false>

 

I can’t swear that will work though.  What does getProviderClaimNumber return? Does it actually have a getValue() method?

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gopu Shrestha
Sent: Wednesday, March 26, 2014 1:29 PM
To: Rules Users List
Subject: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error

 

It is so annoying to see an error marks in Eclipse Juno with Drools Plug in. However the code is working fine…

How can clean up this error??? Please advise…

 

 

 

Error Message!!!!!

BuildError: Unable to Analyse Expression System.out.println(".......java (getter/setter)...providerClaimNumber.."+$claim.getClaimIdentificationInfo().getProviderClaimNumber().getValue());

                System.out.println("......mvel...providerClaimNumber.."+$claim.claimIdentificationInfo.providerClaimNumber.value);

                System.out.println("...ctype..."+$ct.value);:

[Error: unable to resolve method using strict-mode: java.lang.String.getValue()]

[Near : {... oviderClaimNumber().getValue()); ....}]

                                                                                                                  ^

[Line: 32, Column: 0]

 

 

Console Output:….

.......java (getter/setter)...providerClaimNumber..130430007701

......mvel...providerClaimNumber..130430007701

...ctype...I

 


_______________________________________________
rules-users mailing list
[hidden email]
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/rules-users-BuildError-Unable-to-Analyse-Expression-BUT-WORKING-how-can-I-remove-error-tp4028972p4028973.html

To start a new topic under Drools: User forum, email [hidden email]
To unsubscribe from Drools, click here.
NAML

 


View this message in context: RE: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error
Sent from the Drools: User forum mailing list archive at Nabble.com.


_______________________________________________
rules-users mailing list
[hidden email]
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/rules-users-BuildError-Unable-to-Analyse-Expression-BUT-WORKING-how-can-I-remove-error-tp4028972p4028976.html

To start a new topic under Drools: User forum, email [hidden email]
To unsubscribe from Drools, click here.
NAML



View this message in context: RE: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, how can I remove error
Sent from the Drools: User forum mailing list archive at Nabble.com.