geoserver2.0发布地图时错误!求助高人指点!

问题描述

我用mysql数据库连接时都没有问题,当连接数据库后,在建图层的时候获取坐标范围时出错点击computefromdata就出错了,上面已经填写完毕EPSG:4326,错误信息如下:Oops,somethingwentwrong...Sorry,somethingunexpectedhappenedontheserver.Here'sanerrorreportyoucanincludeinaJIRAbugreportaboutthisissue:java.lang.NullPointerExceptionatorg.geoserver.catalog.CatalogBuilder.getNativeBoundsCatalogBuilder.java:467)atorg.geoserver.web.data.resource.BasicResourceConfig$1.onSubmit(BasicResourceConfig.java:123)atorg.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:94)atorg.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)atorg.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)atorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)atorg.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104)atorg.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)atorg.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239)atorg.apache.wicket.RequestCycle.step(RequestCycle.java:1316)atorg.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)atorg.apache.wicket.RequestCycle.request(RequestCycle.java:532)atorg.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)atorg.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:145)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:710)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)atorg.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)atorg.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)atorg.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:710)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)atorg.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)atorg.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)atorg.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)atorg.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)atorg.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)atjava.lang.Thread.run(Thread.java:619)

解决方案

解决方案二:
你代码写错了吧java.lang.NullPointerException这个是空指针异常啊。打个断点调试一下,出错的地方应该是对象为空了
解决方案三:
楼主解决没哦?我也遇到这个问题了,来个大虾指点下啊
解决方案四:
建议楼主查一下geoserver源代码,看看getNativeBoundsCatalogBuilder.java的467行写的什么

时间: 2024-09-14 09:14:33

geoserver2.0发布地图时错误!求助高人指点!的相关文章

arcgis-ArcMap发布地图时,提示:00037 无法将底图图层直接发布到地图服务

问题描述 ArcMap发布地图时,提示:00037 无法将底图图层直接发布到地图服务 ArcMap发布地图时,提示:00037 无法将底图图层直接发布到地图服务. 我的地图含底图图层,帮助文档说将底图图层和业务图层分开发布,最后在聚合在一起,请问怎么聚合在一起呢,具体怎么操作?或者有别的解决方案没? ArcGIS版本10.2 解决方案 ## 求解答 求教育 求抱大腿_

wpf 3 5启动报错-WPF程序,framework 3.5 sp1环境,启动程序报错,4.0的就没事,请高人指点

问题描述 WPF程序,framework 3.5 sp1环境,启动程序报错,4.0的就没事,请高人指点 {"未能加载文件或程序集"PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"或它的某一个依赖项.该模块应包含一个程序集清单."} 该问题如何能解 请遇到过此问题的同仁指点

含有Response.Cookies语句的.cs编译dll后,加载到页面出现错误,高人指点!

问题描述 cl.cs文件usingSystem;usingSystem.Net;usingSystem.Data;usingSystem.IO;usingSystem.Drawing;usingSystem.Drawing.Imaging;usingSystem.Web;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;namespaceepttest{publicclassoutd

ArcGis Engine10.1发布地图服务到Arcgis Server,出现了错误,如下

问题描述 ArcGis Engine10.1发布地图服务到Arcgis Server,出现了错误,如下 服务成功发布到了Server上,但是无法启动服务,求助大牛... 代码如下: string serverName = "http://localhost:6080/arcgis/admin"; string mxdFilePath = @"D:southGisDataxyz.mxd"; string serviceName = "tiles02223&q

c语言问题-大家好,下面这段程序在vc6.0中编译时没错误,但却运行不起来。麻烦帮看一下

问题描述 大家好,下面这段程序在vc6.0中编译时没错误,但却运行不起来.麻烦帮看一下 #include #include int main() { int shu,shang,i,yushu; int a[16]={0}; clrscr(); printf("shu ru yi ge shu shi jin zhin "); scanf("%d",shu); for(i=0;i { yushu=shu%2; shang=shu/2; a[i]=yushu; shu

FileZilla Client 3.26.0 发布,错误修复和小修改

FileZilla Client 3.26.0 发布了,FileZilla 是一个快速.可信赖的 FTP 客户端以及服务器端的开放源代码程序,具有多种特色.直观的接口.本次更新内容如下: Bug 修复和小修改: 当更改或删除主密码时,更新传输队列中服务器项目的受保护凭证 在没有用户名设置并使用"询问"登录类型的站点显示密码输入对话框时,修复记住复选框的显示 Windows .zip 二进制文件中缺少一些图标 文章转载自 开源中国社区 [http://www.oschina.net]

Laravel 5.0 发布 新版本特性详解

 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,本文讲解了目录结构.Contracts.路由缓存.路由中间.控制器方法注入.认证脚手架等新特性,需要的朋友可以参考下     译注: 期待 Laravel 5.0 已经很久很久了, 之前跳票说要到今年一月份发布. 从一月份就一直在刷新官网和博客, 始终没有更新的消息, 前几天终于看到官网文档切换到了 5.0 版. 新版本带来了众多令人激动的新特性, 尤其是定时任务队列和表单请求两个特性, 光看一下更新说明中的简单介绍都忍不住要上手

DataSet.AcceptChanges()后 SqlDataAdapter.Update(DataSet)时数据无法更新数据库 希望路过高人指点 谢谢了

问题描述 DataSet.AcceptChanges()后SqlDataAdapter.Update(DataSet)时数据无法更新数据库希望路过高人指点谢谢了 解决方案 解决方案二:自己顶解决方案三:有没异常出现?解决方案四:或是DataSet.HasChanges=false?解决方案五:没有任何异常解决方案六:我是你下面的并发冲突的贴,还没解决,头痛.DataSet.AcceptChanges()好像放在update的后面.解决方案七:放在update后面就起不到作用了我是GridView

frp 0.11.0 发布,内网穿透工具

内网穿透工具 frp 0.11.0 发布了. 新增: 增加支持 unix域套接字 的 Plugin. 增加 http proxy 的 Plugin. frpc 新增 login_fail_exit 配置项,如果为 false,则启动时连接服务器失败将不会退出,而是定期重连. frpc 新增 start 配置项,可以选择启用指定的 proxy,默认为空,表示全部. 优化: dashboard 自动清除 7天内没有使用的 proxy 的统计信息. dashboard 增加 frps 版本信息以及 p