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 144121 - [65cat] AssertionError at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize
Summary: [65cat] AssertionError at org.netbeans.modules.form.layoutdesign.support.Swin...
Status: RESOLVED DUPLICATE of bug 135387
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 21:01 UTC by piero
Modified: 2009-01-09 15:37 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 3269


Attachments
stacktrace (4.31 KB, text/plain)
2008-08-15 21:01 UTC, piero
Details
stacktrace (2.35 KB, text/plain)
2008-10-06 08:36 UTC, satish_jee2002
Details
stacktrace (2.35 KB, text/plain)
2008-10-06 09:08 UTC, satish_jee2002
Details
this is the project file when we open hotel view form the error occur. (9.75 MB, application/x-compressed)
2008-10-07 05:23 UTC, satish_jee2002
Details
Test.zip contains the Demo Application Appxx The Application is compiling. but when it HsDataShee_t.java is opened in NetBeans IDE it is creating “java.lang.AssertionError” Also several Components (jTable1 etc.) are not showing up in design area. (39.66 KB, application/octet-stream)
2008-10-20 14:39 UTC, himesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description piero 2008-08-15 21:01:34 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:374)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:370)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:260)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:253)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
Comment 1 piero 2008-08-15 21:01:47 UTC
Created attachment 67578 [details]
stacktrace
Comment 2 Jan Stola 2008-08-18 10:44:03 UTC
I am sorry, I am not able to reproduce this issue and the attached exception is not sufficient to track the problem 
down. Are you still able to reproduce it? If so, could you, please, provide more details? It would be ideal to attach 
the problematic form (both .java and .form files) saved in the last good state and describe exact steps that lead to 
this exception. Thank you in advance.
Comment 3 piero 2008-08-18 12:52:32 UTC
This error is not gone, stacktrace has 16 duplicates as well. But I was not able to reproduce this with specific steps 
- it just seems to appear from time to time. If I find specific steps I will post it here.

The project and code is owned by a client, providing the forms is not possible.
Comment 4 Jan Stola 2008-08-18 13:08:36 UTC
> This error is not gone, stacktrace has 16 duplicates as well.

Sure, we understand that this issue is still present, but we need more information to be able to fix it.

> The project and code is owned by a client, providing the forms is not possible.

If you are (or will be) able to reproduce this issue with forms that you cannot make public then you can e-mail me 
these files (together with steps to reproduce) privately. I will use them to reproduce (and fix) this issue and will 
delete them then.
Comment 5 Jan Stola 2008-08-25 10:28:01 UTC
No additional information provided => closing as non-reproducible. Feel free to reopen this issue when you are able to 
provide exact steps to reproduce. Thank you in advance.
Comment 6 agent_s_vlaznou_h2o 2008-10-04 13:24:54 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810031942)
Comment 7 Jan Stola 2008-10-04 21:02:49 UTC
> Reopening - reproduced in NetBeans IDE Dev (Build 200810031942)

Note that the issue wasn't claimed to be fixed. The issue was closed because no one was able to provide steps to 
reproduce. Are you able to do that? If so, please, attach the problematic form (both .java and .form files) and 
describe _exact_ steps that lead to this exception. Thank you in advance.
Comment 8 satish_jee2002 2008-10-06 08:36:22 UTC
Build: NetBeans IDE Dev (Build 200809220201)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:374)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:370)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:260)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:253)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
Comment 9 satish_jee2002 2008-10-06 08:36:26 UTC
Created attachment 71175 [details]
stacktrace
Comment 10 satish_jee2002 2008-10-06 09:08:29 UTC
Build: NetBeans IDE Dev (Build 200809220201)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:374)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.convertSize(SwingLayoutBuilder.java:370)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:260)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:253)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
Comment 11 satish_jee2002 2008-10-06 09:08:38 UTC
Created attachment 71178 [details]
stacktrace
Comment 12 satish_jee2002 2008-10-07 05:23:15 UTC
Created attachment 71251 [details]
this is the project file when we open hotel view form the error occur.
Comment 13 himesh 2008-10-20 14:39:13 UTC
Created attachment 72270 [details]
Test.zip contains the Demo Application Appxx The Application is compiling. but when it HsDataShee_t.java is opened in NetBeans IDE it is creating “java.lang.AssertionError”  Also several Components (jTable1 etc.) are not showing up in design area.
Comment 14 pribyl 2009-01-09 15:37:18 UTC
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Thanks for the sample projects and sorry for the delayed reply.

I can confirm, that in both cases (HotelView.java and HsDataShee_t.java) the same Exception is thrown.

However, it is not the original AssertionError, reported in the original post, but 'IllegalArgumentException: Invalid
size' Exception.

The same Exception is reported in issue 135387. I will mark this issue as a duplicate of that one 
(It the AssertionError is still thrown after fixing of 13587, then we can reopen this)

*** This issue has been marked as a duplicate of 135387 ***