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 141155 - [65cat] NullPointerException when editing a web application with visual design
Summary: [65cat] NullPointerException when editing a web application with visual design
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: _ deva
URL:
Keywords:
: 141149 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-22 13:27 UTC by havan
Modified: 2008-09-17 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception output from Exception Reporter (3.09 KB, text/plain)
2008-07-22 13:27 UTC, havan
Details
message log when this exception was thrown (130.54 KB, text/plain)
2008-07-22 13:28 UTC, havan
Details
The rectangle at the center is a table from palette (58.58 KB, image/png)
2008-07-22 13:31 UTC, havan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description havan 2008-07-22 13:27:19 UTC
[ BUILD # : 200807170007 ]
[ JDK VERSION : 1.6.0_07 ]

NullPointerException is thrown when visually designing a web
application. Also component are not rendered correctly. I will attach
a sreenshot to clarify what I mean.

* Create a web application
* On first page and Design tab, click table and try to add a table to
page, it's added but not rendered correctly
* Then rigth click on that table and select Table Layout
* --> NPE

Works with C or en_US locale.

I'm setting to P1 according to bug priority guideline as this blocks
using visual web design and there is no known work around except
setting locale to C or en_US.

PS: This could be related or dublicate of 141149. If so, please mark
it as.

* http://www.netbeans.org/issues/show_bug.cgi?id=141149

---------------
Product Version: NetBeans IDE Dev (Build 200807170007)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Linux version 2.6.25.10-102 running on i386; UTF-8; tr_TR
(nb)
Userdir: /home/havan/.netbeans/dev
Comment 1 havan 2008-07-22 13:27:51 UTC
Created attachment 65231 [details]
exception output from Exception Reporter
Comment 2 havan 2008-07-22 13:28:50 UTC
Created attachment 65232 [details]
message log when this exception was thrown
Comment 3 havan 2008-07-22 13:31:58 UTC
Created attachment 65233 [details]
The rectangle at the center is a table from palette
Comment 4 Peter Zavadsky 2008-07-22 14:38:35 UTC
I had a look, there went something wrong inside the method (see the NPE's stack trace). This seems to be the same as
issue #141149.
Comment 5 _ deva 2008-07-23 00:52:25 UTC
This is caused because of not using Locale in one of the String.toUpperCase() calls in web/jsf code. As per document, 
it can cause problems with turkish locale.
Comment 6 _ deva 2008-07-23 00:53:24 UTC
*** Issue 141149 has been marked as a duplicate of this issue. ***
Comment 7 havan 2008-07-23 07:50:47 UTC
I don't understand. How this is _fixed_ then? Is this issue fixed in code or do I have to use the workaround ('en'
locale) to get it working? 
Comment 8 Quality Engineering 2008-07-23 11:44:10 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #339 build
Changeset: http://hg.netbeans.org/main/rev/6407a42f88d3
User: deva@netbeans.org
Log: Fix for #141155: NullPointerException when editing a web application with visual design
Comment 9 josin 2008-09-17 12:25:47 UTC
Verfied.