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 201381 - java.lang.NullPointerException "Align top in row"/"Align bottom in row"
Summary: java.lang.NullPointerException "Align top in row"/"Align bottom in row"
Status: RESOLVED DUPLICATE of bug 128977
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 7.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 17:24 UTC by MackSix
Modified: 2011-11-16 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Source File That Causes Bug (27.72 KB, text/plain)
2011-08-27 17:25 UTC, MackSix
Details
Zip file with java and form file. (7.14 KB, application/octet-stream)
2011-08-29 12:16 UTC, MackSix
Details
exception details (3.38 KB, text/plain)
2011-08-29 12:19 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-08-27 17:24:11 UTC
7.1 Dev 201108220601

One chooses three components that are positioned one above the other and then clicks "Align top in row" ("Align bottom in row") button. This action causes java.lang.NullPointerException.

Attached is java source file "MainView.java" that this occurs with. Selection of jPanel4, jTextAreaTextEditor, and jLabelInformation causes this if "Align top in row" or "Align bottom in row" is clicked.


Product Version: NetBeans IDE Dev (Build 201108220601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2011-08-27 17:25:56 UTC
Created attachment 110257 [details]
Source File That Causes Bug

One chooses three components that are positioned one above the other and then
clicks "Align top in row" ("Align bottom in row") button. This action causes
java.lang.NullPointerException.

Attached is java source file "MainView.java" that this occurs with. Selection
of jPanel4, jTextAreaTextEditor, and jLabelInformation causes this if "Align
top in row" or "Align bottom in row" is clicked.
Comment 2 Jan Stola 2011-08-29 09:43:45 UTC
Could you, please, attach also the corresponding .form file. I am not able to reproduce this issue using just .java file. Thank you in advance.
Comment 3 MackSix 2011-08-29 12:16:13 UTC
Created attachment 110264 [details]
Zip file with java and form file.
Comment 4 MackSix 2011-08-29 12:19:47 UTC
Created attachment 110265 [details]
exception details
Comment 5 Jan Stola 2011-08-29 12:34:39 UTC
Thank you for the additional information.

*** This bug has been marked as a duplicate of bug 128977 ***