Menu

#78 Disloc3 isn't working with Scattered observation points

open
nobody
None
5
2010-02-08
2010-02-08
Jun Ji
No

Disloc3 isn't working with Scattered observation points. Just showing an error and stopped before running a real disloc process.

I found that ObsvPoint[] points=getObsvPointsFromDB() in runBlockingDislocJSF() is always getting null so few methods of DislocExtendedService() -- the Webservice 'dislocExtendedService' -- trying to refer to the obsvPoints are making an error because of the null value.

Fortunately, those are just to print its contents so I temporarily blocked them and it avoids the error now. But, I'm not sure if the ObsvPoints is supposed to be always null because I also found there is a method named toggleAddPointObsvForProject() to add obsvpoints.

But it's not being used in the current process flow of Disloc3 and I guess it's the reason of getObsvPointsFromDB() alwayas returning null.

Discussion

  • Marlon Pierce

    Marlon Pierce - 2010-02-15

    This is working for me. The problem is probably that you are not setting the observation points before you submit disloc jobs. So the real bug is to correctly catch this situation (user has provided no observation points) and correctly warn him/her.

     
  • Jun Ji

    Jun Ji - 2010-02-15

    You're right. I missed the menu to choose observation points.
    Yes I'll figure out how to warn user when they make a same mistake.

     
MongoDB Logo MongoDB