[
http://jira.jboss.com/jira/browse/JBPORTAL-1363?page=all ]
Sohil Shah resolved JBPORTAL-1363.
----------------------------------
Fix Version/s: 2.6 Final
Resolution: Done
Yep-
Issue was with a Hibernate Native SQL Query that was not mapping the proper ids from the
returned results into the corresponding Permission objects.
This was happening only with postgresql8. The query worked fine with hsqldb and
mysql/mysql5.
Its now fixed to work even with postgresql8.
Thanks for the feedback
java.lang.NullPointerException for Users Role after deleting demo
Test page
---------------------------------------------------------------------------
Key: JBPORTAL-1363
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1363
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal CMS
Affects Versions: 2.6.CR1
Environment: Win XP SP2, PostgreSQL 8.2, postgresql-8.2-505.jdbc3.jar,
jboss-portal-2.6-CR1-bundled.zip
Reporter: William Byrne
Assigned To: Sohil Shah
Fix For: 2.6 Final
Attachments: server.zip
Both PGSQL and JBossPortal are clean installations. Problem exhibited with both PGSQL 8.1
and 8.2. Problem does NOT show up with HSQLDB script..
1) Clean install of PGSQL DB
2) Clean install of JBossPortal bundle configured for PGSQL using
"portal-postgresql-ds.xml"
3) Run portal
4) Login as admin
5) Delete Test page under default portal
6) Logout
7) Login as user
java.lang.NullPointerException shown in center portal region.
Will attach complete log file. Refer to:
2007-04-28 04:02:49,339 ERROR [STDERR] java.lang.NullPointerException
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira