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.
Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18 OS: Windows 8 User Comments: shaikhtalal: Some unknown exception have been found I dont know how to cover it. GUEST: I cant enable the hint "Assign return value to new variable"... GUEST: <Please provide a description of the problem or the steps to reproducesad GUEST: prova GUEST: <Please provide a description of the problem or the steps to reproduce> /* * 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 entryorder; import java.util.Scanner; /** * * @author willi_000 */ public class EntryOrder { private static Product Product; private static String totalSales; private static int salesCount; /** * @param args the command line arguments */ public static void calculateAverageSales(){ } public static void main(String[] args) { // TODO code application logic here Scanner sc = new Scanner (System.in); String productName; double productPrice = 0; String productID; System.out.println("What is the Product Name?"); productName = sc.next(); productID = sc.next (); GUEST: I ctrl+clicked on @Mocked annotation Stacktrace: java.lang.NullPointerException at org.netbeans.modules.findbugs.options.FindBugsPanel.store(FindBugsPanel.java:438) at org.netbeans.modules.findbugs.options.FindBugsOptionsPanelController.applyChanges(FindBugsOptionsPanelController.java:92) at org.netbeans.modules.options.editor.FolderBasedController.applyChanges(FolderBasedController.java:164) at org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:134) at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:401) at org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:326)
Created attachment 157892 [details] stacktrace
Created attachment 158000 [details] stacktrace unknown
Created attachment 165689 [details] stacktrace Changed the Fonts & Colors profile (from Earth to Darcula).