[MAGNOLIA-846] On first start from war, page displayed is NPE instead of login Created: 15/May/06 Updated: 21/Jul/06 Resolved: 21/Jul/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | build |
| Affects Version/s: | 3.0 Beta 1 |
| Fix Version/s: | 3.0 RC3 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Smith | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows XP SP2, Sun Java 5, Tomcat 5.5.13 |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
When Magnolia first deploys, it bootstraps normally and the repository is successfully initialized. These warnings appear in the logs: WARN info.magnolia.cms.beans.config.ModuleLoader 15.05.2006 07:36:45 – won't initialize the module workflow since a system restart is needed On subsequent request to a page, a NullPointerException is displayed instead of a login screen: ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/magnolia3].[magnolia] 15.05.2006 07:37:42 – Servlet.service() for servlet magnolia threw exception Restart Tomcat and the problem goes away. If Magnolia needs a restart, notice to that effect should be displayed instead of a generic NPE stack trace. |
| Comments |
| Comment by Fabrizio Giustina [ 21/Jul/06 ] |
|
the NPE shold not happen again |