Re: Netbeans gives errors for EVERYTHING I do

  • From: Geoff Hoffman < >
  • To:
  • Subject: Re: Netbeans gives errors for EVERYTHING I do
  • Date: Thu, 11 Oct 2012 14:19:16 -0700

Download NB again and reinstall it.



On Thu, Oct 11, 2012 at 5:18 AM, msrishikesh < " target="_blank"> > wrote:
I am fed up!

When I try to create a new project, it throws an error:


Code:

java.lang.NullPointerException
        at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
        at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
        at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
        at javax.swing.UIDefaults.get(Unknown Source)
        at javax.swing.MultiUIDefaults.get(Unknown Source)
        at javax.swing.UIDefaults.getBorder(Unknown Source)
        at javax.swing.UIManager.getBorder(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.installDefaults(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.installUI(Unknown Source)
        at javax.swing.JComponent.setUI(Unknown Source)
        at javax.swing.text.JTextComponent.setUI(Unknown Source)
        at javax.swing.text.JTextComponent.updateUI(Unknown Source)
        at javax.swing.text.JTextComponent.<init>(Unknown Source)
        at javax.swing.JTextField.<init>(Unknown Source)
        at javax.swing.JTextField.<init>(Unknown Source)
        at org.openide.awt.QuickSearch$SearchTextField.<init>(QuickSearch.java:563)
        at org.openide.awt.QuickSearch.setUpSearch(QuickSearch.java:283)
        at org.openide.awt.QuickSearch.<init>(QuickSearch.java:100)
        at org.openide.awt.QuickSearch.attach(QuickSearch.java:190)
        at org.openide.awt.QuickSearch.attach(QuickSearch.java:118)
        at org.openide.explorer.view.TreeView$ExplorerTree.setupSearch(TreeView.java:1951)
        at org.openide.explorer.view.TreeView$ExplorerTree.<init>(TreeView.java:1768)
        at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:313)
        at org.openide.explorer.view.TreeView.<init>(TreeView.java:252)
        at org.openide.explorer.view.TreeView.<init>(TreeView.java:242)
        at org.openide.explorer.view.BeanTreeView.<init>(BeanTreeView.java:98)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$CategoriesBeanTreeView.<init>(TemplatesPanelGUI.java:611)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$CategoriesPanel.createComponent(TemplatesPanelGUI.java:626)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$ExplorerProviderPanel.initGUI(TemplatesPanelGUI.java:576)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$ExplorerProviderPanel.<init>(TemplatesPanelGUI.java:468)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$CategoriesPanel.<init>(TemplatesPanelGUI.java:616)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI$CategoriesPanel.<init>(TemplatesPanelGUI.java:616)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI.initComponents(TemplatesPanelGUI.java:371)
        at org.netbeans.modules.project.ui.TemplatesPanelGUI.<init>(TemplatesPanelGUI.java:141)
        at org.netbeans.modules.project.ui.ProjectTemplatePanel.getComponent(ProjectTemplatePanel.java:180)
        at org.netbeans.modules.project.ui.NewProjectWizard.createTemplateChooser(NewProjectWizard.java:88)
        at org.openide.loaders.TemplateWizard.templateChooser(TemplateWizard.java:313)
        at org.openide.loaders.TemplateWizardIterImpl.firstPanel(TemplateWizardIterImpl.java:87)
        at org.openide.loaders.TemplateWizardIterImpl.current(TemplateWizardIterImpl.java:144)
        at org.openide.loaders.TemplateWizardIteratorWrapper.current(TemplateWizardIteratorWrapper.java:92)
        at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:870)
        at org.openide.WizardDescriptor.access$500(WizardDescriptor.java:139)
        at org.openide.WizardDescriptor$6.run(WizardDescriptor.java:848)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)




And when I try to manage plugins:


Code:

java.lang.NullPointerException
        at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
        at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
        at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
        at javax.swing.UIDefaults.get(Unknown Source)
        at javax.swing.MultiUIDefaults.get(Unknown Source)
        at javax.swing.UIDefaults.getBorder(Unknown Source)
        at javax.swing.UIManager.getBorder(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.installDefaults(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.installUI(Unknown Source)
        at javax.swing.JComponent.setUI(Unknown Source)
        at javax.swing.text.JTextComponent.setUI(Unknown Source)
        at javax.swing.text.JTextComponent.updateUI(Unknown Source)
        at javax.swing.text.JTextComponent.<init>(Unknown Source)
        at javax.swing.JTextField.<init>(Unknown Source)
        at javax.swing.JTextField.<init>(Unknown Source)
        at org.netbeans.modules.autoupdate.ui.UnitTab.initComponents(UnitTab.java:669)
        at org.netbeans.modules.autoupdate.ui.UnitTab.<init>(UnitTab.java:172)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI.createTabForModel(PluginManagerUI.java:291)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI.postInitComponents(PluginManagerUI.java:504)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI.access$000(PluginManagerUI.java:79)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI$1.run(PluginManagerUI.java:132)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)




The only thing I am able to do is run Netbeans edit the files, get suggestions(ideas) and errors and then save the files.[/code]






Connect with us on twittergoogle+facebook, or linkedin.

Catch our next training in Houston Oct 8 - 12Berkeley Oct 22 - 26Seattle Oct 29 - Nov 2Phoenix Nov 12 - 16 or See All.

This email, including any attachments, is for the sole use of the intended recipient and may contain confidential information. If you are not the intended recipient, please immediately notify us by reply email or by telephone, delete this email and destroy any copies. Thank you.



Netbeans gives errors for EVERYTHING I do

msrishikesh 10/11/2012

Re: Netbeans gives errors for EVERYTHING I do

Geoff Hoffman 10/11/2012

Re: Netbeans gives errors for EVERYTHING I do

Tomas Mysik 10/12/2012

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 236 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close