Skip to main content



      Home
Home » Eclipse Projects » Nebula » null pointer in calculateScope
null pointer in calculateScope [message #1058125] Sun, 12 May 2013 02:21 Go to next message
Eclipse UserFriend
I am getting this error

java.lang.NullPointerException
at org.eclipse.nebula.widgets.ganttchart.GanttEvent.calculateScope(GanttEvent.java:1642)

and I can't figure out why. I know there has to be something wrong in the way I am creating the gantt but I can't provide you the whole code as it is actually created while navigating a tree.

However I also think there has to be a missing null check in the calculateScope method. I hope this may help you

Re: null pointer in calculateScope [message #1058126 is a reply to message #1058125] Sun, 12 May 2013 02:52 Go to previous messageGo to next message
Eclipse UserFriend
it seems to be related to the line

event.getActualStartDate().before(earliest)

may getActualStartDate return a null value? just guessing...
Re: null pointer in calculateScope [message #1058246 is a reply to message #1058126] Mon, 13 May 2013 06:39 Go to previous messageGo to next message
Eclipse UserFriend
I have posted a new bug attaching a plugin reproducing the issue

https://bugs.eclipse.org/bugs/show_bug.cgi?id=407809

Re: null pointer in calculateScope [message #1058802 is a reply to message #1058246] Wed, 15 May 2013 03:36 Go to previous message
Eclipse UserFriend
the issue is on Windows as well then, in the bug, I changed the applicable platforms to 'All'
Previous Topic:Children relationship lines in GridTreeViewer
Next Topic:Xviewer - activities
Goto Forum:
  


Current Time: Mon Jun 16 06:56:17 EDT 2025

Powered by FUDForum. Page generated in 0.09886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top