- 
        1. Re: Theme No Selection Leads to Null Pointer Selectionhubertg Jul 14, 2006 5:11 AM (in response to richmitc)Hi, 
 try to delete the portal's database, then restart jboss.
 This should reset all settings including the theme.
 br, h
- 
        2. Re: Theme No Selection Leads to Null Pointer Selectionrichmitc Jul 14, 2006 7:18 AM (in response to richmitc)Yes, thanks! Moving the whole data subdirectory out and restarting worked. 
 Obviously, if I had somethng worth saving, this would not have been the right solution. I might yet need to figure out Hibernate.
 I'll post a bug report (as soon as I figure out how to do that).
 Thanks again.
 Rich
- 
        3. Re: Theme No Selection Leads to Null Pointer Selectionclaprun Jul 14, 2006 12:14 PM (in response to richmitc)I am unable to replicate the issue in CR2. Can you please try and see if it makes a difference? 
- 
        4. Re: Theme No Selection Leads to Null Pointer Selectionrichmitc Jul 14, 2006 2:34 PM (in response to richmitc)Yes, I received the same error in CR2. This is under Fedora Core 5 using Firefox. Here is what I did: 
 1. Rebooted my system.
 2. Cleared out my /usr/local/jboss directory.
 3. Followed this procedure to install a clean CR2
 http://enlitants.com/blog/2006/07/13/jboss-portal-24-install-on-fedora-core-5/
 4. Surfed to the portal.
 5. Logged in as admin.
 6. Expanded root in the management console. Selected default. Selected Themes. Selected "no selection". Clicked update. I get this error:
 HTTP Status 500 -
 type Exception report
 message
 description The server encountered an internal error () that prevented it from fulfilling this request.
 exception
 javax.servlet.ServletException
 org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:306)
 org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 root cause
 java.lang.NullPointerException
 org.jboss.portal.core.command.MarkupCommand.getTheme(MarkupCommand.java:358)
 org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:300)
 org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
 I only included the top part of the chain but can include it all if needed. I get this error now no matter what I do.
 Rich
- 
        5. Re: Theme No Selection Leads to Null Pointer Selectionfranco12 Oct 9, 2006 11:36 AM (in response to richmitc)"richmitc" wrote: 
 I am new to JBoss. I recently downloaded Portal 2.4CR1 and installed it on Fedora Core 5. I was experimenting with the various theme selections. After trying each of the other four, I tried "No Selection". Now I get a HTTP 500 error with a Null Pointer Exception no matter where I go. I'll try to figure out Hibernate and see if I can reset it. Maybe. Or perhaps, I'll just reinstall from scratch since I haven't done much yet.
 Anyway, if someone has a quick-and-dirty to fix this, I would appreciate it.
 Thanks.
 Rich
 I'm having the same NullPointerException error
 But how can I remove my database with JBoss Portal Bundled version (jboss-portal-2.4.0-bundled running on windows)
 Thanks :)
- 
        7. Re: Theme No Selection Leads to Null Pointer Selectionfranco12 Oct 10, 2006 5:22 AM (in response to richmitc)thanks Roy 
 
     
     
     
    