首页 / 浏览问题 / 组件GIS / 问题详情
iobjectsjava11i 添加图层出错
22EXP 2023年09月21日
使用iobjectsjava-11.0.1-21420-98023,在layers.add(datasets.get(datasetName), false)时程序卡死,iobject的日志:

2023-09-21 09:58:28 [error] 错误:  stats for "county.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 10360, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 范围计算失败, ThreadID: 13980, Timespan(ms): 0, ResourceID: ELc338, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 09:58:28 [error] 错误:  stats for "state.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 15, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 范围计算失败, ThreadID: 13980, Timespan(ms): 0, ResourceID: ELc338, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 09:58:28 [error] 错误:  stats for "place.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 范围计算失败, ThreadID: 13980, Timespan(ms): 0, ResourceID: ELc338, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 09:58:28 [error] 错误:  stats for "cousub.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 范围计算失败, ThreadID: 13980, Timespan(ms): 0, ResourceID: ELc338, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 09:58:28 [error] 错误:  stats for "edges.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 范围计算失败, ThreadID: 13980, Timespan(ms): 0, ResourceID: ELc338, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 09:58:28 [error] 错误:  stats for "addrfeat.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "faces.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "zcta5.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "tract.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "tabblock.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "bg.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "JPM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 16, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:58:28 [error] 错误:  stats for "YDM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "county.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 35937, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "state.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "place.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "cousub.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "edges.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "addrfeat.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 16, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "faces.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "zcta5.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "tract.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "tabblock.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "bg.the_geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "JPM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "YDM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 16, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:05 [error] wait time too long, ThreadID: 3624, Timespan(ms): 797, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 09:59:05 [error] wait time too long, ThreadID: 6476, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)

pg库是9.5版本的,库里没有place、cousub、edges这些表为什么会提示stats for "cousub.the_geom" do not exist

1个回答

您好,初步判断是数据问题,可能是缺少属性或者缺失其他记录导致的问题,建议那边使用idesktop添加图层到地图中,查看是否正常
3,405EXP 2023年09月21日
日志里面的:

2023-09-21 09:59:04 [error] 错误:  stats for "JPM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 09:59:04 [error] 错误:  stats for "YDM.geom" do not exist
, ThreadID: 13980, Timespan(ms): 16, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)

库里是有这两个面表的但是geometry字段是正常存在的,用idesktopx11i打开能正常显示的

但是我layers.add操作的是线表,为什么会提示面表有问题
这是idesktop11打开的日志,图层能正常添加显示,但是还有相同的报错:
2023-09-21 11:45:35 [error] 错误:  stats for "county.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 15, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "state.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 16, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "state.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "place.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "place.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "cousub.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "cousub.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "edges.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "edges.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "addrfeat.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 16, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "addrfeat.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "faces.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "faces.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "zcta5.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "zcta5.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "tract.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "tract.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "tabblock.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "tabblock.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "bg.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "bg.the_geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "JPM.geom" do not exist
, ThreadID: 14500, Timespan(ms): 15, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "JPM.geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
2023-09-21 11:45:35 [error] 错误:  stats for "YDM.geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 错误:  stats for "YDM.geom" do not exist
, ThreadID: 14500, Timespan(ms): 0, ResourceID: -100, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4812)
2023-09-21 11:45:35 [error] 范围计算失败, ThreadID: 14500, Timespan(ms): 0, ResourceID: ELc338, SourceCode: d:\teamcity\ugo1100\01_sourcecode\src\enginepgis\ugdatasourcepgis.cpp(4841)
还有这一部分报错:

2023-09-21 09:40:00 [error] Catch Signal 21: Ctrl-Break sequence
StackInfo:
SymInit: Symbol-SearchPath: '.;D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs;D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Administrator'
OS-Version: 10.0.19045 () 0x100-0x1
峡杨??送CreateDrawingRasterPluginD:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\java.exe:java.exe (00007FF702F80000), size: 217088 (result: 0), SymType: '-nosymbols-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\java.exe', fileVersion: 8.0.3220.6
 530,??賓??C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00007FFFCD6D0000), size: 2064384 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 10.0.19041.2130
瑡??唠??惼??耀Unit:    defined in the DUNI subfield of the DSPM record or in the DUNITS attribute of the M_UNIT meta object class, e.g. metre (m); Resolution:    0.1 m or 0.1 fm or 0.1 ft C:\Windows\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFFCB7F0000), size: 782336 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\KERNEL32.DLL', fileVersion: 10.0.19041.2546
C:\Windows\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFFCB050000), size: 2957312 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\KERNELBASE.dll', fileVersion: 10.0.19041.2728
C:\Windows\System32\ADVAPI32.dll:ADVAPI32.dll (00007FFFCCD60000), size: 712704 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\ADVAPI32.dll', fileVersion: 10.0.19041.2130
C:\Windows\System32\msvcrt.dll:msvcrt.dll (00007FFFCB720000), size: 647168 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\msvcrt.dll', fileVersion: 7.0.19041.546
????敄??愗??蠀砨??C:\Windows\System32\sechost.dll:sechost.dll (00007FFFCC1A0000), size: 638976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\sechost.dll', fileVersion: 10.0.19041.1865
C:\Windows\System32\RPCRT4.dll:RPCRT4.dll (00007FFFCCE10000), size: 1196032 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\RPCRT4.dll', fileVersion: 10.0.19041.2728
??悐??蠀C:\Windows\System32\USER32.dll:USER32.dll (00007FFFCBB00000), size: 1708032 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\USER32.dll', fileVersion: 10.0.19041.2486
??惼??耀Unit:    defined in the DUNI subfield of the DSPM record or in the DUNITS attribute of the M_UNIT meta object class, e.g. metre (m); Resolution:    0.1 m or 0.1 fm or 0.1 ft C:\Windows\System32\win32u.dll:win32u.dll (00007FFFCAFF0000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\win32u.dll', fileVersion: 10.0.19041.2728
楳??悧??耀C:\Windows\System32\RPCRT4.dll:RPCRT4.dll (00007FFFCCE10000), size: 1196032 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\RPCRT4.dll', fileVersion: 10.0.19041.2728
??悐??蠀C:\Windows\System32\GDI32.dll:GDI32.dll (00007FFFCB7C0000), size: 176128 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\GDI32.dll', fileVersion: 10.0.19041.2130

????敄??愗??蠀砨??C:\Windows\System32\gdi32full.dll:gdi32full.dll (00007FFFCB3D0000), size: 1110016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\gdi32full.dll', fileVersion: 10.0.19041.2604
C:\Windows\System32\msvcp_win.dll:msvcp_win.dll (00007FFFCB330000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\msvcp_win.dll', fileVersion: 10.0.19041.789
C:\Windows\System32\ucrtbase.dll:ucrtbase.dll (00007FFFCB620000), size: 1048576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\ucrtbase.dll', fileVersion: 10.0.19041.789
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\COMCTL32.dll:COMCTL32.dll (00007FFFB7B40000), size: 2727936 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\COMCTL32.dll', fileVersion: 6.10.19041.1110
C:\Windows\System32\IMM32.DLL:IMM32.DLL (00007FFFCC3F0000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\IMM32.DLL', fileVersion: 10.0.19041.2673
486
??惼??耀Unit:    defined in the DUNI subfield of the DSPM record or in the DUNITS attribute of the M_UNIT meta object class, e.g. metre (m); Resolution:    0.1 m or 0.1 fm or 0.1 ft D:\soft\360\360Safe\safemon\SafeWrapper.dll:SafeWrapper.dll (0000000055C50000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'D:\soft\360\360Safe\safemon\SafeWrapper.dll', fileVersion: 2.0.0.1250
D:\soft\360\360Safe\safemon\libzdtp64.dll:libzdtp64.dll (00007FFFB4BC0000), size: 614400 (result: 0), SymType: '-exported-', PDB: 'D:\soft\360\360Safe\safemon\libzdtp64.dll', fileVersion: 1.0.0.1210
1250
C:\Windows\System32\SHELL32.dll:SHELL32.dll (00007FFFCCF40000), size: 7622656 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SHELL32.dll', fileVersion: 10.0.19041.2546
C:\Windows\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFFCB9D0000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SHLWAPI.dll', fileVersion: 10.0.19041.2075
C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (00007FFFCA960000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\VERSION.dll', fileVersion: 10.0.19041.546
??愗??蠀砨??D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\msvcr100.dll:msvcr100.dll (00000000543A0000), size: 860160 (result: 0), SymType: '-exported-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\msvcr100.dll', fileVersion: 10.0.40219.325
D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\server\jvm.dll:jvm.dll (0000000053B00000), size: 9019392 (result: 0), SymType: '-exported-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\server\jvm.dll', fileVersion: 8.0.3220.6
C:\Windows\System32\PSAPI.DLL:PSAPI.DLL (00007FFFCCC20000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\PSAPI.DLL', fileVersion: 10.0.19041.546
3
486
??惼??蠀琮硥tC:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (00007FFFC2D20000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WINMM.dll', fileVersion: 10.0.19041.546
2728
??悐??蠀C:\Windows\SYSTEM32\WSOCK32.dll:WSOCK32.dll (00007FFFAF1A0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WSOCK32.dll', fileVersion: 10.0.19041.1
6
??惼??蠀琮硥tC:\Windows\System32\WS2_32.dll:WS2_32.dll (00007FFFCC6D0000), size: 438272 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\WS2_32.dll', fileVersion: 10.0.19041.546
6
??愗??蠀砨??D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\verify.dll:verify.dll (00007FFFC2CF0000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\verify.dll', fileVersion: 8.0.3220.6
D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\java.dll:java.dll (00007FFFC2CC0000), size: 167936 (result: 0), SymType: '-exported-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\java.dll', fileVersion: 8.0.3220.6
??????9????D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\zip.dll:zip.dll (00007FFFB7990000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'D:\soft\supermap-idesktopx-11.0.1-1124-217-98691-win64-bin-zip-chs\jre\bin\zip.dll', fileVersion: 8.0.3220.6
这样就是数据库表中缺失记录信息了,把问题数据拷贝到udbx数据源中再添加到图层中查看是否有提示,如果正常,则再从udbx中拷贝到数据库数据源中即可
我按照以上操作,udbx的六个数据集(三类点线表)在idesktop中打开日志都没有报错,但是我这边做add操作没有报stats for "xxx.geom" do not exist

了但是还会超时:

2023-09-21 16:27:33 [error] not an error, ThreadID: 6388, Timespan(ms): 250, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:34 [error] no such column: SmRecordCount, ThreadID: 10356, Timespan(ms): 281, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:34 [error] no such column: SmRecordCount, ThreadID: 7380, Timespan(ms): 266, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:34 [error] wait time too long, ThreadID: 1284, Timespan(ms): 344, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:34 [error] not an error, ThreadID: 9200, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:34 [error] wait time too long, ThreadID: 10356, Timespan(ms): 78, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:35 [error] wait time too long, ThreadID: 3444, Timespan(ms): 62, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:35 [error] not an error, ThreadID: 15812, Timespan(ms): 16, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:35 [error] wait time too long, ThreadID: 3444, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:35 [error] wait time too long, ThreadID: 7380, Timespan(ms): 63, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:35 [error] wait time too long, ThreadID: 14136, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\postgresqlci\ugpgsqlciconnection.cpp(821)
2023-09-21 16:27:35 [error] no such column: SmRecordCount, ThreadID: 10356, Timespan(ms): 0, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:35 [error] not an error, ThreadID: 1284, Timespan(ms): 656, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:35 [error] not an error, ThreadID: 6388, Timespan(ms): 32, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:35 [error] no such column: SmRecordCount, ThreadID: 15536, Timespan(ms): 93, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:41 [error] no such column: SmRecordCount, ThreadID: 13608, Timespan(ms): 5422, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:43 [error] no such column: SmRecordCount, ThreadID: 6392, Timespan(ms): 1875, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:45 [error] no such column: SmRecordCount, ThreadID: 15956, Timespan(ms): 2469, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:50 [error] no such column: SmRecordCount, ThreadID: 13268, Timespan(ms): 5141, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)
2023-09-21 16:27:55 [error] no such column: SmRecordCount, ThreadID: 8296, Timespan(ms): 4734, ResourceID: -100, SourceCode: g:\teamcity\ugo1100\01_sourcecode\src\engineudb\ugdatasetvectorudb.cpp(512)

而且我使用layers.add添加一个点表和一个线表(一类点线),能正常添加成功;但是按datasets循环add两类以上时就会出现这个wait time too long的情况
一般都是添加到线表时就出现这情况然后卡住

我的逻辑中先通过pg表名即数据集名称,循环获取到dataset,执行layers.add;

此时判断dataset类型是点还是线,如果是点类型则再进行以下逻辑:

在循环中createFromTemplate(newName, dataset),将dataset的结构复制到另一个内存数据源的newDataset,再执行layers.add;

在此时开启另一个线程按条件获取一部分dataset的记录集recordset,使用newDataset.append(recordset)或Recordset.BatchEditor批量添加,将数据添加到新数据集。

无论是使用一类点线还是多类点线,这个过程在我的环境中都能正常运行;但使用另外两台电脑时添加一类点线能正常运行,多类点线就卡在layers.add中,而且是在添加线图层时出现的。

后来我测试将所有的操作都放在主线程中,循环添加图层并导入数据到临时数据源。这个逻辑在另外一台电脑添加多类点线都能正常运行,我不知道是哪里有问题,而且newDataset.append(recordset)的速度很慢

电脑不同导致的执行结果不同,建议检查有问题机器与数据库连接情况,如出现添加图层提示的等待时间太长的问题,则是连接情况不稳定导致的
...