garysheppardjr / geodev-dc-labs

Lab exercises for Esri GeoDev events held in the Washington, D.C., area.
Apache License 2.0
3 stars 3 forks source link

Error message switching to 3D in Java #151

Open garysheppardjr opened 5 years ago

garysheppardjr commented 5 years ago

In Java Exercise 3, when switching to 3D, the following error message displays in the console:

java.lang.IllegalArgumentException: targetExtent argument must not be null
        at com.esri.arcgisruntime.mapping.Viewpoint.a(SourceFile:256)
        at com.esri.arcgisruntime.mapping.Viewpoint.<init>(SourceFile:146)
        at com.esri.wdc.geodev.WorkshopApp.lambda$button_toggle2d3d_onAction$5(WorkshopApp.java:191)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
        at java.base/java.lang.Thread.run(Thread.java:834)

The app seems to function properly, but we should investigate.