IBM Support

Null Pointer Exceptions when clicking on transactions in application manager?

Technical Blog Post


Abstract

Null Pointer Exceptions when clicking on transactions in application manager?

Body

Issue : Null pointer exceptions are seen in application manager when clicking on transactions.

Approach :As the error is in the application manager, we cannot gather VERBOSE level logs.

Troubleshoot from SystemOut.log and SystemError.log.

Check for lines which reads permission denied.

CLASSPATH component /InstallDir/foundation/properties/customer_overrides.properties: java.util.zip.ZipException: error in opening zip file

[2/15/15 15:52:44:039 EST] 0000004d SystemErr R log4j:ERROR setFile(null,true) call failed.

[2/15/15 15:52:44:039 EST] 0000004d SystemErr R java.io.FileNotFoundException: /InstallDir/foundation/logs/requestinfo.log (Permission denied)

[2/15/15 15:52:44:040 EST] 0000004d SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:223)

[2/15/15 15:52:44:040 EST] 0000004d SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:147)

[2/15/15 15:52:44:040 EST] 0000004d SystemErr R at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

[2/15/15 15:52:44:040 EST] 0000004d SystemErr R at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender

2/15/15 15:52:45:802 EST] 0000004d SystemErr R : Could not create Logger: /scadmin/foundation/logs/sci.log.D20150215.T155245

[2/15/15 15:52:45:802 EST] 0000004d SystemErr R Cannot write to log file.



Caused by: net.sf.ehcache.CacheException: ProductCategoryRefineFilterCache: Could not create disk store. Initial cause was /tmp/ehcache/ProductCategoryRefineFilter.data (Permission denied)


Resolution :Giving read/write permissions to these folders resolved the NPE

image

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11124865