If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

[Cryptography] [ ERROR ] java.lang.NullPointerException

Started by Cog_rookie, 20 Aug 2013 06:35:37 AM

Previous topic - Next topic

Cog_rookie

Hi all,

When I try to start the primary CM I keep getting this error. I have re-created CSK, encrypt keys and sign but still get the error above.

I even re-did the cogstartup.xml file.

It all works fine after I re- do all of the above but when I re-start it again it comes up with the above error.

Does anyone know what the above error is referring to?

Any suggestions would be greatly appreciated.

Grim

Unix/Linux or Windows?

If unix/linux did you update the java env? JAVA_HOME set properly? LD_LIBRARY_PATH ok too?
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

Cog_rookie

Windows

There is no JAVA_HOME set in the environmental variables.

I think we don't require that in the windows settings do we?

Grim

On windows you do not, and should not have a JAVA_HOME set. Cognos on Windows comes with java.

Is this an older server? Do you have any remnats of old installs in the env vars?

Is DEP on? If yes turn it off.

When you regen the keys make sure you are deleting/moving all of the following:
Files...
<cognos>/configuration/caSerial
<cognos>/configuration/cogconfig.prefs
<cognos>/configuration/cogstartup.xml
<cognos>/temp/cam/freshness

Folders...
<cognos>/configuration/csk
<cognos>/configuration/encryptkeypair
<cognos>/configuration/signkeypair
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

emarshah

Hi Cog_rookie,

               you might need to set either JAVA_HOME variable
              or regeneration of Encyrpt keys will work http://www-01.ibm.com/support/docview.wss?uid=swg21344755.

Cog_rookie

I had to delete the JAVA_HOME variable in my environmental variables path.

Grim

"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

Cog_rookie

Thanks Grim.

I did not see the JAVA_HOME then.

Thanks for your help.