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 190096 - NullPointerException at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run
Summary: NullPointerException at org.netbeans.modules.java.editor.JavaEditorWarmUpTask...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 195701 197635 197723 197787 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-02 06:51 UTC by Ivan Sidorkin
Modified: 2011-04-17 20:10 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152313


Attachments
stacktrace (2.84 KB, text/plain)
2010-09-02 06:51 UTC, Ivan Sidorkin
Details
stacktrace (2.00 KB, text/plain)
2011-03-28 12:42 UTC, leonhad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2010-09-02 06:51:31 UTC
Build: NetBeans IDE Dev (Build 201009020000)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows XP

User Comments:
GUEST: I was activating pulgins

GUEST: In prorcess of installing command line plugin




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run(JavaEditorWarmUpTask.java:255)
   at org.netbeans.modules.ide.ergonomics.fod.WarmUp.run(WarmUp.java:75)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1426)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Ivan Sidorkin 2010-09-02 06:51:36 UTC
Created attachment 101820 [details]
stacktrace
Comment 2 Dusan Balek 2010-10-29 16:05:08 UTC
JavaEditorWarmUpTask is run twice at the moment. org.netbeans.modules.ide.ergonomics.fod.WarmUp should not run JavaEditorWarmUpTask when it is already running.
Comment 3 Jaroslav Tulach 2010-10-29 17:00:00 UTC
According to contract negotiated with Víťa, FoD can call JavaWarmUp. Just make it more robust, please.
Comment 4 Dusan Balek 2011-02-21 09:57:10 UTC
*** Bug 195701 has been marked as a duplicate of this bug. ***
Comment 5 leonhad 2011-03-28 12:42:59 UTC
Created attachment 107335 [details]
stacktrace
Comment 6 Dusan Balek 2011-04-12 09:49:35 UTC
*** Bug 197635 has been marked as a duplicate of this bug. ***
Comment 7 Dusan Balek 2011-04-14 12:46:47 UTC
According to contract negotiated with Víťa, FoD can call JavaEditorWarmUpTask but not at the time when it is already running.
Comment 8 Anton Chechel 2011-04-14 12:54:45 UTC
*** Bug 197723 has been marked as a duplicate of this bug. ***
Comment 9 Jaroslav Tulach 2011-04-14 14:30:46 UTC
OK. Two warmups should not be running in parallel. I'll find a way to prevent that.
Comment 10 Jaroslav Tulach 2011-04-14 16:52:21 UTC
ergonomics#717c8142a6fb
Comment 11 Quality Engineering 2011-04-16 08:38:12 UTC
Integrated into 'main-golden', will be available in build *201104160401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/717c8142a6fb
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #190096: Make sure all warmup requests come one by one. However please make sure that it still does not ensure one can use state machines in the object to communicate between background and EDT as the background thread can re-run the runnable sooner than EDT has chance to process the invokeLater request.
Comment 12 David Konecny 2011-04-17 20:10:25 UTC
*** Bug 197787 has been marked as a duplicate of this bug. ***