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 64221

Summary: NPE when cancel scanning invoked by run on J2SE project
Product: java Reporter: Jiri Rechtacek <jrechtacek>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: dumpstack

Description Jiri Rechtacek 2005-09-13 10:56:36 UTC
>Log Session: Tuesday, September 13, 2005 10:35:51 AM GMT+01:00
>System Info:
  Product Version       = NetBeans IDE Dev (Build 050909)
  Operating System      = Linux version 2.6.12.3 running on i386
  Java; VM; Vendor      = 1.6.0-ea; Java HotSpot(TM) Client VM 1.6.0-ea-b49; Sun
Microsystems Inc.
  Java Home             = /space/shared/java/jdk1.6.0/jre
  System Locale; Encod. = us (nb); UTF-8

I have a Java application and two java platforms (jdk1.6 <default platform> and
jdk1.5). I run this application on both platform in rotation. When I try cancel
scanning dialog the attached NPE I get.
java.lang.NullPointerException
        at
org.netbeans.modules.javacore.internalapi.JavaMetamodel$ActionPerformer.cancel(JavaMetamodel.java:251)
Comment 1 Jiri Rechtacek 2005-09-13 10:58:22 UTC
Created attachment 24737 [details]
dumpstack
Comment 2 Pavel Flaska 2005-09-21 11:09:05 UTC
Checking in src/org/netbeans/modules/javacore/internalapi/JavaMetamodel.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/internalapi/JavaMetamodel.java,v
 <--  JavaMetamodel.java
new revision: 1.16; previous revision: 1.15
done
Comment 3 Quality Engineering 2007-09-20 12:21:36 UTC
Reorganization of java component