« Return to Thread: [Bug 663] New: HopObject.getCollection() not respecting "accessname"

[Bug 663] HopObject.getCollection() not respecting "accessname"

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View in Thread

http://dev.helma.org/bugs/show_bug.cgi?id=663





--- Comment #2 from s o <nostalgiker@...>  2009-05-11 13:21:46 ---
probably related:

this throws NPE when trying to load the one story with an accessname, all other
stories before and after that are loaded correctly:
{{{
var coll = Story.getCollection( {"alias": "STO_ALIAS"} );
coll.list(0,10);
}}}


[2009/05/11 12:18:33] [ERROR] [ws2fm4-1] Error in prefetchNodes()
java.lang.NullPointerException
        at helma.objectmodel.db.DbKey.hashCode(DbKey.java:82)
        at helma.objectmodel.db.SyntheticKey.hashCode(SyntheticKey.java:77)
        at java.util.HashMap.put(HashMap.java:418)
        at helma.util.CacheMap.put(CacheMap.java:243)
        at helma.swarm.SwarmCache.put(SwarmCache.java:221)
        at
helma.objectmodel.db.NodeManager.registerNewNode(NodeManager.java:357)
        at
helma.objectmodel.db.NodeManager.prefetchNodes(NodeManager.java:1318)
        at
helma.objectmodel.db.WrappedNodeManager.prefetchNodes(WrappedNodeManager.java:167)
        at helma.objectmodel.db.SubnodeList.prefetch(SubnodeList.java:157)
        at helma.objectmodel.db.Node.prefetchChildren(Node.java:1576)
        at helma.scripting.rhino.HopObject.prefetchChildren(HopObject.java:449)
        at helma.scripting.rhino.HopObject.jsFunction_list(HopObject.java:502)

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

 « Return to Thread: [Bug 663] New: HopObject.getCollection() not respecting "accessname"