cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to upload file from Portal but application runs fine when deployed from NWDS.

Former Member
0 Kudos

Hi Experts,

 

i am facing issue while using file upload in Web Dynpro Java Application.

 

The application runs fine when i am deploying the application from NWDS but when I am previewing the application directly from the content admin -> Web Dynpro Applications, I am not able to load any file.

it is not giving any error also.

when i try to chck if the resource is properly set or not, then i found that resource is still null.

we are on EP 7.31.

 

Can someone help me on this?

Thanks,

Abhishek

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

gives Exception:

java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource.getResourceName() of an object returned from com.sap.demo.readexl.wd.comp.readexlcomp.wdp.IPrivateReadExlCompView$IContextElement.getResource()


let me know if anybody has ever came across this error while using this.

We are having Dual Stack Landscape (Java + ABAP). I'm not sure if this is affecting this.

Thanks,

Abhishek.

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi Abhishek

I am also facing similar kind of problem Have you resolved this problem? Please let me know if you have any solution for this.

Regards

KALYAN

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi Abhishek

Please let me know if you resolved the above problem.

I am still facing issue we are at 7.3 EHP1 SP6 level. please let me know.

Former Member
0 Kudos

Hi Kalyan,

We are still facing the same issue.

i will let you know once we came across the solution to fix this.

Thanks,

Abhishek.

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi Abhishek

Any clue on this issue.

We are still facing this issue in some servers which are upgraded recently

Thanks and Regards

KALYN

Former Member
0 Kudos

Hi Kalyan,

Please check following steps if this fix the issue:

  1. Open Config Tool.
  2. Expand "cluster-data" -> ..... -> "services" -> "servlet_jsp".
  3. Take screenshot of "Global_app_config/cookie_config/application_cookie" & "Global_app_config/cookie_config/session_cookie" if you want to revert your changes.
  4. set "Global_app_config/cookie_config/application_cookie/path" = Application
  5. set "Global_app_config/cookie_config/session_cookie/domain" = none
  6. set "Global_app_config/cookie_config/session_cookie/path" = Application
  7. Restart the server.

Reward points if helpful.

Thanks,
Abhishek.

ruchir_sinha
Participant
0 Kudos

Hi Abhishek,

Does these steps work? No one has confirmed the answer.

Regards,

Ruchir

Former Member
0 Kudos

Hi Ruchir,

These steps worked for me. but Kalyan hasn't confirmed it yet.
Can you please check if these steps works for you.

Regards,

Abhishek.

ruchir_sinha
Participant
0 Kudos

Hi Abhishek,

I opened the Config tool and there after servlet_jsp. But I could not find the other settings you mentioned by you. Can you please attach a screenshot for the same?

Regards,

Ruchir