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 255287 - AssertionError:
Summary: AssertionError:
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 255289 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-15 08:08 UTC by Alexander Simon
Modified: 2015-09-17 01:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219933


Attachments
stacktrace (9.01 KB, text/plain)
2015-09-15 08:08 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-09-15 08:08:17 UTC
Build: NetBeans IDE Dev (Build 20150915-d872f61008ea)
VM: Java HotSpot(TM) Client VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: SunOS

User Comments:
alexvsimon: trying commit




Stacktrace: 
java.lang.AssertionError:  
   at org.netbeans.modules.bugtracking.ui.repository.RepositoryComboRenderer.getListCellRendererComponent(RepositoryComboRenderer.java:93)
   at javax.swing.plaf.basic.BasicComboBoxUI.getBaseline(BasicComboBoxUI.java:979)
   at javax.swing.JComponent.getBaseline(JComponent.java:2561)
   at javax.swing.GroupLayout$ComponentSpring.getBaseline(GroupLayout.java:3075)
   at javax.swing.GroupLayout$BaselineGroup.calculateBaselineAndResizeBehavior(GroupLayout.java:2732)
   at javax.swing.GroupLayout$BaselineGroup.calculateSize(GroupLayout.java:2708)
Comment 1 Alexander Simon 2015-09-15 08:08:20 UTC
Created attachment 156173 [details]
stacktrace
Comment 2 Alexander Simon 2015-09-15 08:22:42 UTC
P1 because commit/export patch do not work.
My steps:
- open in favorites git sources
- make changes in file
- try to export uncommitted patch
Comment 3 Alexander Simon 2015-09-15 08:52:38 UTC
It seems the issue is consequence of fixing a bug #255203.
Comment 4 Tomas Stupka 2015-09-15 09:24:29 UTC
*** Bug 255289 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Stupka 2015-09-15 13:06:41 UTC
reproducible with jdk 1.7.0_80

BasicComboBoxUI.getBaseline() replaces a null value with " "
RepositoryComboRenderer does not expect this and is too conservative with it's asserts

doesn't seem to be the case with 1.8
Comment 6 Tomas Stupka 2015-09-15 16:09:55 UTC
fixed in jet-main #18f4fbe18f62
Comment 7 Quality Engineering 2015-09-17 01:26:14 UTC
Integrated into 'main-silver', will be available in build *201509170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/18f4fbe18f62
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #255287 - AssertionError: