[MAGNOLIA-2042] NullPointerException in TreeColumn.getHtml() when importing a node with no template Created: 04/Feb/08  Updated: 04/Aug/15  Resolved: 04/Aug/15

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 3.5.4
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Andy Pippin Assignee: Philipp Bärfuss
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Oracle, Weblogic 10.0 (MP1), JDK 1.5.0_11


Attachments: Text File TreeColumn-NPE.txt    
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   

First view of the Website in AdminCentral causes a NullPointerException in info.magnolia.cms.gui.control.TreeColumn TreeColumn.java(getHtml:268). Supbsequent navigation seems to work.

Full stack trace in attachment.



 Comments   
Comment by Magnolia International [ 05/Feb/08 ]

Can you please:

  • provide more details as to how to reproduce this issue
  • provide the stacktrace as an attachment
    thanks !
Comment by Andy Pippin [ 06/Feb/08 ]

To duplicate:
1. Deploy the author or public instance in Weblogic 10.0 (MP1).
2. Log in and go to AdminCentral, Website tab.

To regenerate the error, go to another tab (i.e. Packager) and back to the Website.

We currently have a single node in the website.

Comment by Andy Pippin [ 06/Feb/08 ]

Stack trace.

Comment by Andy Pippin [ 06/Feb/08 ]

We imported a node that doesn't have a template name. While this is a mistake on our part, it might be a "good thing" to have the import check to see if the node is valid.

Please go ahead and close this. Thanks for your attention.

Comment by Magnolia International [ 06/Feb/08 ]

Andy, thanks for reporting this. I'll leave it open (with an edited title) as this is indeed something we could or should check.

Comment by Michael Mühlebach [ 04/Aug/15 ]

We're closing this issue as outdated as it was reported for 4.4.x or earlier versions which are no longer supported. Don't hesitate to reopen or create a new ticket in case this is still relevant and you'll experience it on 4.5.x or later versions.

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