Yes, agreed, that looks like a byte array.  I don't know why it's occurring
at that point, however.  I'd probably have to trace into a debug instance
to find out.  I will try and do that.

@Andrea: any idea why a byte array is showing up there?  Is this an Oracle
extension issue, caused by the type of SDO_GEOMETRY?

On Thu, Apr 26, 2018 at 12:34 AM, Ian Turton <[email protected]> wrote:

> I'm fairly sure that class [B is a byte array, can you add the featuretype
> info?
>
> Ian
>
> On 25 April 2018 at 19:16, Martin Davis <[email protected]> wrote:
>
>> We are seeing an error when issuing GetLegendGraphic against an Oracle
>> view containing POINT geometries.
>>
>> The error trace is below.
>>
>> The styling is straightforward - uses a PNG as the icon for the point.
>> The layer displays the point feature icons correctly - it's just the legend
>> that doesn't work.  SLD is attached.
>>
>> Is this a known issue with Oracle?  (Is this possibly an issue with
>> trying to synthesize a layer feature in order to render the legend graphic?)
>>
>> Any idea why or what "class [B" refers to?
>> Is there a workaround?
>>
>> GeoServer version 2.9.2 - yes I know this is old, but perhaps someone
>> knows if this is an issue that has been fixed in a newer release?
>>
>>
>> 2018-04-25 11:07:41,463 DEBUG 
>> [security.IncludeQueryStringAntPathRequestMatcher]
>> - Matched Path: /wms, QueryString: SERVICE=WMS&VERSION=1.1.1&REQU
>> EST=getlegendgraphic&FORMAT=image/png&layer=CAMP_COMPLEX_POINT_SVW with
>> /**
>> 2018-04-25 11:07:41,463 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/wms]
>> 2018-04-25 11:07:41,463 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/wms]
>> 2018-04-25 11:07:41,463 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/wms]
>> 2018-04-25 11:07:41,463 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/wms]
>> 2018-04-25 11:07:41,463 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/wms]
>> 2018-04-25 11:07:41,463 DEBUG [ows.OWSHandlerMapping] - Mapping [/wms] to
>> HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@6cb1726a]
>> and 1 interceptor
>> 2018-04-25 11:07:41,463 INFO [geoserver.wms] -
>> Request: getServiceInfo
>> 2018-04-25 11:07:41,463 TRACE [sqlserver.jtds] - No JTDS jar on classpath
>> 2018-04-25 11:07:41,463 DEBUG [geotools.util] - CRSConverterFactory can
>> be applied from Strings to CRS  only.
>> 2018-04-25 11:07:41,463 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
>> 2018-04-25 11:07:41,463 DEBUG [geotools.util] -
>> InterpolationConverterFactory can be applied from Strings to Interpolation
>> only.
>> 2018-04-25 11:07:41,463 DEBUG [wms.legendgraphic] - looking for styles
>> 2018-04-25 11:07:41,463 ERROR [geoserver.ows] -
>> java.lang.IllegalArgumentException: class [B is not supported by this
>> method
>> at org.geotools.data.DataUtilities.defaultValue(DataUtilities.java:1016)
>> at org.geotools.feature.simple.SimpleFeatureBuilder.convert(Sim
>> pleFeatureBuilder.java:323)
>> at org.geotools.feature.simple.SimpleFeatureBuilder.set(SimpleF
>> eatureBuilder.java:310)
>> at org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleF
>> eatureBuilder.java:233)
>> at org.geotools.feature.simple.SimpleFeatureBuilder.template(Si
>> mpleFeatureBuilder.java:482)
>> at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBu
>> ilder.createSampleFeature(BufferedImageLegendGraphicBuilder.java:1020)
>> at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBu
>> ilder.createSampleFeature(BufferedImageLegendGraphicBuilder.java:942)
>> at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBu
>> ilder.getSampleFeatureForRule(BufferedImageLegendGraphicBuilder.java:569)
>> at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBu
>> ilder.calcSymbolScale(BufferedImageLegendGraphicBuilder.java:488)
>> at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBu
>> ilder.buildLegendGraphic(BufferedImageLegendGraphicBuilder.java:356)
>> at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produc
>> eLegendGraphic(PNGLegendOutputFormat.java:41)
>> at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produc
>> eLegendGraphic(PNGLegendOutputFormat.java:22)
>> at org.geoserver.wms.GetLegendGraphic.run(GetLegendGraphic.java:49)
>> at org.geoserver.wms.DefaultWebMapService.getLegendGraphic(Defa
>> ultWebMapService.java:349)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.springframework.aop.support.AopUtils.invokeJoinpointUsin
>> gReflection(AopUtils.java:302)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:157)
>> at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapS
>> erviceKmlInterceptor.java:34)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:179)
>> at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObj
>> ectLogger.java:55)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:179)
>> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
>> JdkDynamicAopProxy.java:208)
>> at com.sun.proxy.$Proxy63.getLegendGraphic(Unknown Source)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:840)
>> at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatche
>> r.java:268)
>> at org.springframework.web.servlet.mvc.AbstractController.handl
>> eRequest(AbstractController.java:147)
>> at org.springframework.web.servlet.mvc.SimpleControllerHandlerA
>> dapter.handle(SimpleControllerHandlerAdapter.java:50)
>> at org.springframework.web.servlet.DispatcherServlet.doDispatch
>> (DispatcherServlet.java:959)
>> at org.springframework.web.servlet.DispatcherServlet.doService(
>> DispatcherServlet.java:893)
>> at org.springframework.web.servlet.FrameworkServlet.processRequ
>> est(FrameworkServlet.java:968)
>> at org.springframework.web.servlet.FrameworkServlet.doGet(
>> FrameworkServlet.java:859)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>> at org.springframework.web.servlet.FrameworkServlet.service(
>> FrameworkServlet.java:844)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:303)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilte
>> r.java:209)
>> at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilte
>> r.java:244)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(Thr
>> eadLocalsCleanupFilter.java:28)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>> SpringDelegatingFilter.java:75)
>> at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFi
>> lter.java:71)
>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>> SpringDelegatingFilter.java:71)
>> at org.geoserver.filters.SpringDelegatingFilter.doFilter(Spring
>> DelegatingFilter.java:46)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.platform.AdvancedDispatchFilter.doFilter(Advan
>> cedDispatchFilter.java:50)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:316)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.access.intercept.FilterSecu
>> rityInterceptor.invoke(FilterSecurityInterceptor.java:126)
>> at org.springframework.security.web.access.intercept.FilterSecu
>> rityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>> ter(GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.access.ExceptionTranslation
>> Filter.doFilter(ExceptionTranslationFilter.java:114)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>> ter(GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerAnonymousAuthenticati
>> onFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.authentication.www.BasicAut
>> henticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
>> at org.springframework.web.filter.OncePerRequestFilter.doFilter
>> (OncePerRequestFilter.java:107)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>> ter(GeoServerCompositeFilter.java:92)
>> at org.geoserver.security.filter.GeoServerBasicAuthenticationFi
>> lter.doFilter(GeoServerBasicAuthenticationFilter.java:84)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.context.SecurityContextPers
>> istenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
>> at org.geoserver.security.filter.GeoServerSecurityContextPersis
>> tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>> ter(GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:330)
>> at org.springframework.security.web.FilterChainProxy.doFilterIn
>> ternal(FilterChainProxy.java:213)
>> at org.springframework.security.web.FilterChainProxy.doFilter(F
>> ilterChainProxy.java:176)
>> at org.geoserver.security.GeoServerSecurityFilterChainProxy.
>> doFilter(GeoServerSecurityFilterChainProxy.java:152)
>> at org.springframework.web.filter.DelegatingFilterProxy.invokeD
>> elegate(DelegatingFilterProxy.java:346)
>> at org.springframework.web.filter.DelegatingFilterProxy.doFilte
>> r(DelegatingFilterProxy.java:262)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDeb
>> ugFilter.java:48)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilt
>> er.java:44)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.springframework.web.filter.CharacterEncodingFilter.doFil
>> terInternal(CharacterEncodingFilter.java:121)
>> at org.springframework.web.filter.OncePerRequestFilter.doFilter
>> (OncePerRequestFilter.java:107)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>> dWrapperValve.java:218)
>> at org.apache.catalina.core.StandardContextValve.invoke(Standar
>> dContextValve.java:122)
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>> uthenticatorBase.java:614)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>> stValve.java:169)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:103)
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>> lve.java:956)
>> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>> EngineValve.java:116)
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>> apter.java:442)
>> at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>> tractHttp11Processor.java:1083)
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>> .process(AbstractProtocol.java:640)
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(
>> JIoEndpoint.java:318)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
>> run(TaskThread.java:61)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-req
>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> Ian Turton
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to