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.
This bug was originally marked as duplicate of bug 267235, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201608050002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 10 User Comments: nleck: Navigate to nleck: reporting error zmirc: Pressed CTRL + Click on a Java Class name to take me to that class. muellermi: More precise: The bug appears every time hitting the at sign of an annotation (tested with cdi annotations only). Because the identation, mostly theses are the class annotations.... GUEST: Its not frequent but happens mostly for any one or all of these actions Undo, Redo, Select multiline code jomu: edit method annotation ehsavoie: Opeining file with conflicts after a rebase GUEST: Ctrl + Z. Alniks: while writing a unit test hmichel: Navigating inside a Java file paolosca: Editing a PHP file mclaborn: (I think) Ctrl + alt + click on a method to get to a subclass implementation GUEST: selecting multiple lines of code (ow, and if you wan't me to stop reporting this every time please fix it, you claim this has been fixed in 201607270002, it very clearly isn't!!!) zeloras: id ont know, just paste htmlspecialchars_decode ytn01: While debuggin a java application, exection was suspended at a breakpoint hit. During this, I Clicked middle mouse button on a method call code to navigate to its definition. Then exception popped up. gtzabari: Compiled class. Exception thrown. GUEST: selecting code to indent GUEST: moving trough code with arrow keys GUEST: move cursor with arrows in src ytn01: Installed Netbeans daily build of the day. Launched it,... projects from last session opened, along with files from previous session. Editor was on Start Page tab, and background project scanning was running. I closed the start page tab. As editor was switching to next tab, exception got thrown. My editor setting has option to collapse code blocks turned on. Dupicates of this exception kept getting thrown until background project scanning finished. muellermi: I have to correct myself: Whilst moving up with the arrow ke, the bug does not appear when bouncing the file. The bug appears moving up or down, when the current position reaches one of theses CDI annotations: @Named @RequestScoped mkhramov: Edit java code Alniks: editing java file GUEST: just working, nothing special GUEST: ? mrpc: Tried to select some lines of code to delete them GUEST: still removing content using ctrl+z GUEST: moving arround with some code GUEST: Cause Uknown Alniks: tried to open method in java file muellermi: Problem still exists. Occured whilst opening the file after NB restart. nleck: na alexvsimon: goto type GUEST: Ctrl+Click on a Java class name to navigate to it GUEST: typing php code muellermi: move up within editor (cantent scrolls whilst keeping up-arrow pressed) GUEST: ... Alniks: opening method through navigator IrianR: Opening an auto generated class. GUEST: Something error tmysik: editing php file nleck: editing zmirc: Pressed CTRL + Click on a Java class name to take me to that class dasprid: . GUEST: M nleck: rename GUEST: 1) open heap dump 2) go to OQL Console 3) use following OQL: select toHtml(x)+" "+toHtml(x.id) from org.netbeans.modules.masterfs.filebasedfs.naming.FolderName x 4) type '.' after x.id alied: Opened a class from the "Open Type" dialog (Ctrl+O) GUEST: removing content using ctrl+z in another file GUEST: duplicate line GUEST: Just generally happening while navigating documents. muellermi: every time a curser movement hit an @ nleck: rename mclaborn: Double clicked a method name in the Navigator view to position to it in the editor window. muellermi: edit Java IrianR: Clicked on a method in the navigfator window. GUEST: moved to line with a tab and } using arrow keys GUEST: I am fucking trying to work!!! GUEST: ctrl+z in file number 3 (yep, made a mistake in some code) GUEST: Clicked an injected class GUEST: entry key down. ytn01: This happens everytime I launch IDE and projects and bunch of java files get opened from last session. I switch to services tab, start java db. close the IDE's start page. Exception gets thrown. muellermi: edit Java luisoskite: only click a label muellermi: and this problem occurs whilst clean and build.... GUEST: down key down. GUEST: move cursor to start line alied: Navigated to a method in a non-opened class by Ctrl+Click GUEST: Using Ctrl + Z GUEST: - gtzabari: I don't remember what I did. GUEST: very consistent (2 more to go, won't report them) jockel: Jumped into a class via CTRL+mouseclick nleck: nav zmirc: Just switching to a tab (containing a Java class) GUEST: yep, it is consistent GUEST: used ctrl+x GUEST: HOW MANY FUCKING MORE TIMES DO I HAVE TO REPORT THIS??? GUEST: ? vidhyadharantechdays: Deploying maven project i got this error alied: Opening a class from the "Open Type" dialog (Ctrl+O) bolsover: Navigating to source of referenced class nleck: nav GUEST: reaching a line containing tabs followed by } using arrow down dasprid: Opened a PHP file. GUEST: CTRL+S with reindent mclaborn: Arrow up in a Java file dasprid: Tried to save a PHP file. GUEST: ? GUEST: Moving ina Java file IrianR: Opening a class from go to type results alied: just opened a class from Open Type dialog (Ctrl+O) GUEST: Cause Uknown vercinstex: code completion GUEST: copy pasted something vasouv: Was testing the Glassfish 4.1 integration NetCAT tests. Steps: Add SessionBean Add Servlet In Servlet, invoke Code Insert > Call EJB. abien: Happened during navigation through code nleck: nav nleck: navigate GUEST: Just opening a JMS Java file gtzabari: Nto sure what I did. alied: Crl-Clicked on a class declaration to go to that type's file in the editor. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.hints.HintsUI$4$1.run(HintsUI.java:1035) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1419) at org.netbeans.modules.editor.hints.HintsUI$4.run(HintsUI.java:1031) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Created attachment 161564 [details] stacktrace
http://hg.netbeans.org/jet-main/rev/4286b530e2ad
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4286b530e2ad User: Milutin Kristofic <mkristofic@netbeans.org> Log: #267443 - NullPointerException at org.netbeans.modules.editor.hints.HintsUI$4$1.run