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 256041 - [cat81] IDE completly hangs
Summary: [cat81] IDE completly hangs
Status: RESOLVED DUPLICATE of bug 255955
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 08:17 UTC by muellermi
Modified: 2015-10-21 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (125.32 KB, text/plain)
2015-10-20 10:54 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2015-10-20 08:17:32 UTC
Build: NetBeans IDE Dev (Build 201510190002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

(report with automatic log from within NB is not possible, due to #256039)

create  class:

public class Triple<T1, T2, T3> {

    private T1 _value1;
    private T2 _value2;
    private T3 _value3;

    public Triple(final T1 value1, final T2 value2, final T3 value3) {
        _value1 = value1;
        _value2 = value2;
        _value3 = value3;
    }
}

- place pointer onto any T1 and press Ctrl+R (Rename)
- rename type to String
- place pointer onto any T2 and press Ctrl+R (Rename)
- rename type to String
 --> NB responds with a nullpointer exception (reported as #256037)

- press Ctrl+S (save)
 --> NB completely freezes, need to be killed by taskmanager

Yesterday, I faced a complete freeze by renaming a css class in a JSF page, which had not been reproducible. This might have been related to this bug

Renaming a type reproduces the bug.
Comment 1 Jiri Kovalsky 2015-10-20 10:41:06 UTC
If you can reproduce it Michael, can you please generate a full thread dump while the IDE hangs and attach it here? Thanks a lot!

I could only reproduce the NPEs, not the freeze itself. Since it is not reproducible, downgrading priority.
Comment 2 muellermi 2015-10-20 10:54:24 UTC
Freeze occurs only during save. Maybe only on a windows system.
I'm going to try at home (win 8), if I'll get time.
Comment 3 muellermi 2015-10-20 10:54:29 UTC
Created attachment 156832 [details]
IDE log
Comment 4 Ralph Ruijs 2015-10-20 13:41:05 UTC
Please attach a thread dump[1] from when the IDE is unresponsive. Thanks!

[1] - http://wiki.netbeans.org/GenerateThreadDump
Comment 5 muellermi 2015-10-20 15:28:05 UTC
Jirka confirmed: "I could only reproduce the NPEs, not the freeze itself. Since it is not reproducible, downgrading priority."
He could confirm the cause, not the freeze. Close as "invalid" does NOT solve and existing  problem. Reopened.

I'm going to try a dump, even there is a freeze.
Comment 6 Miloslav Metelka 2015-10-21 08:54:44 UTC
According to your build datetime 201510190002 this is a dup of issue #255955 very likely. Please download a newer build. If the problem would persist please reopen. Thanks.

*** This bug has been marked as a duplicate of bug 255955 ***