java.lang.NullPointerException

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.geotools.data.shapefile.ShapefileFeatureSource.getReaderInternal()
  2. org.geotools.data
    ContentFeatureCollection.features
    1. org.geotools.data.shapefile.ShapefileFeatureSource.getReaderInternal(ShapefileFeatureSource.java:336)
    2. org.geotools.data.shapefile.ShapefileFeatureStore.getReaderInternal(ShapefileFeatureStore.java:126)
    3. org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:634)
    4. org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:173)
    4 frames
  3. com.mycompany.mapselection
    App$1$1.onMouseClicked
    1. com.mycompany.mapselection.App.selectFeatures(App.java:167)
    2. com.mycompany.mapselection.App$1$1.onMouseClicked(App.java:132)
    2 frames
  4. org.geotools.swing
    DefaultMapMouseEventDispatcher.mouseClicked
    1. org.geotools.swing.event.DefaultMapMouseEventDispatcher.mouseClicked(DefaultMapMouseEventDispatcher.java:99)
    1 frame
  5. Java RT
    EventDispatchThread.run
    1. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
    2. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
    3. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
    4. java.awt.Component.processMouseEvent(Component.java:6519)
    5. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    6. java.awt.Component.processEvent(Component.java:6281)
    7. java.awt.Container.processEvent(Container.java:2229)
    8. java.awt.Component.dispatchEventImpl(Component.java:4872)
    9. java.awt.Container.dispatchEventImpl(Container.java:2287)
    10. java.awt.Component.dispatchEvent(Component.java:4698)
    11. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    12. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
    13. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    14. java.awt.Container.dispatchEventImpl(Container.java:2273)
    15. java.awt.Window.dispatchEventImpl(Window.java:2719)
    16. java.awt.Component.dispatchEvent(Component.java:4698)
    17. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
    18. java.awt.EventQueue.access$300(EventQueue.java:103)
    19. java.awt.EventQueue$3.run(EventQueue.java:706)
    20. java.awt.EventQueue$3.run(EventQueue.java:704)
    21. java.security.AccessController.doPrivileged(Native Method)
    22. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    23. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    24. java.awt.EventQueue$4.run(EventQueue.java:720)
    25. java.awt.EventQueue$4.run(EventQueue.java:718)
    26. java.security.AccessController.doPrivileged(Native Method)
    27. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    28. java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
    29. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    30. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    31. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    32. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    33. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    34. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    34 frames