NullPointerException

6 views
Skip to first unread message

kevin.o...@gmail.com

unread,
May 24, 2011, 6:40:11 PM5/24/11
to rpischedule...@googlegroups.com
Here's a full java console output of running the application:
Java Web Start 1.6.0_24
Using JRE version 1.6.0_24-b07-334-10M3326 Java HotSpot(TM) 64-Bit Server VM
May 24, 2011 6:35:14 PM edu.rpi.scheduler.schedb.load.XmlCourseLoader readSections
WARNING: DB format exception while loading course 'SENIOR THESIS'
java.lang.NullPointerException
    at edu.rpi.scheduler.schedb.spec.DailyTimePeriod.<init>(DailyTimePeriod.java:83)
    at edu.rpi.scheduler.schedb.load.XmlPeriodLoader.loadPeriod(XmlPeriodLoader.java:72)
    at edu.rpi.scheduler.schedb.load.XmlSectionLoader.readPeriod(XmlSectionLoader.java:151)
    at edu.rpi.scheduler.schedb.load.XmlSectionLoader.readPeriods(XmlSectionLoader.java:135)
    at edu.rpi.scheduler.schedb.load.XmlSectionLoader.loadSection(XmlSectionLoader.java:83)
    at edu.rpi.scheduler.schedb.load.XmlCourseLoader.parseSection(XmlCourseLoader.java:179)
    at edu.rpi.scheduler.schedb.load.XmlCourseLoader.readSections(XmlCourseLoader.java:118)
    at edu.rpi.scheduler.schedb.load.XmlCourseLoader.loadCourse(XmlCourseLoader.java:93)
    at edu.rpi.scheduler.schedb.load.XmlDeptLoader.loadCourse(XmlDeptLoader.java:112)
    at edu.rpi.scheduler.schedb.load.XmlDeptLoader.readCourses(XmlDeptLoader.java:100)
    at edu.rpi.scheduler.schedb.load.XmlDeptLoader.loadDepartment(XmlDeptLoader.java:73)
    at edu.rpi.scheduler.schedb.load.XmlDatabaseLoader.parseDept(XmlDatabaseLoader.java:215)
    at edu.rpi.scheduler.schedb.load.XmlDatabaseLoader.parseDepts(XmlDatabaseLoader.java:205)
    at edu.rpi.scheduler.schedb.load.XmlDatabaseLoader.parseDocument(XmlDatabaseLoader.java:154)
    at edu.rpi.scheduler.schedb.load.XmlDatabaseLoader.loadData(XmlDatabaseLoader.java:111)
    at edu.rpi.scheduler.schedb.load.XmlDatabaseLoader.loadDb(XmlDatabaseLoader.java:94)
    at edu.rpi.scheduler.ui.SchedulerInitializer.loadDatabaseReally(SchedulerInitializer.java:349)
    at edu.rpi.scheduler.ui.SchedulerInitializer.access$400(SchedulerInitializer.java:63)
    at edu.rpi.scheduler.ui.SchedulerInitializer$6.run(SchedulerInitializer.java:280)
    at edu.rpi.scheduler.ui.BackgroundWorker.run(BackgroundWorker.java:71)
Exception in thread "BackgroundWorker" java.lang.NullPointerException
    at edu.rpi.scheduler.ui.panels.courses.indexer.TinyIndexer.registerObject(TinyIndexer.java:53)
    at edu.rpi.scheduler.ui.panels.courses.PossibleCoursesListModel.<init>(PossibleCoursesListModel.java:89)
    at edu.rpi.scheduler.ui.panels.courses.PossibleCoursesListModel.<init>(PossibleCoursesListModel.java:76)
    at edu.rpi.scheduler.ui.panels.courses.CourseSelectionPanel.initPossibleCoursesList(CourseSelectionPanel.java:287)
    at edu.rpi.scheduler.ui.panels.courses.CourseSelectionPanel.init(CourseSelectionPanel.java:177)
    at edu.rpi.scheduler.ui.SchedulerWindow.init(SchedulerWindow.java:141)
    at edu.rpi.scheduler.ui.SchedulerInitializer.loadMainUI(SchedulerInitializer.java:327)
    at edu.rpi.scheduler.ui.Scheduler$1.loadedInitialThings(Scheduler.java:85)
    at edu.rpi.scheduler.ui.SchedulerInitializer$6.run(SchedulerInitializer.java:290)
    at edu.rpi.scheduler.ui.BackgroundWorker.run(BackgroundWorker.java:71)
May 24, 2011 6:35:15 PM edu.rpi.scheduler.ui.panels.DefaultSubpanel handleEnteringError
SEVERE: Error entering edu.rpi.scheduler.ui.panels.courses.CourseSelectionPanel
java.lang.NullPointerException
    at edu.rpi.scheduler.ui.panels.courses.CourseSelectionPanel.entering(CourseSelectionPanel.java:765)
    at edu.rpi.scheduler.ui.SchedulerPanel.showPanel(SchedulerPanel.java:133)
    at edu.rpi.scheduler.ui.SchedulerPanel$2.run(SchedulerPanel.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
This does not appear to be isolate to me, other users in the RPI 2015 Facebook group reported the same error. For reference, My system is an Mid 2010 i7 Macbook Pro running 10.6.7, java version given at start or console log. Also experienced error on a Windows 7 x64 machine.

Let me know if you need more information.

Kevin
Reply all
Reply to author
Forward
0 new messages