java.lang.NullPointerException

robocode | peeet | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at net.sf.robocode.repository.root.ClassPathRoot.visitDirectory()
  2. net.sf.robocode
    WizardController$EventHandler.actionPerformed
    1. net.sf.robocode.repository.root.ClassPathRoot.visitDirectory(ClassPathRoot.java:82)
    2. net.sf.robocode.repository.root.ClassPathRoot.update(ClassPathRoot.java:51)
    3. net.sf.robocode.repository.root.handlers.ClassPathHandler.visitDirectory(ClassPathHandler.java:36)
    4. net.sf.robocode.repository.root.handlers.RootHandler.visitDirectories(RootHandler.java:35)
    5. net.sf.robocode.repository.Database.update(Database.java:48)
    6. net.sf.robocode.repository.RepositoryManager.refresh(RepositoryManager.java:97)
    7. net.sf.robocode.repository.RepositoryManager.reload(RepositoryManager.java:121)
    8. net.sf.robocode.repository.RepositoryManager$1.settingChanged(RepositoryManager.java:52)
    9. net.sf.robocode.settings.SettingsManager.notifyPropertyChanged(SettingsManager.java:1044)
    10. net.sf.robocode.settings.SettingsManager.access$100(SettingsManager.java:58)
    11. net.sf.robocode.settings.SettingsManager$SortedProperties.setProperty(SettingsManager.java:1083)
    12. net.sf.robocode.settings.SettingsManager.setOptionsDevelopmentPath(SettingsManager.java:852)
    13. net.sf.robocode.ui.dialog.PreferencesDevelopmentOptionsTab.storePreferences(PreferencesDevelopmentOptionsTab.java:179)
    14. net.sf.robocode.ui.dialog.PreferencesDialog.finishButtonActionPerformed(PreferencesDialog.java:153)
    15. net.sf.robocode.ui.dialog.WizardController.finishButtonActionPerformed(WizardController.java:68)
    16. net.sf.robocode.ui.dialog.WizardController.access$1(WizardController.java:67)
    17. net.sf.robocode.ui.dialog.WizardController$EventHandler.actionPerformed(WizardController.java:45)
    17 frames
  3. Java RT
    Dialog.setVisible
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    6. java.awt.Component.processMouseEvent(Component.java:6263)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    8. java.awt.Component.processEvent(Component.java:6028)
    9. java.awt.Container.processEvent(Container.java:2041)
    10. java.awt.Component.dispatchEventImpl(Component.java:4630)
    11. java.awt.Container.dispatchEventImpl(Container.java:2099)
    12. java.awt.Component.dispatchEvent(Component.java:4460)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    16. java.awt.Container.dispatchEventImpl(Container.java:2085)
    17. java.awt.Window.dispatchEventImpl(Window.java:2475)
    18. java.awt.Component.dispatchEvent(Component.java:4460)
    19. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    20. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    21. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    22. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    23. java.awt.Dialog$1.run(Dialog.java:1045)
    24. java.awt.Dialog$3.run(Dialog.java:1097)
    25. java.security.AccessController.doPrivileged(Native Method)
    26. java.awt.Dialog.show(Dialog.java:1095)
    27. java.awt.Component.show(Component.java:1563)
    28. java.awt.Component.setVisible(Component.java:1515)
    29. java.awt.Window.setVisible(Window.java:841)
    30. java.awt.Dialog.setVisible(Dialog.java:985)
    30 frames
  4. net.sf.robocode
    MenuBar$EventHandler.actionPerformed
    1. net.sf.robocode.ui.dialog.WindowUtil.packCenterShow(WindowUtil.java:143)
    2. net.sf.robocode.ui.WindowManager.showOptionsPreferences(WindowManager.java:274)
    3. net.sf.robocode.ui.dialog.MenuBar.optionsPreferencesActionPerformed(MenuBar.java:904)
    4. net.sf.robocode.ui.dialog.MenuBar.access$23(MenuBar.java:903)
    5. net.sf.robocode.ui.dialog.MenuBar$EventHandler.actionPerformed(MenuBar.java:140)
    5 frames
  5. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
    7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
    8. java.awt.Component.processMouseEvent(Component.java:6263)
    9. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    10. java.awt.Component.processEvent(Component.java:6028)
    11. java.awt.Container.processEvent(Container.java:2041)
    12. java.awt.Component.dispatchEventImpl(Component.java:4630)
    13. java.awt.Container.dispatchEventImpl(Container.java:2099)
    14. java.awt.Component.dispatchEvent(Component.java:4460)
    15. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    16. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    17. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    18. java.awt.Container.dispatchEventImpl(Container.java:2085)
    19. java.awt.Component.dispatchEvent(Component.java:4460)
    20. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    21. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    22. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    23. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    26. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    26 frames