Though I haven't been able to tell for sure, this NPE seems due to a velocity variable that is not properly defined (about the space of a resource). It is likely, thus, to be fixed by the macro-param-by-ref issue.
paul

Paul Libbrecht
added a comment - 05/Mar/12 23:52 Though I haven't been able to tell for sure, this NPE seems due to a velocity variable that is not properly defined (about the space of a resource). It is likely, thus, to be fixed by the macro-param-by-ref issue.
paul

Paul Libbrecht
added a comment - 13/Mar/12 21:28 Right now on current, I tried transferring the history-of-pizza (to my desktop) and it stopped showing the issue.
Also, the other URL
http://current.dev.curriki.org/xwiki/bin/view/Coll_singhparamjit90/MandBudhiPunjabi
works flawlessly.
I note that in none of these cases is there a parent (I also checked on prod). So it was the collection parent display into the breadcrumbs.
paul

Paul Libbrecht
added a comment - 04/Apr/12 16:53 I'm starting to detect the reason for this issue: the resources that appear candidates as parent are protected resources thus are not displayed.
http://current.dev.curriki.org/xwiki/bin/view/Coll_Nobiah/THEHISTORYOFPIZZA can be viewed worry-free as administrator.
But not as normal user (same error).
When you view as admin you see that the parents are the collection 3s and Language Arts Reviewed Resources . The latter is restricted (and requires me to login).
The null-check just committed should fix it.
But maybe we're underperforming.
paul

Joshua Marks
added a comment - 04/Apr/12 18:45 This seems a likely cause. The question is, why does this error not occur in the current released version? We need to narrow this down further and identify what changed.

Paul Libbrecht
added a comment - 25/Apr/12 20:16 Joshua,
I won't find out "what was changed that broke it" if I cannot differentiate the collection 3s and the root collection which, apparently should not be displayed.
paul

Todd Sherman
added a comment - 23/Jun/12 02:01 The problem with the fix is now I cannot see the collection especially on the left TOC. So now, even as an Admin, I cannot tell that there is more to the collection.
Works fine on Production.

Todd Sherman
added a comment - 23/Jun/12 02:02 compare
http://current.dev.curriki.org/xwiki/bin/view/Coll_Nobiah/THEHISTORYOFPIZZA
to
http://www.curriki.org/xwiki/bin/view/Coll_Nobiah/THEHISTORYOFPIZZA
To see what I mean. Log-In as an Admin.

Paul Libbrecht
added a comment - 02/Jul/12 23:10 Todd,
I think your difference was an editorial one. Janet probably added it to a collection later.
At least on prod, with the new code, it shows with Janet's collection.
paul