0 Replies Latest reply on Jun 11, 2010 7:40 AM by David López Felguera

    com.adobe.livecycle.formsservice.exception.RenderFormException: java.lang.NullPointerException

    David López Felguera

      Hi everyone,

       

      I'm trying to extract xml data from pdf document, and when I'm going to render this same xml data (without any kind of modification) with the pdf document template, I have this NullPointerException.

       

      This template was the same that was used to generated the previous pdf.

       

      I'm working with Adobe Livecycle 8.0, Can anyone help me?

       

      Thanks in advance!!

       

       

       

      This is the error trace:

       

      com.adobe.livecycle.formsservice.exception.RenderFormException: java.lang.NullPointerException

      at com.adobe.formServer.utils.StringUtils.findArraySegmentLimited(StringUtils.java:370)

      at com.adobe.formServer.utils.StringUtils.findArraySegment(StringUtils.java:403)

      at com.adobe.formServer.SnapIn.PDFMerge.PDFUpdate.MergeData(PDFUpdate.java:558)

      at com.adobe.formServer.SnapIn.PDFMerge.PDFUpdate.appendToPDFInternal(PDFUpdate.java:186)

      at com.adobe.formServer.SnapIn.PDFMerge.PDFUpdate.appendToPDF(PDFUpdate.java:71)

      at com.adobe.formServer.SnapIn.PDFMerge.PDFMerge.mergeIntoPDF(PDFMerge.java:215)

      at com.adobe.formServer.SnapIn.PDFMerge.PDFMerge.nativeRender(PDFMerge.java:175)

      at com.adobe.formServer.Controller.doNativeRender(Controller.java:530)

      at com.adobe.formServer.Controller.doRender(Controller.java:492)

      at com.adobe.formServer.Controller.render(Controller.java:131)

      at com.adobe.formServer.FormServer.renderForm(FormServer.java:191)

      at com.adobe.formServer.FormServer.renderForm(FormServer.java:256)

      at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:446)

      at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:405)

      at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:109)

      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:585)

      at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)

      at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)

      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)

      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:141)

      at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)

      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)

      at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)

      at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:80)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)

      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)

      at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)

      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:298)

      at com.adobe.idp.dsc.provider.impl.ejb.receiver.EjbReceiverBean.invoke(EjbReceiverBean.java: 151)

      at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl.invoke(Invocation_f pvhue_EOImpl.java:60)

      at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl_WLSkel.invoke(Unkno wn Source)

      at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)

      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)

      at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl_923_WLStub.invoke(U nknown Source)

      at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :137)

      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)

      at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

      at com.adobe.livecycle.formsservice.client.FormsServiceClient.invokeRequest(FormsServiceClie nt.java:392)

      at com.adobe.livecycle.formsservice.client.FormsServiceClient.renderPDFForm(FormsServiceClie nt.java:167)

      at cat.gencat.forms.adobe.ProcessosAdobe.renderForm(ProcessosAdobe.java:366)

      at cat.gencat.forms.webservice.LiveCycleFormsServeiImpl.renderitzarFormulariXDPLC(LiveCycleF ormsServeiImpl.java:195)

      at cat.gencat.forms.webservice.LiveCycleFormsServeiImpl.renderitzarFormulariXDP(LiveCycleFor msServeiImpl.java:113)

      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:585)

      at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)

      at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver. java:98)

      at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOut MessageReceiver.java:40)

      at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:9 6)

      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)

      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUt ils.java:275)

      at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)

      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

      at cat.gencat.forms.filter.FiltreCrono.doFilter(FiltreCrono.java:53)

      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3242)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 010)

      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)

      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)

      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)