« Return to Thread: [Bug 668] New: grouped collection w/ accessname throws up in certain case

[Bug 668] grouped collection w/ accessname throws up in certain case

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=668





--- Comment #1 from s o <nostalgiker@...>  2009-06-02 15:58:59 ---
stacktrace when i call add()


Error in application dgr

Wrapped java.lang.RuntimeException: Error retrieving Node
(/home/oberhams/experiments/demo-generic-reference/Root/actions.js#27)
Script Stack

    at /home/oberhams/experiments/demo-generic-reference/Root/actions.js:27

Java Stack

org.mozilla.javascript.WrappedException: Wrapped java.lang.RuntimeException:
Error retrieving Node
(/home/oberhams/experiments/demo-generic-reference/Root/actions.js#27)
    at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
    at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:476)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at
org.mozilla.javascript.gen.c264._c2(/home/oberhams/experiments/demo-generic-reference/Root/actions.js:27)
    at
org.mozilla.javascript.gen.c264.call(/home/oberhams/experiments/demo-generic-reference/Root/actions.js)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at
org.mozilla.javascript.gen.c264.call(/home/oberhams/experiments/demo-generic-reference/Root/actions.js)
    at org.mozilla.javascript.Context$1.run(Context.java:504)
    at org.mozilla.javascript.Context.call(Context.java:515)
    at org.mozilla.javascript.Context.call(Context.java:502)
    at helma.scripting.rhino.RhinoEngine.invoke(RhinoEngine.java:300)
    at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:414)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Error retrieving Node
    at
helma.objectmodel.db.WrappedNodeManager.getNode(WrappedNodeManager.java:96)
    at helma.objectmodel.db.Node.getChildElement(Node.java:1054)
    at helma.objectmodel.db.Node.addNode(Node.java:910)
    at helma.objectmodel.db.Node.addNode(Node.java:813)
    at helma.objectmodel.db.Node.addNode(Node.java:872)
    at helma.objectmodel.db.Node.addNode(Node.java:813)
    at helma.scripting.rhino.HopObject.jsFunction_add(HopObject.java:535)
    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.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    ... 13 more
Caused by: java.lang.NullPointerException
    at helma.objectmodel.db.Relation$Constraint.addToQuery(Relation.java:1460)
    at helma.objectmodel.db.Relation.renderConstraints(Relation.java:1088)
    at helma.objectmodel.db.Relation.buildQuery(Relation.java:951)
    at
helma.objectmodel.db.NodeManager.getNodeByRelation(NodeManager.java:1440)
    at helma.objectmodel.db.NodeManager.getNode(NodeManager.java:278)
    at
helma.objectmodel.db.WrappedNodeManager.getNode(WrappedNodeManager.java:87)
    ... 24 more

--
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 668] New: grouped collection w/ accessname throws up in certain case