Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Form Server Render Form

Avatar

28-10-2005

I am trying to Render a simple HelloWorld .xdp file with the Adobe LiveCycle Workflow Fields on it in order to email it out threw the Email with Attachments QPac. Here are my input and output fields:



INPUT

Form Query: /Forms/HELLOWORLD.xdp

Form Preference: PDF

Content Root URI: xappstore://livecycle

User Name: Administrator

Password: ********



OUTPUT

output document: /process_data/@myDoc

page count: /process_data/@myCount

page number: /process_data/@myPage



I do have all Variables declared within the designer.



When I run the workflow it stalls out at the the Render Form Qpac with this error...



com.adobe.formServer.interfaces.RenderFormException: java.lang.NullPointerException

at com.adobe.formServer.client.EJBClient.renderForm(EJBClient.java:357)

at com.adobe.formserver.wfplugin.RenderForm.RenderFormService.execute(Unknown Source)

at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)

at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBean.java:2320)

at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBMTBean.java:1903)

at sun.reflect.GeneratedMethodAccessor1009.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)

at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)

at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

at org.jboss.ejb.Container.invoke(Container.java:723)

at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)

at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

at $Proxy259.asyncContinueBranchCommand(Unknown Source)

at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandControllerBean.java:115)

at sun.reflect.GeneratedMethodAccessor527.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)

at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)

at org.jboss.ejb.Container.invoke(Container.java:723)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker$Message

Replies

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

30-10-2005

Hi Matt



You're defining the form template to use, but you're not defining the data to merge into the form.



To specify this, enter "XML Input Data" pointed at a form variable, as follows:

{$ serialize(/process_data/my_form/form-data/data/*, false) $}



XML Input Data should probably be marked as a mandatory field, because I don't believe you can use this QPAC without having valid input data.



The clue from your stack trace is the null pointer exception, indicating that some value that you're supposed to pass is null.



By the way, the page count and page number fields don't seem to be mandatory, even though they're marked as such.



Howard



Howard Treisman

Avoka Technologies

Specializing in Custom QPAC development and LiveCycle Solutions

http://www.avoka.com/avoka/qpac_library.shtml

Avatar

01-11-2005

I added {$ serialize(/process_data/formIn/form-data/data/*, false) $} to the Input XML Data field but i'm still getting a NullPointerException error. Is their anything else that I could try or any information I could give you to help further in this matter?

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

01-11-2005

Hi Matt



A couple of suggestions:

1. Have you set the JNDI_ProviderURL in the deployment settings for this QPAC? It should be set to localhost:1099 (or your server's hostname)

2. I noticed that you're using xappstore://livecycle for you content root uri. Is "livecycle" the name of your server? I use: xappstore://localhost. This is usually the correct value unless you're running Workflow on a different server to Form Manager.



I hope this helps...



Howard



Howard Treisman

Avoka Technologies

Specializing in Custom QPAC development and LiveCycle Solutions

http://www.avoka.com/avoka/qpac_library.shtml

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

02-11-2005

Hi Matt



Some QPACs have deployed properties, that you set once only when you initially deploy the QPAC. To get to the deployment properties, right click on on the QPAC in the component Palette, select Component Properties, and click on the Deployment Settings tab.



Howard



Howard Treisman

Avoka Technologies

Specializing in Custom QPAC development and LiveCycle Solutions

http://www.avoka.com/avoka/qpac_library.shtml

Avatar

17-03-2006

Other suggestions include stripping off the leading slash in the Form Query. Passing form data is not mandatory.

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

18-03-2006

Hi



I was wondering whether you ever got this going. I hit exactly the same error you're getting on a different installation, although I've definitely had success previously.



I'll look into it more, but any feedback would be appreciated.



Howard

Avatar

16-05-2006

Hi,



Did anybody sort this problem completely? I am facing exactly the same problem here.



My settings are -



Form Query - Forms/RealEstate_WF.xdp

Form Preference - PDF

Input XML Data - {$ serialize(/process_data/indata/form-data/data/*, false) $}

Content Root URI - xappstore://localhost

User Name-Administrator

Password - ********



Output Document - /process_data/@finalform (finalform is a Document type variable)



I also have set the JNDI_ProviderURL to localhost:1099.



Thanks and regards,

Shivajiv.

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

17-05-2006

Try this:

http://www.avoka.com/betaqpacs/QPAC_RenderPlus.jar

Please let me know if it works for you (or if it doesn't)!

Howard