[MAGNOLIA-445] Under some circumstances EntryServlet/SecureURI throws NullPointerException Created: 14/Jun/05  Updated: 20/Jul/05  Resolved: 20/Jul/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Minor
Reporter: Kim Thrysøe Assignee: Boris Kraft
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, jakarta-tomcat-5.0.28


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   

Setup is
One tomcat-service with two contexts :
ROOT (Public instance) & magnolia (editor app.). Context does not shared classes/libs.



 Comments   
Comment by Kim Thrysøe [ 14/Jun/05 ]

Hmmm, saved before fininishing typing.

Here is a stack trace

java.lang.NullPointerException
        at info.magnolia.cms.security.SecureURI.isProtected(SecureURI.java:80)
        at info.magnolia.cms.servlets.EntryServlet.isAllowed(EntryServlet.java:155)
        at info.magnolia.cms.servlets.EntryServlet.doGet(EntryServlet.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
Comment by Fabrizio Giustina [ 17/Jul/05 ]

Should already be fixed in svn (the NPE was thrown only for a non-initialized repository).

Comment by Boris Kraft [ 20/Jul/05 ]

Change fix version to RC2

Generated at Mon Feb 12 03:17:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.