ERROR:java.lang.NullPointerException after upgrade 5.5 to 6.0sp1

Hellos.

I get this error message after upgrading from IdM 5.5 to Idm 6.0. I use mysql as repository so the upgrade was not easy.

The ERROR appears when I click on the "List Accounts" tab on the main menu.

However, I can listUsers from the $WSHOME/bin/lh console program quite happily.

The "Find Users" tab also works. I can search for and find and edit users.... but when I save I am returned to List Accounts page which then returns me the NullPointer.

What is going on?

Has anyone else met this and overcome it?

TIA

[566 byte] By [greenfan88] at [2007-11-26 10:41:18]
# 1

More on this...

when running $WSHOME/bin/lh config

I get messages to console...

UserUIConfig missing listViewAttributes

WARNING: No UserUIConfig object in repository

But I am actually using the BPE and I can edit the UserUIConfig object and save it...

but I still get these messages.

I think that these are related (missing listViewAttribute and Nullpointer error) but what could have caused this..

Also, how to I recover this?

HELP!

greenfan88 at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
I had the same issue going from version 5 sp3. 1- Did you run the update.xml from the sample directory?2- I don't remember, but I think the problem went away after I installed sp1 over version 6.I know I was not able to edit users as "Configurator" until I put in
chriscompani at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Thanks for the reply.

I have retraced my steps and I see the cause of all this. By the way I have just downloaded the Idm6 from the sun site. I believe its 6.0sp1. its named delightfully as: IdentityManager2005Q4M3.

I use mysql as the repository. solaris host with Sun AS 8.1

To go from Idm 5.5 to 6.0 I need upgrade my mysql as well.

Finally I got the working upgrade sequence

1. Stop AS

2. with mysql 4.0.24 issue mysqldump --database waveset > /tmp/saved.sql

3. Stop mysql 4.0.24

4. Install mysql 4.1.21 (set up the mysql DB and default users etc...)

5. Start mysql 4.1.21

6. Restore the saved 4.0 dump by

bin/mysql -u root < /tmp/saved.sql

7. NOW set the priviledges for waveset by running the 3 or 4 Grant sql statements in the create_waveset_tables.mysql file This is what I missed first time.

8. Install (unzip) the IdM 6.0 package

9. Run as mysql root user the upgrade mysql sql script provided in IdM 6 as mysql 4.1.21 is now running.

10. Upgrade IdM with the IdM6 /install and chosing the Update option

11. I gave the /data9/SUNWappserver81/domains/domain1/applications/j2ee-modules/idm as the install location...seemed to be Ok.

12. Watched in horror as there were lots of pre and post update things happening.. all out of my control..I guess update.xml was one of them.

13. Start AS

14 Test and verify IdM "works"

15. Wonder why Sun decided to change look and feel.

greenfan88 at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Hi All:I had the same problem; I can Find the users but cannot List accounts from the main menu and throws me java.lang.NullPointerException. However could list users from lh console.Can you suggest me what is the best way to remediate this error?G
G_identity at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5
Some additional information:Here I am using SQL Server 2000 as repository for 6.0 and on Solaris 9 and used same SQL Server 2000 for 5.5 as well.Thank You.G
G_identity at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

I imported the default UserUIConfig.xml and was able to 慙ist Accounts?in the menu page. But my customized UserUIConfig.xml is throwing the NullPointerException.

This Is what抯 happening in my code.Customized original UserUIConfig with these lines of code.

Added:

<SummaryAttrNames>

<String>employeeId</String>

<String>supervisorStatus</String>厖..

<QueryableAttrNames>

<List>

<String>employeeId</String>

<String>organizationCd</String>

<String>supervisorStatus</String>厖.

<AppletColumns>

<List>

<Object name='name'>

<Attribute name='label' value='UI_ATTR_NAME'/>

<Attribute name='sortBy' value='true'/>

</Object>

<Object name='lastname'>

<Attribute name='label' value='UI_ATTR_LASTNAME'/>

</Object>

<Object name='firstname'>

<Attribute name='label' value='UI_ATTR_FIRSTNAME'/>

</Object>

</List>

</AppletColumns>

Deleted:

<AppletSortColumn>

<Integer>0</Integer>

</AppletSortColumn>

<ListViewAttributes>

<Map>

<MapEntry key=`DisplayBracketOnBranch`>

<Boolean>false</Bolean>

厖厖厖厖厖?br></ListViewAttributes>

Can anybody suggest me if I am missing anything here? Should i be looking at someother xml file? Is the attributes in <AppletColumns>, a major concern?

Thank You.

G

G_identity at 2007-7-7 2:52:55 > top of Java-index,Web & Directory Servers,Directory Servers...