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 95415 - [AssignResultToVariable] NPE when called on hashCode
Summary: [AssignResultToVariable] NPE when called on hashCode
Status: CLOSED INVALID
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 14:37 UTC by Jiri Prox
Modified: 2007-12-07 16:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-02-13 14:38:30 UTC
NetBeans IDE Dev (Build 070213)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

NPE occurred when calling Assign Return Value to New Variable on following
method call:

    public void akce() {        
        hashCode();
        
    }

java.lang.NullPointerException
	at
org.netbeans.modules.javahints.AssignResultToVariable$FixImpl.implement(AssignResultToVariable.java:187)
	at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:498)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 Jiri Prox 2007-02-15 22:56:59 UTC
Multiple submit of issue 95414
Comment 2 Jiri Prox 2007-02-15 22:59:26 UTC
Closed
Comment 3 Jesse Glick 2007-02-19 20:24:52 UTC
Hmm, let's clean up summary to be suitable for children. :-)