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 254658

Summary: NullPointerException at testes.Painel.getScaledInstanceToFill
Product: guibuilder Reporter: galfieri <galfieri>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219392
Attachments: stacktrace

Description galfieri 2015-08-24 14:17:49 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
galfieri: Sending a report of same problem




Stacktrace: 
java.lang.NullPointerException
   at testes.Painel.getScaledInstanceToFill(Painel.java:122)
   at testes.Painel.generateScaledInstance(Painel.java:99)
   at testes.Painel.invalidate(Painel.java:79)
   at java.awt.Component.addNotify(Component.java:6925)
   at java.awt.Container.addNotify(Container.java:2762)
   at javax.swing.JComponent.addNotify(JComponent.java:4749)
Comment 1 galfieri 2015-08-24 14:17:51 UTC
Created attachment 155583 [details]
stacktrace
Comment 2 Tomas Pavek 2015-09-09 14:34:15 UTC
This is an exception from a custom component - testes.Painel.getScaledInstanceToFill(Painel.java:122).