cancel
Showing results for 
Search instead for 
Did you mean: 

Java.lang.NullPointerException:null during the JSPM startup

Former Member
0 Kudos

Hi

We upgraded BW system to BI 2004s and installed BI-Java add-in. we have R/3 46c system on the same unix system.

When I try to launch JSPM I get following error message.

An error has occurred during the execution of the JSPM_MAIN phase

Java.lang.NullPointerException:null

You can find more information in the log file

/usr/sap/BWP/DVEBMGS03/j2ee/JSPM/log/log_2006_10_24_10-

20_55/JSPM_MAIN_1_01.log

Use the information provided to troubleshoot the problem. An SAP note may provide a solution to this problem. Search for SAP Notes with the following key words.

Com.sap.sdt.jspm.phaes.PhaseTypeJSPM

Com.sap.sdt.util.diag.javaException

Java.lang.NullPointerException: null

JSPM_MAIN

JSPMPhases

NetWeaver Upgrade

SAPJup

Java upgrade

output of Dialog.log file

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7185 - 630]/>

<!--NAME

[/usr/sap/BWP/DVEBMGS03/j2ee/JSPM/log/log_2006_10_24_10_20_55/DIALOG.LOG]/-->

<!PATTERN[DIALOG.LOG]/>

<!FORMATTER[com.sap.tc.logging.ListFormatter]/>

<!ENCODING[ASCII]/>

<!LOGHEADER[END]/>

No luck even after upgrading JSPM patch level to 8.1. Any help is appreciated and will be rewarded.

Warm Regards

Raghu

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

PS: i am using Linux Suse 9

Former Member
0 Kudos

<b>...and here my JSPM param text,:

vi param/jspm_config.txt

</b>

      1. see com.sap.sdt.ucp.dialog.DialogFactoryProperties

/dialog/directory = config/dialog

#/dialog/serverConnection = TestServerConnection

#/dialog/serverConnection = UaServerConnection

#/dialog/UaServerConnection/port = 6240

#/dialog/UaServerConnection/port = 4240

/dialog/serverConnection = SDTServerConnection

/dialog/SDTServerConnection/mode = SDTGui

/dialog/SDTServerConnection/port = 6240

/dialog/SDTServerConnection/SDTGui/launch = true

/dialog/SDTServerConnection/SDTGui/config = jspm

/dialog/recordNameSpace = J2EEInputRecording

/dialog/recording = off

/dialog/autoCreateVariables = on

  1. ********** CHOOSE WHICH TYPE YOU WANT TO RUN *********

/pcecontrol/phaselistfile = phaselist_jspm.xml

/pcecontrol/recorderfile = phaselist.rec

/pcecontrol/logfile = phaselist.log

/pcecontrol/breakfile = phaselist.brk

/pcecontrol/suppressDialogs = true

      1. see com.sap.sdt.ucp.var.VariableFactoryProperties

/varhandler/directory = data/variables

/varhandler/checkSum = false

      1. JSPM steps recording file and evaluation details

/jspm/recorderfile = jspmstep.rec

/jspm/evaldetails = true

      1. flag is application statup settings must be restored after patch

/jspm/appSnapshot = true

      1. time in seconds SDM will wait J2EE server to start during deployment

/jspm/sdmTimeout = 21600

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

"param/jspm_config.txt" 40L, 1297C

Former Member
0 Kudos

Hi

i have tried all what you have mentioned above but i still can not start JSPM.

here is the result:

<b>ebay-test:et1adm 98> StartServer.sh "password=xxxxxxx"</b>

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0009.20060817110748.0000

JStartupFramework is active

Operation mode of SDM in JStartupFramework is "Integrated".

Check if Server is running already.

Another SDM Server is running already and correctly replied to a "Ping"

Could not start SDM. Processing error. Return code: 4

<b>ebay-test:et1adm 99> cd ../../j2ee/JSPM/

ebay-test:et1adm 100> go</b>

Current log directory is /usr/sap/ET1/DVEBMGS00/j2ee/JSPM/log/log_2007_11_24_15_05_02.

Execution failed: Program has finished with error. 1

java.lang.NullPointerException: null

com.sap.sdt.tools.main.MainException: Program has finished with error. 1

java.lang.NullPointerException: null

at com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:482)

at com.sap.sdt.jspm.main.Jspm.main(Jspm.java:190)

<b>ebay-test:et1adm 101> vi log/log_2007_11_24_15_05_02/JSPM.LOG</b>

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7185 - 630]/>

<!NAME[/usr/sap/ET1/DVEBMGS00/j2ee/JSPM/log/log_2007_11_24_15_05_02/JSPM.LOG]/>

<!PATTERN[JSPM.LOG]/>

<!FORMATTER[com.sap.tc.logging.ListFormatter]/>

<!ENCODING[UTF8]/>

<!LOGHEADER[END]/>

#1.5#C000C0A802DC000000000000420E420E00043FAD37BB8190#1195913103761#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.bootstrap.Bootstrap.init(Bootstrap.java:287)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.bootstrap.Bootstrap.init(Bootstrap.java:287)#Java###Starting JSPM bootstrap...##

#1.5#C000C0A802DC0000000000003B2C3B2C00043FAD37DF0B38#1195913106089#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.main.Jspm.runBootStrapping(Jspm.java:155)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.main.Jspm.runBootStrapping(Jspm.java:155)#Java###JSPM version is .#1#7.00.9.2.1.4.35# #1.5#C000C0A802DC0000000000013B2C3B2C00043FAD37DFAB60#1195913106140#/System/Server/Upgrade/JSPM##com.sap.sdt.ucp.bootstrap.BootStrap.run(BootStrap.java:318)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.bootstrap.BootStrap.run(BootStrap.java:318)#Java###Bootstrapping has started.## #1.5#C000C0A802DC0000000000023B2C3B2C00043FAD37E12A30#1195913106238#/System/Server/Upgrade/JSPM##com.sap.sdt.ucp.bootstrap.BootStrap.execute(BootStrap.java:399)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.bootstrap.BootStrap.execute(BootStrap.java:399)#Java###Bootstrapping common execution has been completed.## #1.5#C000C0A802DC0000000000033B2C3B2C00043FAD37E18FC0#1195913106264#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.db.DBFactoryManager#all#0# #1.5#C000C0A802DC0000000000043B2C3B2C00043FAD37E3BE58#1195913106407#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.j2ee.J2eeFactoryManager#all#630# #1.5#C000C0A802DC0000000000053B2C3B2C00043FAD37E5BE10#1195913106538#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.j2ee.J2eeFactoryManager#all#700#

#1.5#C000C0A802DC0000000000063B2C3B2C00043FAD37E5C1F8#1195913106539#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:743)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:743)#Java###Bootstrapping common configuration has been completed.##

#1.5#C000C0A802DC0000000000073B2C3B2C00043FAD37E61400#1195913106560#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.j2ee.J2eeFactoryManager#UNX#0# #1.5#C000C0A802DC0000000000083B2C3B2C00043FAD37E65280#1195913106576#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.j2ee.J2eeFactoryManager#UNX#630# #1.5#C000C0A802DC0000000000093B2C3B2C00043FAD37EA9458#1195913106855#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.j2ee.J2eeFactoryManager#UNX#700# #1.5#C000C0A802DC00000000000A3B2C3B2C00043FAD37EAF9E8#1195913106881#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.jspm.JspmFactoryManager#UNX#0#

#1.5#C000C0A802DC00000000000B3B2C3B2C00043FAD37EBC8F0#1195913106934#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.FactoryManagerConfigurator.configureLibrary(FactoryManagerConfigurator.java:133)#Java###Factory manager has been initialized with code and version .#3#com.sap.sdt.tools.UtilFactoryManager#UNX#0# #1.5#C000C0A802DC00000000000C3B2C3B2C00043FAD37EBC8F0#1195913106934#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:770)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:770)#Java###Bootstrapping configuration for has been completed.#1#UNX#

#1.5#C000C0A802DC00000000000D3B2C3B2C00043FAD37EC26B0#1195913106958#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:824)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.bootstrap.BootStrappingConfigurator.configure(BootStrappingConfigurator.java:824)#Java###Bootstrapping configuration for has been completed.#1#700#

#1.5#C000C0A802DC00000000000E3B2C3B2C00043FAD37EC26B0#1195913106958#/System/Server/Upgrade/JSPM##com.sap.sdt.ucp.bootstrap.BootStrap.run(BootStrap.java:384)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.bootstrap.BootStrap.run(BootStrap.java:384)#Java###Bootstrapping has ended.##

#1.5#C000C0A802DC00000000000F3B2C3B2C00043FAD37EC3E20#1195913106964#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:488)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:488)#Java###java.lang.NullPointerException: null##

#1.5#C000C0A802DC0000000000103B2C3B2C00043FAD37EC4208#1195913106965#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:482)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:482)#Java###Program has finished with error. 1##

~

~

~

~

~

~

"log/log_2007_11_24_15_05_02/JSPM.LOG" 26L, 7499C

Former Member
0 Kudos

Restarting the Java services seemed to have fixed the issue for me also.

0 Kudos

Hi Raghu,

JSPM is the tool to apply support package, you can see all info at the link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/25/c45b4211aac353e10000000a1550b0/frameset.htm

When use this tool you have to pay particular attention to prerequisite, in my experience I had a problem with disk space under file system /usr/sap/<SID>, if you apply a lot of support package you need the space indicate below:

From the help online "The deployment of the SCA files from the global EPS inbox directory is handled by SDM. If the total size of an SCA is X MB, at least 2 times X MB must be free under the /usr/sap/<SID>/<Central instance name>SDM/root directory. In addition, during the deployment X MB must be free temporarily under the /usr/sap/<SID>/<Central instance name>/SDM/program/temp directory. Therefore, a total of 3 times X MB must be free under the /usr/sap/<SID>/<Central instance name>/SDM directory"

In order to not have a big /usr/sap/<SID> i solved my problem creating link to the temp directory where jspm save .sca package.

Best Regards

Giuseppe

Former Member
0 Kudos

This issue got resolved. I had two instance profile files . One is BWP_DVEBMGS03_SAPTCH and another one is BWP_DVEBMGS03_saptch (lower case hostname). Instance Profile BWP_DVEBMGS03_SAPTCH did not had jstartup/vm/home = <JDK path> parameter. I deleted BWP_DVEBMGS03_SAPTCH and JSPM came up with out any issues.

Thanks for your help. I gave points for both of you.

Regards

Raghu

Former Member
0 Kudos

I have the same problem

But it cant be solved in this way because i have one profile and it has right jstartup/vm/home parameter...

Any ideas?

Thanks in advance,

Mikhail

Former Member
0 Kudos

Hi, do you still have the Problem ?

Former Member
0 Kudos

Hello Everyone,

I had the same problem. However, I did nothing but restarted J2EE server. The problem was solved by itself.......

Eddie

Former Member
0 Kudos

Hi,

i use the note 879377.

In the .../SDM/program i have changed the memory from 256 to 512:

StopServer.sh

./sdm.sh newjdk memory=512

StartServer.sh

Now it works fine!

Benz

Former Member
0 Kudos

Hi Raghu,

Can you tell me how ur trying to start JSPM?

It should be started only by SIDadm.

I guess ur starting it from root