0 Replies Latest reply on May 22, 2008 4:06 AM by (AskQuestion)

    Error while rending XDP as PDF/HTML

      Hi,

      We are using LiveCycle_ES to render XDP file as PDF. Below is code.

      Properties oProps = new Properties();
      oProps.put(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, userName);
      oProps.put(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, password);
      oProps.put(ServiceClientFactoryProperties.DSC_SERVER_TYPE, ServiceClientFactoryProperties.DSC_JBOSS_SERVER_TYPE);
      oProps.put(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, ejbEndpoint);
      oProps.put(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL, ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);
      ServiceClientFactory factory = ServiceClientFactory.createInstance(oProps);

      Getting following error while executing last line of above code. Please guide me. What could be wrong.

      I want to render XDP file as PDF and HTML....

      2008-05-22 16:26:53,690 INFO [STDOUT] java.lang.NullPointerException
      2008-05-22 16:26:53,690 INFO [STDOUT] at com.adobe.logging.AdobeLoggerImpl.checkLoggable(AdobeLogManagerImpl.java:330)
      2008-05-22 16:26:53,690 INFO [STDOUT] at com.adobe.logging.AdobeLoggerImplBase.isLoggable(AdobeLoggerImplBase.java:173)
      2008-05-22 16:26:53,690 INFO [STDOUT] at com.adobe.logging.AdobeLoggerImplBase.entering(AdobeLoggerImplBase.java:468)
      2008-05-22 16:26:53,690 INFO [STDOUT] at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.createInstance(ServiceClientFactory.java :202)
      2008-05-22 16:26:53,690 INFO [STDOUT] at RenderFormServlet.runSample(RenderFormServlet.java:75)
      2008-05-22 16:26:53,706 INFO [STDOUT] at RenderFormServlet.doPost(RenderFormServlet.java:58)
      2008-05-22 16:26:53,706 INFO [STDOUT] at RenderFormServlet.doGet(RenderFormServlet.java:47)
      2008-05-22 16:26:53,706 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      2008-05-22 16:26:53,706 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
      2008-05-22 16:26:53,706 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      2008-05-22 16:26:53,706 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2008-05-22 16:26:53,706 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2008-05-22 16:26:53,706 INFO [STDOUT] at o