on 03-10-2009 10:45 PM
Hello,
I have recently setup the Netweaver Developer studio on my system.
To test the setup, I created a simple Web Dynpro Application and tried to deploy it on the Application server. I right clicked on the Web Dynpro App and selected "Deploy New Archive and Run".
On doing so, I got the following error in the pop-up -> "An internal error occurred during: "Deploying project(s) 'Test1'". java.lang.NullPointerException
Also I got the following messages on the Deploy View of the Netweaver Developer studio (they are in reverse chronological order) :
Looking for Deploy Controller deploy mechanism...
SDM port not defined or not found
Found SDM host: usdcadocb
Checking for SDM host...
Start deployment
I have also verified that the java application server is running properly and I could see the server process and the SDM process in the Application servers process List.
It would be great if anybody can provide some help on this issue.
Best Regards,
Gaurav
Hi Gaurav,
If you are not able to deploy then check your J2EE Engine credentials.
Host Name and Port.
If you are getting not pointer exception then
Got the stayed line number and handle run time exception using try catch block.
As, Swati said you also check the cardinality and selection.
Regards,
Abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
My issue has been resolved.
I think the problem was with the version of Netweaver Development studio that I have been using. I tried using the trial version of NWDS ( CE 7.1) which is available for download from SDN and my problem was solved.
Also I was able to deploy the application through the Deployment Console of the application server so this feature solved my purpose as well.
Best Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Viswa,
Did the developer studio prompt you for SDM password before the beginning of deployment?
If yes, did you enter the correct password?
The Developer studio needs to connect to the SDM with correct login credentials (SDM password) before you can start deploying your application.
The main problem with my setup was that the SDM password that I entered was incorrect.
Let me know about this and then we can proceed with the further steps.
Best Regards,
Gaurav
Hi Gaurav,
I hope you have given the correct hostname & port while configuring SAP J2EE Engine for usage in NWDS. You can verify the same in NWDS (for releases <=7.0 / NW04s) under Window -> Show View -> J2EE Engine
Refer SAP Library http://help.sap.com/saphelp_nw04/helpdata/en/90/c1343e8c7f6329e10000000a114084/frameset.htm
(You can search 'Creating Your First Web Dynpro Application')
Hope this helps you.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Change the cordiality of the value node to 1..n and selection to 1...n
and check..
Regards,
H.V.Swathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
From the exception you can find out the line in the code where this null pointer exception occurs.
Please share the code line so that we can help you.
Jithin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you specify the correct host name and port number in your NWDS? and what is the code you have written in your sample application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.