CMDBuild Forum

Cmdbuild 3.2.1 connect problem to geoserver

Dear all,

I use cmdbuild 3.2.1 and want to connect to geoserver. I added new layer of geoserver and select type (geotiff), associated class and file. The problem is, I can not select Associated geo-attribute and Associated card, then Save Button still disabled. How to solve this problem

Cheers,

Deni

Do you have any card in that class? What is associated geo-attribute? I have no field with such name!

yes I prepare one class for connecting to Geoserver layer. The name of Associated Geo-attribute is Geometry

Regards

Deni

I try to enter the geoserver layer manually via pgadmin.
The record like this:
image

But still error in Openlayers

Cheers

Deni

Can you attach screenshot?

This the screenshoot of my CMDBuild Application when connect to geoserver layer

screenshoot

Mm, sadly, but i don’t know this way, but cmdbuild has UI for adding layers in administration module.

Yes, I have try to use UI for adding geoserver layer. But the problem is like in this picture
image
regards

Deni

I found the error when this service execute : localhost:8080/cmdbuild/services/rest/v3/classes/desa/cards/13320/geolayers/206780?_dc=1590183477986
respond: {“success”:false,“messages”:[{“level”:“ERROR”,“show_user”:false,“message”:“java.lang.NullPointerException: geoserver layer not found for class = desa attr = 206780 card = 13320”}]}

I check in the _GisGeoserverlayer table :
image
geoserver layer for class = desa, attr = 206780 and card = 13320 is there.

is the service has a bug?

regards

Deni

Huh! I have other version (3.2-b) and other New Layer form:
2020-05-25_12-56-59