RE: JESS: [EXTERNAL] Corrupted Negcnt Error
"Dwight Hare" <[email protected]> Thu, 30 May 2013 10:00:07 -0700
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <B96DD689550AE14286D5886F15063C5002AA2867976D@MAILSERVER-2.office.paritycomputing.com> |
--_000_B96DD689550AE14286D5886F15063C5002AA2867976DMAILSERVER2_ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable By "indexed field" do you mean slot values? I don't use any Java objects ot= her than simple primitives (Integer, Float, Boolean, String). I've looked a= t all my calls to the Value constructor. Dwight From: [email protected] [mailto:[email protected]] On B= ehalf Of Friedman-Hill, Ernest Sent: Thursday, May 30, 2013 7:36 AM To: jess-users Subject: RE: JESS: [EXTERNAL] Corrupted Negcnt Error It's an internal consistency check. Usually it means that a non-value class= (a class whose identity, defined by hashCode()/equals(), changes during a = run) is being used in an indexed field. Look at this section of the manual = and see if you can use it to fix the problem: http://www.jessrules.com/jess/docs/71/functions.html#set-value-class In the past, very rarely, this message indicated a bug in Jess. I don't thi= nk this will be the case here - I think any bugs that trigger this assert w= ere found and fixed long ago. From: [email protected]<mailto:[email protected]> [mail= to:[email protected]] On Behalf Of Dwight Hare Sent: Wednesday, May 29, 2013 5:05 PM To: jess-users Subject: JESS: [EXTERNAL] Corrupted Negcnt Error During a run I started getting the error Jess reported an error in routine NodeNot2.tokenMatchesRight while executing rule LHS (Node2) while executing rule LHS (TECT). Message: Corrupted Negcnt (< 0) . Any idea what this means? Dwight --_000_B96DD689550AE14286D5886F15063C5002AA2867976DMAILSERVER2_ Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'c= olor:#1F497D'>By “indexed field” do you mean slot values? I don= ’t use any Java objects other than simple primitives (Integer, Float,= Boolean, String). I’ve looked at all my calls to the Value construct= or.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'= ><o:p> </o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F4= 97D'>Dwight<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:= #1F497D'><o:p> </o:p></span></p><div><div style=3D'border:none;border-= top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b>= <span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</s= pan></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>= [email protected] [mailto:[email protected]] <b>On Beh= alf Of </b>Friedman-Hill, Ernest<br><b>Sent:</b> Thursday, May 30, 2013 7:3= 6 AM<br><b>To:</b> jess-users<br><b>Subject:</b> RE: JESS: [EXTERNAL] Corru= pted Negcnt Error<o:p></o:p></span></p></div></div><p class=3DMsoNormal><o:= p> </o:p></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>ItR= 17;s an internal consistency check. Usually it means that a non-value class= (a class whose identity, defined by hashCode()/equals(), changes during a = run) is being used in an indexed field. Look at this section of the manual = and see if you can use it to fix the problem:<o:p></o:p></span></p><p class= =3DMsoNormal><span style=3D'color:#1F497D'><o:p> </o:p></span></p><p c= lass=3DMsoNormal><a href=3D"http://www.jessrules.com/jess/docs/71/functions= .html#set-value-class">http://www.jessrules.com/jess/docs/71/functions.html= #set-value-class</a><o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></= p><p class=3DMsoNormal>In the past, very rarely, this message indicated a b= ug in Jess. I don’t think this will be the case here – I think = any bugs that trigger this assert were found and fixed long ago.<span style= =3D'color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal><span style= =3D'color:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal><span s= tyle=3D'color:#1F497D'><o:p> </o:p></span></p><div><div style=3D'borde= r:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class= =3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-= serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'> <a href=3D"mailto:[email protected]">owner-jess-= [email protected]</a> [<a href=3D"mailto:[email protected]">mailto= :[email protected]</a>] <b>On Behalf Of </b>Dwight Hare<br><b>Sen= t:</b> Wednesday, May 29, 2013 5:05 PM<br><b>To:</b> jess-users<br><b>Subje= ct:</b> JESS: [EXTERNAL] Corrupted Negcnt Error<o:p></o:p></span></p></div>= </div><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>During= a run I started getting the error<o:p></o:p></p><p class=3DMsoNormal><o:p>= </o:p></p><p class=3DMsoNormal>Jess reported an error in routine Node= Not2.tokenMatchesRight<o:p></o:p></p><p class=3DMsoNormal>  = ; while executing rule LHS (Node2)<o:p></o:p></p><p= class=3DMsoNormal> while executi= ng rule LHS (TECT).<o:p></o:p></p><p class=3DMsoNormal> Message: Corr= upted Negcnt (< 0) .<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p= ></p><p class=3DMsoNormal>Any idea what this means?<o:p></o:p></p><p class= =3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Dwight<o:p></o:p></p= ><p class=3DMsoNormal><o:p> </o:p></p></div></body></html>= --_000_B96DD689550AE14286D5886F15063C5002AA2867976DMAILSERVER2_--