Modify ↓
Opened 5 years ago
Closed 5 years ago
#19420 closed defect (fixed)
mapwithai-dev=java.lang.NullPointerException
Reported by: | Klumbumbus | Owned by: | taylor.smock |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapwithai | Version: | |
Keywords: | Cc: |
Description
Jenkins reports a NPE for the dev version. Could you please have a look?
https://josm.openstreetmap.de/jenkins/job/JOSM-Integration/lastCompletedBuild/testReport/
Attachments (0)
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm fixing this in https://gitlab.com/gokaart/JOSM_MapWithAI/-/merge_requests/201 .
I'm just catching the NPE and then initializing the necessary data for that particular method (so Territories.initializeInternalData()
is being called).
Note:
See TracTickets
for help on using tickets.
It looks like either I will need to rework my plugin to avoid calling
Territories
during initialization, callTerritories.initialize()
during plugin startup, or addterritories()
to the test rules.Stack trace: