ArcGIS Runtime for Java 10.2.4 - com.esri.core.io.EsriServiceException:

10614
17
Jump to solution
10-28-2014 06:47 AM
nita14
by
Occasional Contributor III

Hi All,

   I am trying to run a .gpk package with result map service (raster is an output). When I start my app, the Windows 7 window pops-up, telling me that the LocalServer instance has stopped working, and let me decide to stop or debug application. When I click stop, no service is going to be up and running. When I click debug and continue debugging in Visual Studio, another pop-up shows up informing me that it is unable to get stack info. Next, I check Server REST endpoint and see that the services are started (Geoprocessing service and associated Map Service). Any ideas, what is going wrong?

I use Eclipse LUNA and Java 1.8.0_20 on win7 Professional. Below, you find basic syntax of my geoprocessing task.

gpService= new LocalGeoprocessingService("path to gpk");

gpService

  .setServiceType(GPServiceType.SUBMIT_JOB_WITH_MAP_SERVER_RESULT);

gpService.startAsync();

Any suggestions are much appreciated,

Best Regards,

Adam

0 Kudos
17 Replies
nita14
by
Occasional Contributor III

Hi Ryan,

Confirmed. I receive the same message. I know it is due to unhelded exception in ArcGIS Runtime. I traced the error using Microsoft Visual Studio 2013. This is information stack:

Unhandled exception at 0x0000000077AB4102 (ntdll.dll) in RuntimeLocalServer.exe: 0xC0000374: Sterta została uszkodzona (parameters: 0x0000000077B2B4B0).

First-chance exception at 0x000007FEFD7E940D in RuntimeLocalServer.exe: Microsoft C++ exception: ESRI::SensorModel::CSM::RequestedOperationFailedException at memory location 0x000000000224BD40.

HEAP[RuntimeLocalServer.exe]: Invalid address specified to RtlValidateHeap( 0000000002140000, 0000000002DFFE90 )

BTW: Do you use Lenovo as the development machine?

0 Kudos
ryantan
New Contributor

Hi Adam,

I may find a work-around.

After tried any clue I can think of, I desperately thought since the exception is resident in the LocalServer native binary code, so I think if it's possible to try another native code. so I uninstalled my current runtime sdk(version 10.2.4), and installed an early version(10.2), then unexpectedly, I find my code and mpk file can working against 10.2 successfully!!!

I never really thing that is possible. but it seems every thing is perfectly working, I can get my dynamic layer displayed on a map. so I guess the developer of 10.2.4 must screwed something inside localserver 10.2.4.

I hope it can help you too.

BTW. yes, I'm using a Lenovo laptop as development machine 🙂

Best Regards,

Ryan

0 Kudos
nita14
by
Occasional Contributor III

Hi Ryan,

I am glad you resolved this issue. However, the API downgrade is not an option for me. I use new functionalities added in 10.2.4. I do not have payed developer plan, so I can not officially report this bug to Esri. Now then, a number of Esri developers follows this workspace, so perhaps they will examine this error in more details in the next release.

BTW: I use Lenovo too. Maybe this bug is somehow connected with some hardware issues?

Anyway, good luck Ryan!

Regards,

Adam

0 Kudos
ryantan
New Contributor

Hi Adam,

I'm very sad to hear it cannot help you. 

I do think the issue is related to special hardware. 

maybe you try a dedicated arcgis server to run your .mpk as a service if it's acceptable. I tested that solution, it can work with 10.2.4 sdk.

anyway hope you get ride of this issue very soon!

Regards,

Ryan

0 Kudos
nita14
by
Occasional Contributor III

Resolved in Runtime 100.0.0

0 Kudos
BKuiper
Occasional Contributor III

Hi adam, could i e-mail with you in private? I'm having a similar error with the Runtime for WPF on a Lenovo machine. I'm not sure what you mean with "Resolved in Runtime 100.0.0". As far as i know there is no version 100.0.0.

0 Kudos
nita14
by
Occasional Contributor III

Hi Bjorn,

Indeed, there is 100.0.0 version for .Net as well.Please check ArcGIS Runtime SDK for .NET | ArcGIS for Developers . Also be aware that Local Server is now a seperate install. If you want to write me in private, I am available on firstnamelastname@hotmail.com.

Regards,

Adam

0 Kudos
BKuiper
Occasional Contributor III

Ah, yes, i see it has just been released.. it is quite a step forward, from 10.x to 100.x. Anyway, we are not in a position right now to upgrade. So we have to find another way to resolve this issues. It definitely seems to be specific to the Lenovo (Thinkpad). You can remove your e-mail address (to prevent spammers). Thank you for your response.

0 Kudos