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 254373

Summary: java.lang.AssertionError on NetBeans exit if user asked for reload of attributes
Product: connecteddeveloper Reporter: Jiri Kovalsky <jkovalsky>
Component: BugzillaAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Messages.log containing the full java.lang.AssertionError stacktrace.

Description Jiri Kovalsky 2015-08-14 13:48:57 UTC
Created attachment 155351 [details]
Messages.log containing the full java.lang.AssertionError stacktrace.

Product Version         = NetBeans IDE Dev (Build 201508120002) (#5591f9d24de6)
Operating System        = Linux version 3.13.0-37-generic running on amd64
Java; VM; Vendor        = 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03; Oracle Corporation
Runtime                 = Java(TM) SE Runtime Environment 1.8.0_51-b16
Java Home               = /home/cesilko/Software/Java/jdk1.8.0_51/jre
System Locale; Encoding = cs_CZ (nb); UTF-8

Description:
============
If user starts to report an issue, then reloads attributes but suddenly has to catch a train, s/he decides to close the IDE as soon as possible which asks for confirmation what to do with the edited issue. When confirmation is closed by "Discard" button, the IDE throws java.lang.AssertionError and exits. See attached messages.log for the complete stacktrace.

Steps to reproduce:
===================
1. Invoke "Help > Report Issue..." from main menu.
2. Provide your login credentials, wait until the issue window is opened and start to type "Short description".
3. Click "Reload attributes" link.
4. While the task is running, close the new issues editor, click "Discard" button and then close the IDE.

Expected: IDE is silently closed.
Actual: IDE throws java.lang.AssertionError and then silently closes.
Comment 1 Tomas Stupka 2015-08-27 16:09:40 UTC
could reproduce, closing IDE in step 4.) not necessary
Comment 2 Tomas Stupka 2015-08-27 16:20:15 UTC
fixed in jet-main #d0bdc18b4c47
Comment 3 Quality Engineering 2015-08-29 03:03:24 UTC
Integrated into 'main-silver', will be available in build *201508290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d0bdc18b4c47
User: Tomas Stupka <tstupka@netbeans.org>
Log: raised version due to changes in #346d6987a826
Issue #254373 - java.lang.AssertionError on NetBeans exit if user asked for reload of attributes