[
https://issues.jboss.org/browse/DROOLS-1198?page=com.atlassian.jira.plugi...
]
Matteo Mortari edited comment on DROOLS-1198 at 7/12/16 10:16 AM:
------------------------------------------------------------------
Thank you for your feedback; I've changed the line import into {{import
mssp.io.model.*;}} and as by chance got hold on a Mac and I can confirm the problem indeed
trigger on OSX, while it does not happen say on Linux, as per screenshots below.
!screenshot-linux.png|thumbnail! !screenshot-Mac.png|thumbnail!
I'm trying to synthesize a new reproducer accordingly to this platform difference.
was (Author: tari_manga):
Thank you for your feedback; I've changed the line import into {{import
mssp.io.model.*;}} and as by chance got hold on a Mac and I can confirm the problem indeed
trigger on OSX, while it does not happen say on Linux, as per screenshots below.
!screenshot-linux.png|thumbnail!
I'm trying to synthesize a new reproducer accordingly to this platform difference.
NoClassDefFoundError when using str[endsWith] on a field that matches
an imported class name
--------------------------------------------------------------------------------------------
Key: DROOLS-1198
URL:
https://issues.jboss.org/browse/DROOLS-1198
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.4.0.Final
Reporter: Chris Austin
Assignee: Mario Fusco
Priority: Minor
Attachments: DROOLS-1198-unabletoreproduce.zip, screenshot-linux.png,
screenshot-Mac.png
This error was triggered when accessing the user field with str[endsWith] when user is
null:
java.lang.NoClassDefFoundError: mssp/io/model/user (wrong name: mssp/io/model/User)
Condition that triggers the error:
$a : Alert(user!=null, user str[endsWith] "$")
This does not trigger the error:
$a : Alert(user!=null, user matches ".+\\$")
If I remove the import for the User class the error will not be triggered. As a
workaround I've switched to using matches instead of str[endsWith], but I'd prefer
to switch back.
I did not experience this issue in 6.3.0-Final, so it appears to be a regression in
6.4.0-Final
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)