Bug 110594 - NPE accessing search tab with Intermedia enabled
NPE accessing search tab with Intermedia enabled
Status: CLOSED RAWHIDE
Product: Red Hat Enterprise CMS
Classification: Retired
Component: ui (Show other bugs)
nightly
All Linux
medium Severity medium
: ---
: ---
Assigned To: Vadim Nasardinov
Jon Orris
:
Depends On:
Blocks: 109665
  Show dependency treegraph
 
Reported: 2003-11-21 11:32 EST by Jon Orris
Modified: 2007-04-18 12:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-24 16:36:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jon Orris 2003-11-21 11:32:05 EST
Description of problem:
@38201

Accessing the Search tab when intermedia is created gives an NPE in
the Categorization code.

To Reproduce:
1) Create some content and assign to categories.
2) Go to search tab
3) Boom

(Step 1 may not be neccessary; just recording what I did so far.)

java.lang.NullPointerException
	at
com.arsdigita.categorization.Category.getDescendants(Category.java:1515)
	at
com.arsdigita.search.ui.filters.SimpleCategoryFilterWidget.getCategories(SimpleCategoryFilterWidget.java:73)
	at
com.arsdigita.search.ui.filters.CategoryFilterWidget.generateBodyXML(CategoryFilterWidget.java:75)
	at
com.arsdigita.search.ui.FilterComponent.generateXML(FilterComponent.java:56)
	at
com.arsdigita.bebop.SimpleContainer.generateChildrenXML(SimpleContainer.java:243)
	at
com.arsdigita.search.ui.BaseQueryComponent.generateXML(BaseQueryComponent.java:126)
	at
com.arsdigita.bebop.SimpleContainer.generateChildrenXML(SimpleContainer.java:243)
	at
com.arsdigita.bebop.SimpleContainer.generateXML(SimpleContainer.java:260)
	at com.arsdigita.bebop.FormSection.generateXML(FormSection.java:635)
	at
com.arsdigita.bebop.SimpleContainer.generateChildrenXML(SimpleContainer.java:243)
	at
com.arsdigita.bebop.SimpleContainer.generateXML(SimpleContainer.java:260)
	at com.arsdigita.bebop.Form.generateXMLSansState(Form.java:234)
	at com.arsdigita.bebop.Form.generateXML(Form.java:194)
	at com.arsdigita.bebop.TabbedPane.generateXML(TabbedPane.java:444)
	at
com.arsdigita.bebop.SimpleContainer.generateChildrenXML(SimpleContainer.java:243)
	at
com.arsdigita.bebop.SimpleContainer.generateXML(SimpleContainer.java:260)
	at com.arsdigita.bebop.Page.generateXML(Page.java:641)
	at com.arsdigita.bebop.Page.buildDocument(Page.java:742)
	at com.arsdigita.cms.dispatcher.CMSPage$1.excurse(CMSPage.java:280)
Comment 1 Vadim Nasardinov 2003-11-24 16:15:25 EST
Did Archit's change 38260 fix this?
Comment 2 Jon Orris 2003-11-24 16:36:09 EST
Fixed @38260

Note You need to log in before you can comment on or make changes to this bug.