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 245642 - NullPointerException at org.netbeans.modules.java.editor.fold.ParsingFoldSupport$FM.invalidate
Summary: NullPointerException at org.netbeans.modules.java.editor.fold.ParsingFoldSupp...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 245841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-14 12:07 UTC by David Strupl
Modified: 2014-07-30 16:54 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210696


Attachments
stacktrace (1.22 KB, text/plain)
2014-07-14 12:07 UTC, David Strupl
Details
stacktrace (1.22 KB, text/plain)
2014-07-26 14:10 UTC, Martin Entlicher
Details
stacktrace (1.22 KB, text/plain)
2014-07-26 15:37 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2014-07-14 12:07:39 UTC
Build: NetBeans IDE Dev (Build 20140714-7c5dac89e5c8)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
dstrupl: Creating new JavaFX project with FXML file.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.editor.fold.ParsingFoldSupport$FM.invalidate(ParsingFoldSupport.java:489)
   at org.netbeans.modules.java.editor.fold.ParsingFoldSupport$FM.insertUpdate(ParsingFoldSupport.java:498)
   at org.netbeans.modules.editor.fold.FoldOperationImpl.insertUpdate(FoldOperationImpl.java:243)
   at org.netbeans.modules.editor.fold.FoldHierarchyExecution.insertUpdate(FoldHierarchyExecution.java:983)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:85)
   at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202)
Comment 1 David Strupl 2014-07-14 12:07:41 UTC
Created attachment 148032 [details]
stacktrace
Comment 2 Svata Dedic 2014-07-15 19:59:20 UTC
Fixed in jet-main#6bd39f3727f1
Comment 3 ulfzibis 2014-07-26 01:21:05 UTC
The exception is still reproducible on:

Product Version: NetBeans IDE Dev (Build 201407250001)
Java: 1.7.0_55; OpenJDK 64-Bit Server VM 24.51-b03
Runtime: OpenJDK Runtime Environment 1.7.0_55-b14
System: Linux version 3.13.0-32-generic running on amd64; UTF-8; de_DE (nb)

See:
http://statistics.netbeans.org/analytics/exception.do?id=731731
Comment 4 Martin Entlicher 2014-07-26 14:10:42 UTC
Created attachment 148335 [details]
stacktrace

Opened a project.
Comment 5 Martin Entlicher 2014-07-26 14:13:51 UTC
Evaluate Expression window is unusable due to this bug. This affects debugging.
Comment 6 vanob 2014-07-26 15:37:42 UTC
Created attachment 148336 [details]
stacktrace

Just started netbeans
Comment 7 Svata Dedic 2014-07-27 17:03:42 UTC
(In reply to ulfzibis from comment #3)
> The exception is still reproducible on:
> 
> Product Version: NetBeans IDE Dev (Build 201407250001)
> Java: 1.7.0_55; OpenJDK 64-Bit Server VM 24.51-b03
> Runtime: OpenJDK Runtime Environment 1.7.0_55-b14
> System: Linux version 3.13.0-32-generic running on amd64; UTF-8; de_DE (nb)
> 
> See:
> http://statistics.netbeans.org/analytics/exception.do?id=731731

Please note that the automaton doing merge into main-silver *did not* yet noted the changeset is merged. Unless you run your custom build compiled from jet-main repository sources, build 201407250001 simply cannot have this defect fixed as it did not propagate (yet).
Comment 8 ulfzibis 2014-07-27 19:17:49 UTC
(In reply to Svata Dedic from comment #7)
> Please note that the automaton doing merge into main-silver *did not* yet
> noted the changeset is merged. Unless you run your custom build compiled
> from jet-main repository sources, build 201407250001 simply cannot have this
> defect fixed as it did not propagate (yet).

I'm member of NetCAT and we were instructed to use nightly builds for 8.01 testing. So I was thinking, bug fixes will go to nightly builds automatically.
Do I understand correct, that fixes to jet-main are not merged to nightly builds but from main-silver?
Do I have to wait for integration in main-silver to continue 8.01 testing, current build 201407250001 is not usable for me because resolving hg conflict is essentially to me?
Comment 9 Svata Dedic 2014-07-28 08:48:10 UTC
*** Bug 245841 has been marked as a duplicate of this bug. ***
Comment 10 Michel Graciano 2014-07-28 17:57:03 UTC
AFAIK yes, we need to wait for the integration to main repo since the nightly builds are made from there.

Looks like jet-main repo is unstable (http://deadlock.netbeans.org/job/jet-main/) and probably this is why it was not integrated yet.
Comment 11 Jiri Skrivanek 2014-07-29 07:05:56 UTC
Not in 8.0 builds.
Comment 12 Quality Engineering 2014-07-30 02:33:11 UTC
Integrated into 'main-silver', will be available in build *201407300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6bd39f3727f1
User: Svata Dedic <sdedic@netbeans.org>
Log: #245642: ignore files without source in parser-based fold manager
Comment 13 Michel Graciano 2014-07-30 16:54:27 UTC
v. Build 20140730-2f4b323bfe57