java.io.IOException: end of file

Oracle Community | User764821-Oracle | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OpenJPA Users - EntityManager.find() working fine, but simple queries are failing with odd error

    nabble.com | 1 year ago
    java.io.IOException: org.xml.sax.SAXException: > > > > > > zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp > > / > > > _WL_user/DynamicContent/ajz8vm/war/WEB- > > INF/lib/_wl_cls_gen.jar!/com/att/ > > > ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type > > > "com.att.ecom.dynamiccontent.domain.Catalog" could not be > > instantiated. > > >        at > > > > > > org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaD > > a > > > taParser.java:379) > > >        at > > > > > > org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j > > a > > > va:318) > > >        at > > > > > > org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j > > a > > > va:295) > > >        at > > > > > > org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j > > a > > > va:268) > > >        at > > > > > > org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Pers > > i > > > stenceMetaDataFactory.java:247) > > >        Truncated. see log file for complete stacktrace > > > > > > Caused By: org.xml.sax.SAXException: > > > > > > zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp > > / > > > _WL_user/DynamicContent/ajz8vm/war/WEB- > > INF/lib/_wl_cls_gen.jar!/com/att/ > > > ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type > > > "com.att.ecom.dynamiccontent.domain.Catalog" could not be > > instantiated. > > >        at > > > > > > org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataP > > a > > > rser.java:656) > > >        at > > > > > > org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar > > s > > > er.java:287) > > >        at > > > > > > org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam > > e > > > (XMLPersistenceMetaDataParser.java:1701) > > >        at > > > > > > org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass( > > X > > > MLPersistenceMetaDataParser.java:730) > > >        at > > > > > > org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar > > s > > > er.java:108) > > >        Truncated. see log file for complete stacktrace > > > > > > > Dec 17, 2009 4:56:10 PM > > org.apache.cxf.interceptor.LoggingInInterceptor > > > logging > > > INFO: Inbound Message > > > ---------------------------- > > > ID: 2 > > > Address: /DynamicContent/rest/content/category/cat2060040 > > > Encoding: > > > Content-Type: > > > Headers: {Host=[localhost:9001], User-Agent=[Jakarta > > > Commons-HttpClient/3.1], accept-encoding=[gzip,deflate], > > > Content-Type=[null]} > > > Payload: > > > -------------------------------------- > > > Dec 17, 2009 4:56:40 PM org.apache.cxf.phase.PhaseInterceptorChain > > > doIntercept > > > WARNING: Application has thrown exception, unwinding now > > > org.apache.cxf.interceptor.Fault > > >        at > > > > > > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvo > > k > > > er.java:155) > > >        at > > > > > > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j > > a > > > va:121) > > >        at > > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130) > > >        at > > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82) > > >        at > > > > > > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvok > > e > > > rInterceptor.java:58) > > >        at > > > > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > > >        at > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > >        at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    Root Cause Analysis

    1. java.io.IOException

      end of file

      at oracle.bi.rpc.BlobUtil.readInt()
    2. oracle.bi.rpc
      RpcEndPoint.readResponse
      1. oracle.bi.rpc.BlobUtil.readInt(BlobUtil.java:28)
      2. oracle.bi.rpc.RpcEndPoint.readResponse(RpcEndPoint.java:136)
      2 frames
    3. oracle.bi.utilitycomm
      SocketPool4.getFreeRpcClient
      1. oracle.bi.utilitycomm.ServerRpcClient4.doRpcHandshake(ServerRpcClient4.java:64)
      2. oracle.bi.utilitycomm.RpcClient.internal_open(RpcClient.java:137)
      3. oracle.bi.utilitycomm.RpcClient.open(RpcClient.java:157)
      4. oracle.bi.utilitycomm.SocketPool4$SocketPoolClient.create(SocketPool4.java:228)
      5. oracle.bi.utilitycomm.ObjectPoolFactory.createObjects_locked(ObjectPoolFactory.java:117)
      6. oracle.bi.utilitycomm.ObjectPoolFactory.getObject(ObjectPoolFactory.java:169)
      7. oracle.bi.utilitycomm.SocketPool4$SocketPoolClient.getObject(SocketPool4.java:254)
      8. oracle.bi.utilitycomm.SocketPool4$SocketPoolClient.getFreeRpcClient(SocketPool4.java:302)
      9. oracle.bi.utilitycomm.SocketPool4.getFreeRpcClient(SocketPool4.java:389)
      9 frames
    4. oracle.bi.jdbcclient
      TcpClientAPI.OpenSession
      1. oracle.bi.jdbcclient.TcpClientAPI.callRPC(TcpClientAPI.java:52)
      2. oracle.bi.jdbcclient.TcpClientAPI.OpenServer(TcpClientAPI.java:175)
      3. oracle.bi.jdbcclient.TcpClientAPI.OpenSession(TcpClientAPI.java:105)
      3 frames
    5. oracle.bi.jdbc
      AnaJdbcDriver.connect
      1. oracle.bi.jdbc.AnaJdbcConnection.<init>(AnaJdbcConnection.java:117)
      2. oracle.bi.jdbc.AnaJdbcDriver.connectToNQSNode(AnaJdbcDriver.java:398)
      3. oracle.bi.jdbc.AnaJdbcDriver.connect(AnaJdbcDriver.java:472)
      3 frames
    6. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:187)
      2 frames
    7. com.oracle.endeca
      ObiOperationsEjb.setDataSource
      1. com.oracle.endeca.pdi.jdbc.JdbcDatabase.createNewConnection(JdbcDatabase.java:48)
      2. com.oracle.endeca.pdi.jdbc.JdbcDatabase.checkCanConnect(JdbcDatabase.java:40)
      3. com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb.setDataSource(ObiOperationsEjb.java:67)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      6 frames
    10. com.oracle.pitchfork
      MethodInvocationVisitorImpl.visit
      1. com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      1 frame
    11. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    12. com.oracle.pitchfork
      EnvironmentInterceptor.invoke
      1. com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      1 frame
    13. com.bea.core
      JdkDynamicAopProxy.invoke
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      7. com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      7 frames
    14. com.sun.proxy
      $Proxy204.setDataSource
      1. com.sun.proxy.$Proxy204.setDataSource(Unknown Source)
      1 frame
    15. com.oracle.endeca
      ObiOperationsEjb_64dxhm_ObiOperationsImpl.__WL_invoke
      1. com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.__WL_invoke(Unknown Source)
      1 frame
    16. weblogic.ejb.container
      SessionLocalMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
      1 frame
    17. com.oracle.endeca
      CoreImpl.setDataSource
      1. com.oracle.endeca.pdi.workflow.operations.obi.ObiOperationsEjb_64dxhm_ObiOperationsImpl.setDataSource(Unknown Source)
      2. com.oracle.endeca.pdi.service.core.CoreImpl.setDataSource(CoreImpl.java:322)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    19. weblogic.wsee.jaxws
      WLSInstanceResolver$WLSInvoker.invoke
      1. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)
      2. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)
      2 frames
    20. JAX-WS RI Runtime Bundle
      ServletAdapter.handle
      1. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
      2. com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:268)
      3. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
      4. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
      5. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
      6. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
      7. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
      8. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:403)
      9. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:539)
      10. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)
      11. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
      11 frames
    21. weblogic.wsee.jaxws
      HttpServletAdapter$AuthorizedInvoke.run
      1. weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)
      2. weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
      2 frames
    22. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    23. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      1 frame
    24. weblogic.wsee.util
      ServerSecurityHelper.authenticatedInvoke
      1. weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
      1 frame
    25. weblogic.wsee.jaxws
      JAXWSServlet.doRequest
      1. weblogic.wsee.jaxws.HttpServletAdapter$3.run(HttpServletAdapter.java:311)
      2. weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)
      3. weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:99)
      3 frames
    26. Atmosphere weblogic
      AbstractAsyncServlet.service
      1. weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
      1 frame
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    28. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    29. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      1 frame
    30. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    31. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    32. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    33. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      1 frame
    34. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      3 frames
    35. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    36. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    37. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    38. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames