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.
Summary: | NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeInclusionsInCommonSequence | ||
---|---|---|---|
Product: | guibuilder | Reporter: | MackSix |
Component: | Natural Layout | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 181843 |
Attachments: |
stacktrace
Project that exhibits the error. Project that exhibits the error. Project that exhibits the error 2. AWT component project that exhibits the error. Screenshot of action. |
Description
MackSix
2011-10-10 15:29:50 UTC
Created attachment 111792 [details]
stacktrace
Created attachment 111793 [details]
Project that exhibits the error.
Try to move jTextArea2 to the right and snap it to a preferred distance from the bottom of jList2.
This error occurs.
Product Version: NetBeans IDE Dev (Build 201110100600)
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)
Also, before this happened, the snap to guide lines were missing from the top of jProgressBar1 when I tried to vertically resize jTextArea2 or jList2 and snap to the top of it. It has something to do with the jButton2, because if I moved it up some, the snap guides returned. Also if I vertically resize the bottom of jList1 down and then move it back up and snap to the bottom of jTextArea1, it throws this error that should be fixed in the next Dev download. https://netbeans.org/bugzilla/show_bug.cgi?id=203112 Comment on attachment 111793 [details]
Project that exhibits the error.
Arrrrg, I did it again. Wrong project.
Created attachment 111798 [details] Project that exhibits the error. Here is the correct project, but I can't get this error to occur. But it does throw errors trying to vertically resize the jList2. It also throws this one too: https://netbeans.org/bugzilla/show_bug.cgi?id=203182 Created attachment 111801 [details] Project that exhibits the error 2. This is the same project, but now it is throwing https://netbeans.org/bugzilla/show_bug.cgi?id=191075 whenever I try to move jTextArea2 over to the right and snap it up to a preferred distance from jList2. So maybe this is fixed already. This report became a slightly confusing mix of test-cases for various exceptions, but if I understand correctly then none of the attached test-cases result in the original exception of this report, i.e., in NPE from mergeInclusionsInCommonSequence(). At least, I was not able to reproduce this exception using any of the test-cases. Hence, I am closing this issue as incomplete (=as missing steps to reproduce). (In reply to comment #7) > Created an attachment (id=111801) [details] > Project that exhibits the error 2. > > This is the same project, but now it is throwing > https://netbeans.org/bugzilla/show_bug.cgi?id=191075 whenever I try to move > jTextArea2 over to the right and snap it up to a preferred distance from > jList2. I found this test-case useful. It shows how to reproduce exception that we don't have reported yet (note that the issue 191075 was fixed already and has a different stack trace). So, I filled a new bug for this test-case: issue 203486 See Comment #6 The attachment id=111798 is file 532582.zip. That project did throw this exception as recorded here: http://statistics.netbeans.org/analytics/exception.do?id=532582 I should have linked to this before. In comment #6 I should have said, "I can't get the file to throw the exception again, but it did throw the exception." ;) I am even more confused by this issue. So, I have a simple question: Are you still able to reproduce this exception? If so, which project should I use and what steps should I follow? The file from comment #6 was saved exactly in the state it was before this error occurred. Although I could not get it to throw the error again after reopening it in the saved state. It really did throw this exception as recorded in Exception #532582. So at this point, I have no file that I can reproduce the error. Thanks > So at this point, I have no file that I can reproduce the error. Thank you for clarification. So, I believe that the issue is in the correct (=incomplete) state now. Feel free to reopen it if you find steps to reproduce but leave it closed otherwise (FYI: I was confused why you reopened this issue with your comment #9 when there were no additional information provided). Created attachment 112024 [details]
AWT component project that exhibits the error.
1) Open Project in NetBeans.
2) Open NewJFrame.java in Designer.
3) Try to move textArea2 over next to checkbox4 and snap to bottom & rightside of checkbox4. See attached picture for placement location.
This NullPointerException is thrown.
Product Version: NetBeans IDE Dev (Build 201110120600)
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)
Created attachment 112026 [details]
Screenshot of action.
Screenshot of new AWT Project showing placement of textArea2.
Thank you for a reproducible test-case. I am able to reproduce the exception using the project attached with comment #14 and steps described there. I can reproduce the exception on the test case from comment #14 (attachment 112024 [details]) in NetBeans 7.1.2, but not in current dev build. It must have been already fixed with something else. |