Java version : 1.7.0_17 (Oracle Corporation) x86Rendering engine : DirectXStarting serverOS Name: Windows 7"C:\Program Files\ArcGISSDKs\java10.1.1\arcgisruntime10.1.1\LocalServer32\bin\RuntimeLocalServer.exe"appPid=496AppStateDir=C:\eclipse\workspace\MapManager\res\mapC:\Program Files\ArcGIS SDKs\java10.1.1\ArcGISRuntime10.1.1\LocalServer32\bin'apppid' = '496''appstatedir' = 'C:\eclipse\workspace\MapManager\res\map''cleanuponshutdown' = '''crashdump' = 'mini''enablehtmlviews' = '''maxport' = '60000''minport' = '50000''urlprefix' = 'random'datadir does not exist, creating:"C:\Users\CARLOS~1.COL\AppData\Local\Temp\arcgisruntime_4348"Message : DataDir :C:\Users\CARLOS~1.COL\AppData\Local\Temp\arcgisruntime_4348Message : Logging disabledMessage : AppDataLocalDir : C:\eclipse\WORKSP~1\MAPMAN~1\res\map\LocalMessage : AppDataRoamingDir : C:\eclipse\WORKSP~1\MAPMAN~1\res\map\RoamingMessage : AppDataCommonDir : C:\eclipse\WORKSP~1\MAPMAN~1\res\map\CommonMessage : MyDocumentsDir : C:\eclipse\WORKSP~1\MAPMAN~1\res\map\DocumentsMessage : CrashDumpPath :C:\Users\CARLOS~1.COL\AppData\Local\Temp\ArcGISRuntimeErrorReportsMessage : Running using developer licenseMessage : Licensing level : standard:standard:0Message : Server version : 10.1.1.3298Message : Server listening on : http://127.0.0.1:50000/ZXZJNF/arcgis/rest
Java version : 1.7.0_17 (Oracle Corporation) amd64Rendering engine : OpenGLInfo: XInitThreads() called for concurrent Thread supportStarting serverOS Name: Linux/home/epguser/arcgis/runtime_sdk/java10.1.1/ArcGISRuntime10.1.1/LocalServerLx/bin/runtimeLauncherappPid=15590onLinuxAppStateDir=Z:/media/data/workspace/MapManager/res/map/home/epguser/arcgis/runtime_sdk/java10.1.1/ArcGISRuntime10.1.1/LocalServerLx/bin'apppid' = '15590''appstatedir' = 'Z:/media/data/workspace/MapManager/res/map''cleanuponshutdown' = '''crashdump' = 'mini''datadir' = '/tmp''enablehtmlviews' = '''maxport' = '60000''minport' = '50000''onlinux' = '''urlprefix' = 'random'datadir does not exist, creating: "Z:\tmp\arcgisruntime_8"Message : DataDir : Z:\tmp\arcgisruntime_8Message : Logging disabledMessage : AppDataLocalDir : Z:\media\data\WO~0JJXE\MA~REKI5\res\map\LocalMessage : AppDataRoamingDir : Z:\media\data\WO~0JJXE\MA~REKI5\res\map\RoamingMessage : AppDataCommonDir : Z:\media\data\WO~0JJXE\MA~REKI5\res\map\CommonMessage : MyDocumentsDir : Z:\media\data\WO~0JJXE\MA~REKI5\res\map\DocumentsMessage : CrashDumpPath : Z:\tmp\ArcGISRuntimeErrorReportsMessage : Running using developer licenseMessage : Licensing level : standard:standard:0Message : Server version : 10.1.1.3265Message : Server listening on : http://127.0.0.1:50000/GFrhD4/arcgis/restjava.lang.NullPointerException at com.esri.map.LayerInfo.addLayer(Unknown Source) at com.esri.map.ArcGISDynamicMapServiceLayer.a(Unknown Source) at com.esri.map.ArcGISDynamicMapServiceLayer$1.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)
1. If the addition of rasters to a mosaic dataset contained by a geodatabase that was extracted to a temporary folder from an map package is not preserved in the map used but on the temporary location, how do I preserve the changes that were made on the temporary folder for more than a session? Is this what the ArcGISRuntime.setAppDataDirectory(String) method does? As a side note, our users will not have Arc Map available to re-package map documents after adding rasters, and they expect our application to preserve any raster data they load over the life of the application, until they choose to remove it.
2. If there is no easier way to have two ArcGISLocalDynamicMapServiceLayer objects point to the same geodatabase that contain a mosaic dataset they reference, what approach could I use to only display the Image sublayer of the mosaic layer on one window and only display the Footprint sublayer of that same mosaic layer of that same ArcGISLocalDynamicMapServiceLayer object on another window? I'm guessing this would circumvent the issue and would clarify why I need to have two map views of data from a shared geodatabase in ArcGIS Runtime.
...working with Dynamic Workspaces. These can be used for altering the content of a local map package on the fly. For example, you might have an .mpk to which you want to add a shapefile.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.