cancel
Showing results for 
Search instead for 
Did you mean: 

PDFDocumentRuntimeException: Severe : PDFDocument is NULL response code 401

Former Member
0 Kudos

Hi,

Our devlopement sandbox environment

is NW 04s, J2EE Engine 7.00 patchlevel

and i am using NWDS 2.0.16.

I develop a simple Interactive

Form Application

(TutWD_OnlineInteractiveForm_Init)

and deployed.

However while i am trying to access

this application i am

getting the follwoing exception.

com.sap.tc.webdynpro.clientserver.adobe.pdfdocument

.base.core.PDFDocumentRuntimeException: Severe : PDFDocument is NULL. Exception :

Service call exception; nested exception is:

com.sap.engine.services.webservices.jaxrpc.

exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://xxxxxxx:50000/

AdobeDocumentServices/Config?style=document"

at com.sap.tc.webdynpro.clientserver.uielib.adobe

.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:385)

at com.sap.tc.webdynpro.clientserver.cal.

ClientApplication.afterApplicationModification(ClientApplication.java:1117)

at com.sap.tc.webdynpro.clientserver.cal.

ClientComponent.afterApplicationModification(ClientComponent.java:887)

at com.sap.tc.webdynpro.clientserver.window.

WindowPhaseModel.doRespond(WindowPhaseModel.java:573)

at com.sap.tc.webdynpro.clientserver.window.

WindowPhaseModel.processRequest(WindowPhaseModel.java:152)

at com.sap.tc.webdynpro.clientserver.window.

WebDynproWindow.processRequest(WebDynproWindow.java:330)

at com.sap.tc.webdynpro.clientserver.cal.

AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.

ApplicationSession.doProcessing(ApplicationSession.java:297)

at com.sap.tc.webdynpro.clientserver.session.

ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)

at com.sap.tc.webdynpro.clientserver.session.

ClientSession.doApplicationProcessing(ClientSession.java:660)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)

at com.sap.tc.webdynpro.clientserver.session.

RequestManager.doProcessing(RequestManager.java:152)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:40)

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

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Thanks in advance for helping me.

Regards,

Ranjan

Accepted Solutions (0)

Answers (3)

Answers (3)

krishanu_biswas
Active Participant
0 Kudos

Hello Ranjan,

Please check that the user name and the password used in the client proxy configuration screen of the visual administrator, actually exists on the ADS and has the proper role assignment. Follow the ADS configuration guide for 04s for the same.

The web service url is generally logged on the stack trace. Could you please try that on your browser and then try to make a test call to your ADS through the test bed with the username and password. Check whether you get the OK response and the ADS version in return.

Best Regards,

Krish

Former Member
0 Kudos

It could or be the reader credential lisence or you are should check your authorisations and role mapping

Former Member
0 Kudos

Hi,

Just wanted to ask if you resolved this issue. If yes, then please do let me know how you resolved it as i am getting the same prolem.

Thanks & Regards...

angel_dichev
Active Participant
0 Kudos

Do you guys have valid ADS license?

Refer to the tutorial how to install and configure ADS.

Regards, Angel