java.lang.IllegalArgumentException: FeatureReader allready produces contents with the correct schema

  1. 0

    GetFeatureInfo on a cascading WMS Connection using GeoServer

    Geographic Information Systems | 6 months ago | Mike001
    java.lang.IllegalArgumentException: FeatureReader allready produces contents with the correct schema
  2. 0

    source: http://forums.terracotta.org/forums/posts/list/2429.page Run any of the tim-hibernate-systems test with weblogic 9.x, for example (also make sure to set JAVA_HOME to a 1.5 versiojn): mvn -Psystem-tests integration-test -Dtest=TerracottaHibernateCacheTest -Dappserver=weblogic-9.2.mp3 A possible workaround is here: http://www.java-community.de/archives/110-XML-Schema-Validation-done-right.html This is the specific failure exception: org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104) at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116) at org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55) at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24) ... 16 more Caused by: java.lang.IllegalArgumentException: Schema at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146) at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222) at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123) ... 26 more

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    source: http://forums.terracotta.org/forums/posts/list/2429.page Run any of the tim-hibernate-systems test with weblogic 9.x, for example (also make sure to set JAVA_HOME to a 1.5 versiojn): mvn -Psystem-tests integration-test -Dtest=TerracottaHibernateCacheTest -Dappserver=weblogic-9.2.mp3 A possible workaround is here: http://www.java-community.de/archives/110-XML-Schema-Validation-done-right.html This is the specific failure exception: org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104) at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116) at org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55) at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24) ... 16 more Caused by: java.lang.IllegalArgumentException: Schema at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146) at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222) at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123) ... 26 more

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml
  5. 0

    XSSF Apache POI - IllegalArgumentException: maximum length of cell contents

    Stack Overflow | 10 months ago | Patel
    java.lang.IllegalArgumentException: The maximum length of cell contents (text) is 32,767 characters

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      FeatureReader allready produces contents with the correct schema

      at org.geotools.data.store.ReTypingFeatureIterator.typeAttributes()
    2. org.geotools.data
      ReTypingFeatureCollection.features
      1. org.geotools.data.store.ReTypingFeatureIterator.typeAttributes(ReTypingFeatureIterator.java:100)
      2. org.geotools.data.store.ReTypingFeatureIterator.<init>(ReTypingFeatureIterator.java:55)
      3. org.geotools.data.store.ReTypingFeatureCollection.features(ReTypingFeatureCollection.java:66)
      4. org.geotools.data.store.ReTypingFeatureCollection.features(ReTypingFeatureCollection.java:45)
      4 frames
    3. org.geoserver.wfs
      WFSGetFeatureOutputFormat.write
      1. org.geoserver.wfs.json.GeoJSONGetFeatureResponse.write(GeoJSONGetFeatureResponse.java:166)
      2. org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:194)
      2 frames
    4. org.geoserver.wms
      GetFeatureInfoResponse.write
      1. org.geoserver.wms.featureinfo.GeoJSONFeatureInfoResponse.write(GeoJSONFeatureInfoResponse.java:49)
      2. org.geoserver.wms.featureinfo.GetFeatureInfoResponse.write(GetFeatureInfoResponse.java:109)
      2 frames
    5. Open Web Service Module
      Dispatcher.handleRequestInternal
      1. org.geoserver.ows.Dispatcher.response(Dispatcher.java:937)
      2. org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:278)
      2 frames
    6. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
      6 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    9. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    11. org.geoserver.filters
      ThreadLocalsCleanupFilter.doFilter
      1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    13. org.geoserver.filters
      SpringDelegatingFilter$Chain.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
      1 frame
    14. org.geoserver.wms
      AnimatorFilter.doFilter
      1. org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
      1 frame
    15. org.geoserver.filters
      SpringDelegatingFilter.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
      2. org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
      2 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    17. Core Platform Module
      AdvancedDispatchFilter.doFilter
      1. org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    19. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      1 frame
    20. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    21. Spring Security
      FilterSecurityInterceptor.doFilter
      1. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      2 frames
    22. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      2 frames
    23. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    24. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    25. Spring Security
      ExceptionTranslationFilter.doFilter
      1. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      1 frame
    26. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      2 frames
    27. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    28. org.geoserver.security
      GeoServerCasAuthenticationFilter.doFilter
      1. org.geoserver.security.filter.GeoServerPreAuthenticationFilter.doFilter(GeoServerPreAuthenticationFilter.java:75)
      2. org.geoserver.security.cas.GeoServerCasAuthenticationFilter.doFilter(GeoServerCasAuthenticationFilter.java:212)
      2 frames
    29. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    30. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    31. Spring Security
      SecurityContextPersistenceFilter.doFilter
      1. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      1 frame
    32. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
      2. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      3. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      3 frames
    33. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      2. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
      2 frames
    34. Main Module
      GeoServerSecurityFilterChainProxy.doFilter
      1. org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
      1 frame
    35. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      2 frames
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    37. org.geoserver.filters
      LoggingFilter.doFilter
      1. org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
      1 frame
    38. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    39. org.geoserver.filters
      GZIPFilter.doFilter
      1. org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
      1 frame
    40. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    41. org.geoserver.filters
      SessionDebugFilter.doFilter
      1. org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
      1 frame
    42. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    43. org.geoserver.filters
      FlushSafeFilter.doFilter
      1. org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
      1 frame
    44. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    45. Main Module
      SetCharacterEncodingFilter.doFilter
      1. org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      1 frame
    46. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    47. org.apache.coyote
      AjpProcessor.process
      1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
      1 frame
    48. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
      2 frames
    49. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames