Had the same problem last night with a java agent that worked flawlessly on a Notes 7 client. After installing version 9 on a new computer and running the same agent, sometimes it would work and at other times I would receive that (impossible) NullPointerException
After trying every possible solution, changing security settings and java permissions, I realized that my agent was working if I didn't start the Java Debug Console prior to launching the agent the first time after staring Notes.
What I found out was that, if you
- Start Notes
- Open the java debug console
- launch the agent
- You get a NulPointerException
On the other hand, if I :
- Start Notes
- Launch the agent
- Open the Java debug console
- Success
Subsequent launch of the Java agent will return the same result no matter if the debug console is open or not. All that matters is the first time.....
OMG this is weird. Took me all night to finally understand how to "solve" my problem....
Please IBM fix this stupid bug.
Hope it helps.