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 242576

Summary: NullPointerException at org.netbeans.modules.db.sql.loader.SQLCloneableEditor.getToolbarRepresentation
Product: db Reporter: rodrigorsantos <rodrigorsantos>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: byassine52, giedoterol, mrpc, oscaraw7, tak3shi, terje7601, xantiva
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195814
Attachments: stacktrace
stacktrace

Description rodrigorsantos 2014-03-05 13:21:55 UTC
Build: NetBeans IDE Dev (Build 20140219-d43f143d245a)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
rodrigorsantos: <Please provide a description of the problem or the steps to reproduce>

GUEST: Just opened a remote server php project

GUEST: Background scanning gets stuck and uses 300% of CPU on an i7 2.8. Way too much !! please sort this out




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.sql.loader.SQLCloneableEditor.getToolbarRepresentation(SQLCloneableEditor.java:492)
   at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:339)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:131)
   at org.openide.windows.WindowManager.componentShowing(WindowManager.java:339)
   at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1200)
   at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:168)
Comment 1 rodrigorsantos 2014-03-05 13:21:57 UTC
Created attachment 145776 [details]
stacktrace
Comment 2 mrpc 2016-09-20 15:30:55 UTC
Created attachment 162137 [details]
stacktrace

Tried to open a really long sql file (53 MB). Netbeans warned me about the large file, so I pressed no (I don't want to open it). However, I was asked three times, and the exception occured.