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: | [68cat] AssertionError at org.netbeans.modules.form.layoutdesign.LayoutModel.addInterval | ||
---|---|---|---|
Product: | guibuilder | Reporter: | alied <alied> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | MackSix |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 163205 |
Bug Depends on: | |||
Bug Blocks: | 136425 | ||
Attachments: |
stacktrace
package currently being edited where the exception raises Project that exhibits the error. Screenshot of action. |
Description
alied
2009-12-01 09:38:46 UTC
Created attachment 91948 [details]
stacktrace
alied, there are several reports of this exception from you. Do you still have the GUI form on which it can be reproduced? Could you attach it here or send? It would help a lot, thanks. Last one was not in a form. It was on a plain java class anyway, I'll find the form in which originatelly I raised the exception Created attachment 91954 [details] package currently being edited where the exception raises This exception was raised very similarly to https://netbeans.org/bugzilla/show_bug.cgi?id=177921, but insead of an error line, i was editing a line with no error. Couldn't tell how it got to de Swing designer. Steps to reproduce: * Add two textfields in a column, left aligned, e.g. near top center of the form. * Add a button right of the first text field. * Press Ctrl-D on the button (duplicate). * Try to resize the duplicated button. Still valid Product Version: NetBeans IDE Dev (Build 201110040601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb) Created attachment 112001 [details]
Project that exhibits the error.
1) Open attached Project.
2) Open NewJFrame.java in designer.
3) Try to move scrollPane1 down and to the right.
4) Attempt to snap-to guide on textArea1 as shown in attached screenshot.
This NullPointerException it 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 112002 [details]
Screenshot of action.
This was reproducible, but I can't reproduce now in build from current sources. Much likely fixed together with some other bug. MackSix, your test case from Comment #7 is completely unrelated. There is no Duplicate action in it as in the original steps, and your claimed NullPointerException does not match the AssertionError reported here. Anyway, trying the case the NPE is not thrown anymore, the moved component just jumps to a different location. You may want to file a separate bug for that. Thanks (In reply to comment #9) > This was reproducible, but I can't reproduce now in build from current sources. > Much likely fixed together with some other bug. > > MackSix, your test case from Comment #7 is completely unrelated. There is no > Duplicate action in it as in the original steps, and your claimed > NullPointerException does not match the AssertionError reported here. Anyway, > trying the case the NPE is not thrown anymore, the moved component just jumps > to a different location. You may want to file a separate bug for that. Thanks Not sure how I got here with it. It may have been confusing multiple tabs open in FireFox. It should have gone with http://netbeans.org/bugzilla/show_bug.cgi?id=193928 which you have marked fixed. Thank you! :) Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ea3c6f4b2edb User: Tomas Pavek <tpavek@netbeans.org> Log: #177608: better detection of same overlapping situation (before vs after move) #177935: don't use the original "close" position if the new one is in the same group but narrower |