<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2>done</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff size=2><A
href="http://jira.jboss.com/jira/browse/JBRULES-1272">http://jira.jboss.com/jira/browse/JBRULES-1272</A></FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2>V.</FONT> </SPAN></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><SPAN
class=039402313-12102007> </SPAN>open a JIRA for it.<BR>Markus Helbig
wrote: </DIV>
<BLOCKQUOTE cite=mid:50f4d7ac0710120244p7e2714d3l46f4c7cee9760f6d@mail.gmail.com
type="cite"><PRE wrap="">i only know i have this problem to when using 4.0.2 -> conclusion:
don't use it ... stay with 4.0.1
2007/10/12, vdelbart <A class=moz-txt-link-rfc2396E href="mailto:delbart.v@mipih.fr"><delbart.v@mipih.fr></A>:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Nobody knows what's going wrong ?
All my DSLs are wrong and in the same time my rules too... It's very
problematic...
V.
vdelbart wrote:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Hi,
I have a problem with my DSL and the 4.0.2 version :
this sentence doesn't work in 4.0.2 (work in 4.0.1) in Eclipse Editor :
[condition][]there is at least {number} {object}=ArrayList( size >=
{number}) from collect( {object}() )
log :
!ENTRY org.eclipse.ui 4 0 2007-10-11 14:29:29.052
!MESSAGE String index out of range: -1
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at
org.drools.lang.dsl.DefaultDSLMappingEntry.setMappingKey(DefaultDSLMappingEntry.java:139)
at org.drools.eclipse.dsl.editor.MappingEditor.okPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:508)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.drools.eclipse.dsl.editor.DSLEditor$8.widgetSelected(Unknown
Source)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
If I put two blanks between {number} {object}, it's working.
[condition][]there is at least {number} {object}=ArrayList( size >=
{number}) from collect( {object}() )
But it's not a solution.
thanks for your help,
V.
</PRE></BLOCKQUOTE><PRE wrap="">--
View this message in context: <A class=moz-txt-link-freetext href="http://www.nabble.com/Problem-with-DSL-and-4.0.2-tf4606960.html#a13170213">http://www.nabble.com/Problem-with-DSL-and-4.0.2-tf4606960.html#a13170213</A>
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A>
</PRE></BLOCKQUOTE><PRE wrap=""><!---->_______________________________________________
rules-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A>
</PRE></BLOCKQUOTE><BR></BODY></HTML>