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 150606 - NullPointerException at org.netbeans.modules.visualweb.designer.jsf.ui.RenderErrorPanelImpl.updateErrors
Summary: NullPointerException at org.netbeans.modules.visualweb.designer.jsf.ui.Render...
Status: REOPENED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 10:52 UTC by rinog
Modified: 2009-09-04 21:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 12736


Attachments
stacktrace (6.87 KB, text/plain)
2008-10-18 10:52 UTC, rinog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rinog 2008-10-18 10:52:33 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.designer.jsf.ui.RenderErrorPanelImpl.updateErrors(RenderErrorPanelImpl.java:141)
        at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.showErrors(JsfTopComponent.java:549)
        at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.updateErrors(JsfTopComponent.java:531)
        at org.netbeans.modules.visualweb.designer.jsf.ui.JsfMultiViewElement.updateErrors(JsfMultiViewElement.java:189)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.notifyViewsUpdateErrors(JsfForm.java:1503)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.doUpdateComponentForErrors(JsfForm.java:995)
Comment 1 rinog 2008-10-18 10:52:38 UTC
Created attachment 72175 [details]
stacktrace
Comment 2 Peter Zavadsky 2008-10-20 17:42:24 UTC
It seems there was provided error in some component but no error attached to it. i will probably add check for that case
in the code, to print the other details in case it happens.
Comment 3 Peter Zavadsky 2008-10-20 19:00:54 UTC
Fixed.

changeset:   106259:31f2bcbecea8
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Mon Oct 20 10:08:54 2008 -0700
summary:     #150606 Providing logging of the problem and avoiding NPE.
Comment 4 Quality Engineering 2008-10-21 04:07:24 UTC
Integrated into 'main-golden', will be available in build *200810210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/31f2bcbecea8
User: Peter Zavadsky <pzavadsky@netbeans.org>
Log: #150606 Providing logging of the problem and avoiding NPE.
Comment 5 Exceptions Reporter 2008-10-30 11:11:27 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810290201)
http://statistics.netbeans.org/exceptions/detail.do?id=134197
Comment 6 Exceptions Reporter 2009-09-04 21:02:10 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=12736