Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 28
Registered: ‎09-19-2016
Accepted Solution

GE_MODIFY error "No geometry of the given id list was found"

Hi,

 

I have a problem similar to this:

 

From my form I try to edit the geometry of ID1= 4400 in the table AREE_CONC (name of table and layer is the same) with the following action

 

SC.digitize('AREE_CONC', {commands: ['GE_MODIFY'], startOnLoad: 'GE_MODIFY'}, [{FORM.ID1}])

 

Form:

<Form name="MOD_AREA_DI_CONC" editable="true" idfield="ID1" table="DEMANIO_GEOM.AREE_CONC">
<FormTab name="NewTabPage1" editable="true" visible="true">
<FormGroup name="NewGroup1" editable="true" visible="true">
<FormField name="ID1" editable="true" visible="true" datatype="number" required="true" persisted="true" saveinsession="false" type="textfield" override="false" />
<FormAction name="MOD_GEOM" editable="true" visible="true" action="SCRIPT[SC.digitize('AREE_CONC', {commands: ['GE_MODIFY'], startOnLoad: 'GE_MODIFY'}, [{FORM.ID1}])]" />
</FormGroup>
</FormTab>
</Form>

 

 

The workflow window crash and I get this error in the log:

 

Apr 18, 2019 12:05:11 PM SEVERE: Error while loading geometries. --> [MapContentController] com.intergraph.web.plugin.edit.EditPlugin$1.contentRequestDone
java.lang.IllegalStateException: No geometry of the given id list was found! [layer = AREE_CONC, ids = [AttributeImpl [type=class java.lang.Long, value=4400]]]
at com.intergraph.web.plugin.edit.EditPlugin$1.contentRequestDone(EditPlugin.java:492)
at com.hexgeo.enterprise.loader.MapContentRequest.fireRequestDone(MapContentRequest.java:56)
at com.hexgeo.enterprise.loader.MapContentLoader.load(MapContentLoader.java:75)
at com.hexgeo.enterprise.loader.MapContentLoader.load(MapContentLoader.java:62)
at com.hexgeo.enterprise.loader.MapContentController.run(MapContentController.java:81)

 

I changed the Desktop M.App definition from EPSG:6708 to EPSG:3857 as suggested in the linked topic but it didn't work for me.

 

Do you have any suggestion?

Thank you

Massimiliano

Frequent Contributor
Posts: 114
Registered: ‎05-25-2016

Re: GE_MODIFY error "No geometry of the given id list was found"

Here I’ll make what may be a stupid question, but this happened to me before while I was trying to edit an entry with no geometry... Does that id have a geometry at all? can you use the zoom script to that feature?. It looks like it simply cannot find a geometry to edit.

Contributor
Posts: 28
Registered: ‎09-19-2016

Re: GE_MODIFY error "No geometry of the given id list was found"

Sorry for the late reply, the id have a geometry and the zoom script works correctly

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: GE_MODIFY error "No geometry of the given id list was found"

hi Massimiliano,

 

what is the datatype of the ID1 in the DB? Does this happen to all of the features or just for this particular ID?

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Contributor
Posts: 28
Registered: ‎09-19-2016

Re: GE_MODIFY error "No geometry of the given id list was found"

Hi Stefano,

 

the datatype of the ID1 in the DB is number, in the form field ID1 is set to the same datatype.  The workflow crashes for all of the features.

Contributor
Posts: 28
Registered: ‎09-19-2016

Re: GE_MODIFY error "No geometry of the given id list was found"

Ok, the issue is resolved,

the data type for the primary key column "ID1" was NUMBER(*,0), accordingly to your suggestion in this topic I decreased the precision to NUMBER(18,0) an now edit starts correctly.

 

Thank you

 

Massimiliano

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.