#1878 Nullpointer exception when I try to retrieve my post

mase Wed 18 Apr 2012

Dear all,

When I try to retrieve my post after I logged in for the first time I get the following error:

ERROR: /sidewalk/user/566?view=sidewalk::UserPostsView
sys::NullErr: java.lang.NullPointerException
  sidewalk::SidewalkDb.userPosts (SidewalkDb.fan:118)
  fan.sys.List.each (List.java:522)
  sidewalk::SidewalkDb.userPosts (SidewalkDb.fan:113)
  sidewalk::UserPostsView.onGet (UserPostsView.fan:36)
  sidewalk::SidewalkChrome.onGet (SidewalkChrome.fan:85)
  web::Weblet.service (Weblet.fan:60)
  webapp::Widget.service (Widget.fan:64)
  webapp::ServiceViewStep.service (ServiceViewStep.fan:27)
  web::WebService.service (WebService.fan:57)
  fan.sys.List.each (List.java:522)
  web::WebService.service (WebService.fan:55)
  wisp::WispActor.process (WispActor.fan:77)
  wisp::WispActor.receive (WispActor.fan:47)
  fan.sys.Actor._dispatch (Actor.java:224)
  fan.sys.Actor._work (Actor.java:195)
  fanx.util.ThreadPool$Worker.run (ThreadPool.java:252)

My number of Post was 0 so probably a check whether list is missing and/or list empty is missing.

brian Wed 18 Apr 2012

Thanks for reporting - its a boundary condition bug we know about. This whole site is very soon to be replaced with an rewritten framework.

mase Wed 18 Apr 2012

Completely rewritten in Fandoc I presume ;)

Login or Signup to reply.