java.lang.NullPointerException when trying to access the RBS Configuration page in iManager 2.5

  • 7006104
  • 25-May-2010
  • 26-Apr-2012

Environment

Novell iManager 2.5

Situation

java.lang.NullPointerException when trying to access the RBS Configuration page in iManager 2.5
Cannot access iManager RBS Configuration page.

Resolution

If you are logged into iManager with Collection Owner access and try to go to the Configuration options, Role Based Services, RBS Configuration page you will receive a java.lang.NullPointerException error. If you are logged in with Unrestricted access the page will come up without the Collection listed as is normal.

The eMFrame.jar file has been modified to compensate for a missing version number for the RBS Modules. The new eMFrame.jar file is included in iManager 2.5 MU1 (iman25mu1.tgz) or later, which is available at https://support.novell.com/filefinder

Additional Information

There is a module in the RBS Collection that does not have a version number specified.
If you cannot apply MU1, you can work around the issue by using Unrestricted mode (TID 7006109 - Forcing Unrestricted Mode access in iManager 2.5 or greater) or by manually adding a version number to the module that is missing it.
To manually add the version number to the rbsModule2 object in eDirectory you can follow these steps:

  1. Determine which module is missing the version number:

    1. Open ConsoleOne.

    2. Browse to the collection container and expand it.

    3. Right click a rbsModule2 object (represented by the   icon) and select properties.

    4. Go to the Other tab and double click the rbsXMLInfo attribute. It will have a value similar to this: <?xml version="1.0" encoding="UTF-8"?><rbs-xml-info><version>1.0</version>.........</rbs-xml-info>

    5. Verify that there is a <version> tag present. If there is a version, click Cancel and move to the next rbsModule2 object until you find one missing the <version> tag.

  2. Once you have found the module missing the <version> tag:

    1. Double click the value in the rbsXMLInfo attribute and then click the “...” icon to the right. Or just highlight the attribute and click Modify.

    2. Directly after the <rbs-xml-info> tag, insert the text “<version>1.0</version>” (without the quotes).

    3. Click OK to save your change to the rbsXMLInfo attribute and then click OK again to save the object.

  3. You should now be able to see the collection in iManager. (If you still receive a java.lang.nullPointerException error there is another module without a version number. You will need to repeat the steps until you find all modules without version numbers.)


Formerly known as TID# 10097314
Formerly known as TID# NOVL101716