[ http://jira.codehaus.org/browse/DROOLS-462?page=all ]
Michael Neale reopened DROOLS-462:
----------------------------------
Assign To: Michael Neale (was: bob mcwhirter)
This is a slippery one. May need to come up with some stress tests, but it
isn't going to be easy. Will re-evaluate with 2.5 and 3 codebases.
> NullPointerException in PrimitiveLongMap
> ----------------------------------------
>
> Key: DROOLS-462
> URL: http://jira.codehaus.org/browse/DROOLS-462
> Project: drools
> Type: Bug
> Components: reteoo
> Versions: 2.0-rc-1, 2.0-rc-2, 2.0-final, 2.1
> Environment: Linux playnow02 2.4.21-27.0.2.ELhugemem #1 SMP Wed Jan 12
> 23:24:48 EST 2005 i686 i686 i386 GNU/Linux
> java version "1.5.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
> Java HotSpot(TM) Server VM (build 1.5.0_02-b09, mixed mode)
> Reporter: Philip Smith
> Assignee: Michael Neale
>
>
> NullPointerException
> 11/30/05 23:22:27:262: [Thread-17]: java.lang.NullPointerException
> at
> org.drools.util.PrimitiveLongMap.findPage(PrimitiveLongMap.java:301)
> at org.drools.util.PrimitiveLongMap.remove(PrimitiveLongMap.java:158)
> at
> org.drools.reteoo.WorkingMemoryImpl.removeObject(WorkingMemoryImpl.java:483)
> at
> org.drools.reteoo.WorkingMemoryImpl.modifyObject(WorkingMemoryImpl.java:519)
> at
> org.drools.spi.DefaultKnowledgeHelper.modifyObject(DefaultKnowledgeHelper.java:77)
> at Consequence_3.invoke(Consequence_3.java:8)
> at
> org.drools.semantics.java.JavaBlockConsequence.invoke(JavaBlockConsequence.java:130)
> at org.drools.reteoo.AgendaItem.fire(AgendaItem.java:170)
> at org.drools.reteoo.Agenda.fireNextItem(Agenda.java:387)
> at
> org.drools.reteoo.WorkingMemoryImpl.fireAllRules(WorkingMemoryImpl.java:255)
> at
> org.drools.reteoo.WorkingMemoryImpl.fireAllRules(WorkingMemoryImpl.java:270)
> at
> com.pogo.serv.playnow.drools.SynchronizedWorkingMemory.fireAllRules(SynchronizedWorkingMemory.java:58)
> at
> com.pogo.serv.playnow.drools.DroolsWorkingMemory$4.run(DroolsWorkingMemory.java:176)
> at
> com.pogo.serv.playnow.drools.DroolsWorkingMemory$Task.run(DroolsWorkingMemory.java:270)
> at
> EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source)
> at java.lang.Thread.run(Thread.java:595)
> The drools version used is 2.0-rc-1 but the code is stil the same in 2.1.
> After this NPE there were other NPEs thrown and the system and working memory
> instance became unusable. This is not readily reproducable and occurred after
> the working memory instance had been in continual use for 36 hours. The
> working memory had recently contained about 8500 facts. This system has been
> running continuously since 10/25 and a similar incident may have occurred
> once before. Lately this function has experienced moderately increased load.
> There have been other NPE bugs filed against the PrimitiveLongMap and I
> wonder if this is another case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira