This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123219 - NullPointerException at org.netbeans.modules.web.jsf.navigation.PageFlowController.updatePageItems
Summary: NullPointerException at org.netbeans.modules.web.jsf.navigation.PageFlowContr...
Status: RESOLVED DUPLICATE of bug 122840
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Joelle Lam
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 16:51 UTC by etf
Modified: 2008-02-12 17:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 13659


Attachments
stacktrace (1.36 KB, text/plain)
2007-12-02 16:51 UTC, etf
Details
stacktrace (1.36 KB, text/plain)
2008-01-29 13:13 UTC, zamuta
Details
stacktrace (1.36 KB, text/plain)
2008-02-12 17:23 UTC, zamuta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description etf 2007-12-02 16:51:16 UTC
Build: NetBeans IDE 6.0 RC2 (Build 200711201000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
The exception was throwen when I was trying to enable pagenation of the data table in visual JSF editor.
Comment 1 etf 2007-12-02 16:51:20 UTC
Created attachment 53761 [details]
stacktrace
Comment 2 Joelle Lam 2008-01-04 01:05:51 UTC
Do you know if page navigation (the faces-config editor) was closed at the time that you made this change? Where you
trying to bring it to the front or anything?
Comment 3 Joelle Lam 2008-01-12 06:49:44 UTC
I have been unable to reproduce this and the actual source lines given in the stack trace are obsolete.  With out
further response from the submitter, I can not make any further modifications.
Comment 4 David Botterill 2008-01-23 19:48:05 UTC
I'm getting the same exception. Here is my NetBeans "About" info:

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)
Userdir: /Users/david/.netbeans/6.0

Background:

I'm trying to open a page and I get this error text on the page with the flashing error badged on the bottom.

"There seems to be a missing body element, which is preventing the Visual Designer from displaying the page. You must
edit either the Java source file or the JSP source file, depending on where the error is, to correct the error.


The Exception in the dialog window show upon clicking the error badge is this:

java.lang.NullPointerException
	at org.netbeans.modules.web.jsf.navigation.PageFlowController.updatePageItems(PageFlowController.java:283)
	at org.netbeans.modules.web.jsf.navigation.Page$PageContentChangeListener.stateChanged(Page.java:343)
	at org.netbeans.modules.web.jsf.navigation.pagecontentmodel.PageContentModel.fireChangeEvent(PageContentModel.java:81)
	at
org.netbeans.modules.web.jsf.navigation.pagecontentmodel.PageContentModel.handleModelChangeEvent(PageContentModel.java:90)
	at org.netbeans.modules.visualweb.navigation.VWPContentModel.updateModel(VWPContentModel.java:211)
[catch] at org.netbeans.modules.visualweb.navigation.FacesModelSetListener$1.run(FacesModelSetListener.java:63)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

The JSP file DOES have the "BODY" element.

Comment 5 Joelle Lam 2008-01-24 07:32:13 UTC
Can you send me the project?  Is it reproducible?
Comment 6 zamuta 2008-01-29 13:13:21 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2003, 5.2, x86

User Comments: 
Comment 7 zamuta 2008-01-29 13:13:24 UTC
Created attachment 55701 [details]
stacktrace
Comment 8 Joelle Lam 2008-01-30 05:06:39 UTC
I am sorry, I should have looked at your build dates closer.  As of 11/30 (Bug #122840) Page Flow Editor no longer runs
in the background.  Others ran into this Out of Memory Error also, but got varying stack traces.  Ultimately it seemed
that there was a general problem that was fixed later (Bug #123193).

I recommend getting more updated bits.

*** This issue has been marked as a duplicate of 122840 ***
Comment 9 Exceptions Reporter 2008-02-11 18:56:40 UTC
THIS ISSUE HAS ALREADY 5 DUPLICATES
Comment 10 zamuta 2008-02-12 17:22:57 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2003, 5.2, x86

User Comments: 
Comment 11 zamuta 2008-02-12 17:23:13 UTC
Created attachment 56543 [details]
stacktrace
Comment 12 Joelle Lam 2008-02-12 17:56:53 UTC
This Bug Is Resolved.  No additional information is needed.  Please update your Netbeans to get the fix.