8 Comments

  1. wayne

    Reply

    How to report bug?
    JavaScript exception thrown on start up (when loading a map?), google object is not found in JavaFX code I guess. FYI, I am behind a cooperate firewall/proxy, may be can’t download something from Google?

    Exception stack trace:
    netscape.javascript.JSException: ReferenceError: Can’t find variable: google
    at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:156)
    at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
    at com.sun.webkit.WebPage.executeScript(WebPage.java:1518)
    at javafx.scene.web.WebEngine.executeScript(WebEngine.java:1005)
    at com.lynden.gmapsfx.javascript.JavaFxWebEngine.executeScript(JavaFxWebEngine.java:42)
    at com.lynden.gmapsfx.GoogleMapView.initialiseScript(GoogleMapView.java:244)
    at com.lynden.gmapsfx.GoogleMapView.access$000(GoogleMapView.java:52)
    at com.lynden.gmapsfx.GoogleMapView$1.changed(GoogleMapView.java:203)
    at com.lynden.gmapsfx.GoogleMapView$1.changed(GoogleMapView.java:200)
    [catch] at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
    at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
    at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
    at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
    at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
    at javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1287)
    at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1402)
    at javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1280)
    at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1267)
    at com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2525)
    at com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2369)
    at com.sun.webkit.network.URLLoader.twkDidFail(Native Method)
    at com.sun.webkit.network.URLLoader.notifyDidFail(URLLoader.java:895)
    at com.sun.webkit.network.URLLoader.lambda$didFail$104(URLLoader.java:878)
    at com.sun.javafx.application.PlatformImpl.lambda$null$177(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$178(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$152(WinApplication.java:177)
    at java.lang.Thread.run(Thread.java:748)

    • Reply

      You do have an option to poke around with the proxy settings using the ‘Options (Platform)’ from the menu.
      Not knowing what OS, JRE or Mapton version you are using it’s hard to tell.
      The Google Maps Map Engine in Mapton is removed from version 2 so I recommend WorldWind or Open Street Map.

  2. Ravinder Rajrana

    Reply

    Hello there, I wanted to install MAPTON in Windows 10 but i am not sure what to do with the zip file that gets downloaded. Please help.

  3. Joel Lapointe

    Reply

    I have this problem :
    java.lang.NullPointerException: Cannot invoke “gov.nasa.worldwind.layers.Layer.setEnabled(boolean)” because the return value of “gov.nasa.worldwind.layers.LayerList.getLayerByName(String)” is null
    at org.mapton.worldwind.WorldWindowPanel.updateScreenLayers(WorldWindowPanel.java:534)
    at org.mapton.worldwind.WorldWindowPanel.initFinalize(WorldWindowPanel.java:248)
    at org.mapton.worldwind.WorldWindowPanel.lambda$new$0(WorldWindowPanel.java:114)
    [catch] at java.base/java.lang.Thread.run(Unknown Source)

    The Map engine update bar never finishes to load…

  4. Joel Lapointe

    Reply

    I forgot to mention :
    – From Appimage version 3.1.0 (2023-06-10)
    – OS : PCLinuxOS,

Leave Comment

Your email address will not be published. Required fields are marked *