Ciao, you need to tell us more about what you are doing. - which sisop? - wich version of java? - what kind of data you are serving
and so on. Anyway, quick thought, I believe you are using Jpeg as the back-end format. Well if this is true there is a simple recipe for you, don't use Jpeg as the back-end format! You can switch to tiled geotiff with JPEG compression: check these slides http://goo.gl/74XUPq Regards, Simone Giannecchini == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Wed, Apr 16, 2014 at 10:13 AM, mlg27 <[email protected]> wrote: > > > when I try to preview a layer the exception is throw. > Internal error occurred javax.imageio.IIOException: Improper call to JPEG > library in state 202 Improper call to JPEG library in state 202 > > logg: > > org.geoserver.platform.ServiceException: Internal error occurred at > org.geoserver.wms.GetFeatureInfo.run(GetFeatureInfo.java:49) at > org.geoserver.wms.DefaultWebMapService.getFeatureInfo(DefaultWebMapService.java:346) > at sun.reflect.GeneratedMethodAccessor348.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > at com.sun.proxy.$Proxy24.getFeatureInfo(Unknown Source) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) at > org.geoserver.ows.Dispatcher.execute(Dispatcher.java:774) at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272) 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:923) > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) > at > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) > at > org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) > at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70) > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70) > at > org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) > at > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) > at > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) > at > org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > at > org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) > at > org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) > at > org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) > at > org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) > at > org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52) > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > at > org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) > at > org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134) > at > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) > at > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75) at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42) at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at > org.mortbay.jetty.Server.handle(Server.java:324) at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) > Caused by: java.lang.RuntimeException: javax.imageio.IIOException: Improper > call to JPEG library in state 202 at > com.sun.media.jai.imageioimpl.ImageReadOpImage.computeTile(ImageReadOpImage.java:706) > at > com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:914) > at javax.media.jai.OpImage.getTile(OpImage.java:1129) at > javax.media.jai.RenderedOp.getTile(RenderedOp.java:2257) at > org.geotools.coverage.grid.GridCoverage2D.evaluate(GridCoverage2D.java:543) > at > org.geotools.coverage.grid.GridCoverage2D.evaluate(GridCoverage2D.java:468) > at > org.geoserver.wms.featureinfo.RasterLayerIdentifier.identify(RasterLayerIdentifier.java:178) > at org.geoserver.wms.GetFeatureInfo.execute(GetFeatureInfo.java:77) at > org.geoserver.wms.GetFeatureInfo.run(GetFeatureInfo.java:43) ... 93 more > Caused by: javax.imageio.IIOException: Improper call to JPEG library in > state 202 at > com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method) > at > com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:604) > at > com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:598) > at > com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1054) > at > com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1034) > at > com.sun.media.jai.imageioimpl.ImageReadOpImage.computeTile(ImageReadOpImage.java:697) > ... 101 more 2014-04-15 17:41:03,734 INFO [geoserver.wms] - Request: getMap > Exceptions = SE_XML BgColor = java.awt.Color[r=255,g=255,b=255] Transparent > = false SldBody = null ValidateSchema = false Sld = null SldVersion = null > TilesOrigin = null FeatureVersion = null SRS = EPSG:3763 Styles = > [StyleImpl[ name=raster], StyleImpl[ name=freguesias], StyleImpl[ > name=municipios], StyleImpl[ name=distritos]] Layers = > [org.geoserver.wms.MapLayerInfo@934b551d, > org.geoserver.wms.MapLayerInfo@11d261a9, > org.geoserver.wms.MapLayerInfo@5592ff09, > org.geoserver.wms.MapLayerInfo@1bd31998] MaxFeatures = null Crs = > PROJCS["ETRS89 / Portugal TM06", GEOGCS["ETRS89", DATUM["European > Terrestrial Reference System 1989", SPHEROID["GRS 1980", 6378137.0, > 298.257222101, AUTHORITY["EPSG","7019"]], TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, > 0.0, 0.0], AUTHORITY["EPSG","6258"]], PRIMEM["Greenwich", 0.0, > AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], > AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH], > AUTHORITY["EPSG","4258"]], PROJECTION["Transverse_Mercator", > AUTHORITY["EPSG","9807"]], PARAMETER["central_meridian", > -8.133108333333334], PARAMETER["latitude_of_origin", 39.66825833333334], > PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 0.0], > PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["Easting", EAST], > AXIS["Northing", NORTH], AUTHORITY["EPSG","3763"]] Bbox = > SRSEnvelope[-35.432430190393 : -2.0255445246072, 28.009986277326 : > 44.174608373674] RemoteOwsType = null RemoteOwsURL = null Env = {} > FormatOptions = {} Angle = 0.0 CQLFilter = null Elevation = [] FeatureId = > null StartIndex = null ViewParams = null Palette = null Tiled = false Buffer > = 0 Filters = null Width = 682 Filter = null Time = [] Format = image/png > Height = 330 RequestCharset = UTF-8 Get = true BaseUrl =host:8080/geoserver/ > RawKvp = > {BBOX=-35.432430190393,28.009986277326,-2.0255445246072,44.174608373674, > VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=330, REQUEST=GetMap, > LAYERS=teste_layer, STYLES=, WIDTH=682, SRS=EPSG:3763} Request = GetMap > Version = 1.1.1 > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Improper-call-to-JPEG-library-in-state-202-tp5135326.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
