NullPointerException with RDi 9.6.0.7
The iSphere Project for and RDi 9.5.1.3+
Brought to you by:
f_hildebrandt,
tools400
Sorry, but I cannot reproduce the problem. I also cannot understand why there is a NullPointerException (NPE), because technically that should be impossible.
The NPE happens in class com.ibm.as400.data.PcmlDocRoot, statement 52. That is:
The only way to get a NPE there is when m_hash is null. But actually m_hash cannot be null, because it is initialized in the constructor of the class:
The source code of PcmlDocRoot can be found here:
https://sourceforge.net/p/jt400/svn/3324/tree/trunk/src/com/ibm/as400/data/PcmlDocRoot.java#l52
Can you install RDi a second time (parallel to your existing installation) and try the search again?
Though I do not think that it is an iSphere plug-in or library issue, please also check that you use the right library.
The NPE happens before the program call, so actually it cannot be a library issue.
I am lost. Maybe '-clean' helps to get things fixed.
New instance of RDi with iSphere works as expected.
With original instance I attempted -clean with same results. Attempted new workspace and removing all plugins except base RDi and iSphere. Different error now, attached.
Samuel,
since a new instance of RDi/iSphere works fine and since nobody else reported a similar problem I suggest to close the ticket. It seems as if something went wrong with the update on 9.6.0.7.
Last but not least the relevant iSphere classes have not been changed for a long time.
I do not know what to check further.
Thomas.
Last edit: Thomas Raddatz 2020-02-23
Thanks Tom, I'll have our development team reinstall RDi. We can close it out.