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.
Summary: | NullPointerException at org.netbeans.modules.j2ee.ejbrefactoring.EjbRefactoringPlugin$1.run | ||
---|---|---|---|
Product: | javaee | Reporter: | ssazonov |
Component: | EJB | Assignee: | Martin Fousek <marfous> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mjanicek, vriha |
Priority: | P2 | Keywords: | 7.4_HR_FIX |
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 203569 |
Attachments: |
stacktrace
stacktrace |
Description
ssazonov
2013-09-04 12:13:58 UTC
Created attachment 139652 [details]
stacktrace
I tried again to introduce parameter on "aaa" and got same error: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package simpleproject123; /** <p> @author Standa */ public class SimpleProject123 { /** @param args the command line arguments */ public static void main(String[] args){ // TODO code application logic here m(); } static void m(){ if(true){ System.out.println("aaa"); } } } Created attachment 139845 [details]
stacktrace
introduce parameter refactoring (in a plain java se project)
It looks that some duplicates of this NPE are comming. I took a look into the source and this could be a regression in refactoring of sources mentioned by reporters. Vlado do you agree wtih marking this issue as a nb74 HR candidate? The fix should be safe and easy. Sure, I agree. Raising priority and adding keyword... Fixed in web-main #29f9c0e8c6e9. Martine, could I ask you for the review? Thanks in advance. The patch looks definitely safe and fine Verified in web main build, please continue with integration Product Version: NetBeans IDE Dev (Build web-main-11581-on-20130911) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb) (In reply to Vladimir Riha from comment #8) > Verified in web main build, please continue with integration Thanks for the verification. Integrated into the release74 branch as releases #747378c2fbe8. Verified: Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) |