I received this error message while trying to make a personal map from existing andnav atlas on my computer using "Example custom tile files source.xml".
Version: Mobile Atlas Creator (MOBAC) 2.1.0 (2381)
Platform: Mac OS X (10.10.5)
Java VM: Java HotSpot(TM) 64-Bit Server VM (1.8.0_201-b09)
Max heap size: 910,50 MiB
CPU cores: 2
Thread: AWT-EventQueue-0
Error hierarchy:
NullPointerException: null
java.lang.NullPointerException
at mobac.mapsources.custom.CustomLocalTileFilesMapSource.reinitialize(CustomLocalTileFilesMapSource.java:107)
at mobac.mapsources.custom.CustomLocalTileFilesMapSource.initialize(CustomLocalTileFilesMapSource.java:93)
at mobac.gui.MainGUI$MapSourceTreeListener.valueChanged(MainGUI.java:988)
at javax.swing.JTree.fireValueChanged(JTree.java:2934)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3398)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1641)
at mobac.gui.components.JMapSourceTree.chooseAndShowTreeNodeInTree(JMapSourceTree.java:370)
at mobac.gui.components.JMapSourceTree.selectMapSource(JMapSourceTree.java:351)
at mobac.gui.MainGUI.mapSourceChanged(MainGUI.java:1107)
at mobac.gui.mapview.PreviewMap.setMapSource(PreviewMap.java:143)
at mobac.gui.mapview.PreviewMap.settingsLoad(PreviewMap.java:127)
at mobac.gui.MainGUI.loadSettings(MainGUI.java:807)
at mobac.gui.MainGUI.<init>(MainGUI.java:313)
at mobac.gui.MainGUI.createMainGui(MainGUI.java:223)
at mobac.Main$1.run(Main.java:74)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at mobac.utilities.GUIExceptionHandler$EventQueueProxy.dispatchEvent(GUIExceptionHandler.java:321)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)</init>
In the attachment the file I edited.
What's my mistake, can anyone help me?
Thank you so much.
This bug should already be fixed in MOBAC 2.1.1a .
Thank you but i am still in trouble with MOBAC 2.1.1a too...
Last edit: r_x 2019-05-29
Then please post the full stack trace of version 2.1.1a and also describe the steps that cause the problem plus your custom map source definition (XML file).