XoomCode / AcidMaps

Interpolated Images Generator
GNU Lesser General Public License v3.0
33 stars 10 forks source link

Example doesn't work for me #7

Closed iKilledKenny closed 13 years ago

iKilledKenny commented 13 years ago

Hi, first thanx for the good work.

Acidmaps plugin works for me fine with http request. Now I want o make acidmaps perform with open layers So I tried to run your example and get this errors:

2011-09-07 10:04:47,125 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header!

2011-09-07 10:04:47,125 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2040) and height (0) cannot be <= 0

I put a width and height attribute to the example code, but it doesn't work. Any ideas?

Thanx

cjfarina commented 13 years ago

Hello,

Thank you for use AcidMaps.

I can`t find which is the cause of that error. Have you seen geoserver log? If you find a Java Exception in that, could you send me that in order to help you with your problem?

regards,

On Wed, Sep 7, 2011 at 5:10 AM, iKilledKenny < reply@reply.github.com>wrote:

Hi, first thanx for the good work.

Acidmaps plugin works for me fine with http request. Now I want o make acidmaps perform with open layers So I tried to run your example and get this errors:

2011-09-07 10:04:47,125 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header!

2011-09-07 10:04:47,125 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2040) and height (0) cannot be <= 0

I put a width and height attribute to the example code, but it doesn't work. Any ideas?

Thanx

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7

Ing. Carlos Farina, Project Manager and J2EE - Flex Architect www.porarriba.com Xoomcode, http://www.xoomcode.com

iKilledKenny commented 13 years ago

Hey,

thanx for reply.

Here are the entries from geoserver.log.

2011-09-07 15:23:41,000 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header! at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:307) at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:637) at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1212) at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1560) at javax.imageio.ImageIO.read(ImageIO.java:1422) at javax.imageio.ImageIO.read(ImageIO.java:1326) at com.xoomcode.acidmaps.AcidMapService.run(AcidMapService.java:253) at com.xoomcode.acidmaps.AcidMapService.GetMap(AcidMapService.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: javax.imageio.IIOException: Image height == 0! at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:268) ... 82 more 2011-09-07 15:23:41,000 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2221) and height (0) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) at java.awt.image.BufferedImage.(BufferedImage.java:312) at com.xoomcode.acidmaps.error.ErrorImageFactory.getErrorImage(ErrorImageFactory.java:12) at com.xoomcode.acidmaps.AcidMapService.buildErrorImage(AcidMapService.java:423) at com.xoomcode.acidmaps.AcidMapService.GetMap(AcidMapService.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

Thanx. Best regards

Erik Heinen

DIENSTLEISTUNGSZENTRUM LNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRCK

Rdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400

e-mail: Erik.Heinen@dlr.rlp.de Internet: www.dlr-rnh.rlp.de

Von: cjfarina reply@reply.github.com An: iKilledKenny erik.heinen@dlr.rlp.de Datum: 07.09.2011 15:15 Betreff: Re: [AcidMaps] Example doesn't work for me (#7)

Hello,

Thank you for use AcidMaps.

I can`t find which is the cause of that error. Have you seen geoserver log? If you find a Java Exception in that, could you send me that in order to help you with your problem?

regards,

On Wed, Sep 7, 2011 at 5:10 AM, iKilledKenny < reply@reply.github.com>wrote:

Hi, first thanx for the good work.

Acidmaps plugin works for me fine with http request. Now I want o make acidmaps perform with open layers So I tried to run your example and get this errors:

2011-09-07 10:04:47,125 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header!

2011-09-07 10:04:47,125 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2040) and height (0) cannot be <= 0

I put a width and height attribute to the example code, but it doesn't work. Any ideas?

Thanx

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7

Ing. Carlos Farina, Project Manager and J2EE - Flex Architect www.porarriba.com Xoomcode, http://www.xoomcode.com

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7#issuecomment-2028533

cjfarina commented 13 years ago

Do you say me that you pass WIDTH and HEIGHT params in http request? Debugging the code I found that you get that error when you don't give width and height params in http request.

On Wed, Sep 7, 2011 at 10:27 AM, iKilledKenny < reply@reply.github.com>wrote:

Hey,

thanx for reply.

Here are the entries from geoserver.log.

2011-09-07 15:23:41,000 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header! at

com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:307) at

com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:637) at

com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1212) at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1560) at javax.imageio.ImageIO.read(ImageIO.java:1422) at javax.imageio.ImageIO.read(ImageIO.java:1326) at com.xoomcode.acidmaps.AcidMapService.run(AcidMapService.java:253) at com.xoomcode.acidmaps.AcidMapService.GetMap(AcidMapService.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234) at

org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at

org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at

org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at

org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at

org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) at

org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185) at

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at

org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269) at

org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at

org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773) at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: javax.imageio.IIOException: Image height == 0! at

com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:268) ... 82 more 2011-09-07 15:23:41,000 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2221) and height (0) cannot be <= 0 at

java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) at java.awt.image.BufferedImage.(BufferedImage.java:312) at

com.xoomcode.acidmaps.error.ErrorImageFactory.getErrorImage(ErrorImageFactory.java:12) at

com.xoomcode.acidmaps.AcidMapService.buildErrorImage(AcidMapService.java:423) at com.xoomcode.acidmaps.AcidMapService.GetMap(AcidMapService.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234) at

org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at

org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at

org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at

org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at

org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at

org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) at

org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185) at

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at

org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269) at

org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at

org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773) at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

Thanx. Best regards

Erik Heinen

DIENSTLEISTUNGSZENTRUM LNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRCK

Rdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400

e-mail: Erik.Heinen@dlr.rlp.de Internet: www.dlr-rnh.rlp.de

Von: cjfarina reply@reply.github.com An: iKilledKenny erik.heinen@dlr.rlp.de Datum: 07.09.2011 15:15 Betreff: Re: [AcidMaps] Example doesn't work for me (#7)

Hello,

Thank you for use AcidMaps.

I can`t find which is the cause of that error. Have you seen geoserver log? If you find a Java Exception in that, could you send me that in order to help you with your problem?

regards,

On Wed, Sep 7, 2011 at 5:10 AM, iKilledKenny < reply@reply.github.com>wrote:

Hi, first thanx for the good work.

Acidmaps plugin works for me fine with http request. Now I want o make acidmaps perform with open layers So I tried to run your example and get this errors:

2011-09-07 10:04:47,125 ERROR [acidmaps.AcidMapService] - I/O error reading PNG header! javax.imageio.IIOException: I/O error reading PNG header!

2011-09-07 10:04:47,125 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Width (2040) and height (0) cannot be <= 0

I put a width and height attribute to the example code, but it doesn't work. Any ideas?

Thanx

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7

Ing. Carlos Farina, Project Manager and J2EE - Flex Architect www.porarriba.com Xoomcode, http://www.xoomcode.com

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7#issuecomment-2028533

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7#issuecomment-2028638

Ing. Carlos Farina, Project Manager and J2EE - Flex Architect www.porarriba.com Xoomcode, http://www.xoomcode.com

iKilledKenny commented 13 years ago

Hm...

I'm talking about this example: https://github.com/XoomCode/AcidMaps/tree/master/examples/isolines

If I tried to get this on my local machine, I get the posted errors in the geoserver.log. Even if i put with/height attributes to th js.

cjfarina commented 13 years ago

Mmm. That example didn't work for me too. I didn't developed that example, and the boy who developed that isn't here.

I have attached an example that works fine for me. This use bugsites layer of geoserver. Before you run that, you have to replace http://localhost:8080/geoserver by the right path in index.html.

Run that and say me if you can see a map please. If so, AcidMaps works well in your machine.

On Wed, Sep 7, 2011 at 11:23 AM, iKilledKenny < reply@reply.github.com>wrote:

Hm...

I'm talking about this example: https://github.com/XoomCode/AcidMaps/tree/master/examples/isolines-automatic! GitHub

If I tried to get this on my local machine, I get the posted errors in the geoserver.log. Even if i put with/height attributes to th js.

Reply to this email directly or view it on GitHub: https://github.com/XoomCode/AcidMaps/issues/7#issuecomment-2029152

Ing. Carlos Farina, Project Manager and J2EE - Flex Architect www.porarriba.com Xoomcode, http://www.xoomcode.com

iKilledKenny commented 13 years ago

Ahja this one works pretty well. Thx, seems like there's something missed in the js-code in the isolines-example.

Thank you, now I can make one step forward.