首页 / 浏览问题 / 云GIS / 问题详情
发布vms服务出错
19EXP 2019年10月18日
使用产品:iserver9d 操作系统:win10 x64

数据类型:文件型

问题描述:我现在更新vms130服务,在工作空间删除一些新数据集,再导入新的数据集,保存地图,发布服务,点开服务,显示错误,错误页面显示的代码如下:

HTTP Status 500 – Internal Server Error
Type Exception Report

Message String index out of range: -2

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
    java.lang.AbstractStringBuilder.replace(Unknown Source)
    java.lang.StringBuffer.replace(Unknown Source)
    com.supermap.services.wms.WMSUtil.a(SourceFile:42)
    com.supermap.services.wms.WMSUtil.correctSinglePointBound(SourceFile:19)
    com.supermap.services.wms.DefaultWMSPrjUtil$WMSLayerVisitor.a(SourceFile:208)
    com.supermap.services.wms.DefaultWMSPrjUtil$WMSLayerVisitor.visit(SourceFile:182)
    com.supermap.services.ogc.LayerListVisitorUtil.a(SourceFile:25)
    com.supermap.services.ogc.LayerListVisitorUtil.a(SourceFile:29)
    com.supermap.services.ogc.LayerListVisitorUtil.visitAllLayer(SourceFile:19)
    com.supermap.services.wms.DefaultWMSPrjUtil.setLayerBounds(SourceFile:58)
    com.supermap.services.wms.DefaultWMS.d(SourceFile:297)
    com.supermap.services.wms.DefaultWMS.getCapabilities(SourceFile:283)
    com.supermap.services.wms.WMSServlet.initialize(SourceFile:237)
    com.supermap.services.wms.WMSServlet.service(SourceFile:463)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(SourceFile:63)
    com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler$ResponseCacheFailedHandler.handle(SourceFile:832)
    com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(SourceFile:418)
    com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:196)
    com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:222)
    com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:211)
    com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:198)
    com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:315)
    com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:247)
    org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423)
    org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)
    org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)
Note The full stack trace of the root cause is available in the server logs.

不知道哪里错了,麻烦帮忙看一下,谢谢。

1个回答

这个可能是你删除的数据集影响的,可能会导致拓扑错误。您那边是数据具体是怎么样的
818EXP 2019年10月18日
...