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 - NullPointerException at org.netbeans.modules.db.sql.loader.SQLCloneableEditor.getToolbarRepresentation
Summary: NullPointerException at org.netbeans.modules.db.sql.loader.SQLCloneableEditor...
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 13:21 UTC by rodrigorsantos
Modified: 2018-02-06 14:47 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195814


Attachments
stacktrace (2.98 KB, text/plain)
2014-03-05 13:21 UTC, rodrigorsantos
Details
stacktrace (2.59 KB, text/plain)
2016-09-20 15:30 UTC, mrpc
Details

Note You need to log in before you can comment on or make changes to this bug.
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.