Bug 102077 - NPE when creating CI with a template
Summary: NPE when creating CI with a template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Justin Ross
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 101458
TreeView+ depends on / blocked
 
Reported: 2003-08-10 19:24 UTC by Jon Orris
Modified: 2005-10-31 22:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-10 21:39:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Jon Orris 2003-08-10 19:24:17 UTC
Description of problem:
@34479 Oracle & postgres.

Create and publish a template for a Content Type, say Agenda.
Try to create a content item. Get an NPE

-*-*-*- Section: Stack trace -*-*-*-
java.lang.NullPointerException
	at
com.arsdigita.cms.ContentTypeWorkflowTemplate.getWorkflowTemplate(ContentTypeWorkflowTemplate.java:98)
	at com.arsdigita.cms.ui.authoring.PageCreate.process(PageCreate.java:129)
	at com.arsdigita.bebop.FormSection.fireProcess(FormSection.java:491)
	at com.arsdigita.bebop.FormSection$4.process(FormSection.java:465)
	at com.arsdigita.bebop.FormModel.fireFormProcess(FormModel.java:478)
	at com.arsdigita.bebop.FormModel.process(FormModel.java:345)
	at com.arsdigita.bebop.Form.process(Form.java:440)
	at com.arsdigita.bebop.MetaForm.process(MetaForm.java:164)
	at com.arsdigita.bebop.Form.respond(Form.java:281)
	at com.arsdigita.bebop.PageState.respond(PageState.java:368)
	at com.arsdigita.bebop.Page.process(Page.java:696)
	at com.arsdigita.bebop.Page.process(Page.java:678)
	at com.arsdigita.bebop.Page.buildDocument(Page.java:732)
	at com.arsdigita.cms.dispatcher.CMSPage$1.excurse(CMSPage.java:271)
	at com.arsdigita.cms.CMSExcursion.run(CMSExcursion.java:71)

Comment 1 Justin Ross 2003-08-12 19:06:34 UTC
Fixed in perforce 34564.


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