laptop and a wrench

Bug

While creating a com.esri.arcgisws.RectangleElement from com.esri.arcgis.carto.RectangleElement, the application is throwing the following exception: "Com.esri.adf.web.ags.ADFAGSException: Unable to create Stub from the ArcObject."

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM012666
SubmittedOctober 30, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageJava
StatusDuplicate

Additional Information

This is the same issue as NIM009790.

Workaround

Below is a sample snippet to create com.esri.arcgisws.RectangleElement from com.esri.arcgis.geometry.IEnvelope. -----------------------------------------------Create IEnvelope content and use the below code to create RectangleElement.Com.esri.arcgisws.RectangleElement rectangleElement1 =new com.esri.arcgisws.RectangleElement ();EnvelopeN envelopeN = (EnvelopeN) AGSUtil.createStubFromArcObject (ienvelope, EnvelopeN.class, serverContext);rectangleElement1.setRectangle (envelopeN);----------------------------------------------

Steps to Reproduce

Bug ID: NIM012666

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options