1 Reply Latest reply: Aug 26, 2010 11:56 AM by 807574 RSS

    Error when using Oracle OTD wizard

    807574
      I'm getting this message when I try to create an OTD using the oracle otd wizard with Netbeans in Windows. Does anyone know how to resolve this issue?

      java.lang.NullPointerException
           at com.stc.oracle.wizard.TablesVisualPanel.isValid(TablesVisualPanel.java:133)
           at java.awt.Component.invalidateIfValid(Component.java:2787)
           at java.awt.Component.setLocale(Component.java:1857)
           at javax.swing.JComponent.<init>(JComponent.java:584)
           at javax.swing.JPanel.<init>(JPanel.java:65)
           at javax.swing.JPanel.<init>(JPanel.java:92)
           at javax.swing.JPanel.<init>(JPanel.java:100)
           at com.stc.oracle.wizard.TablesVisualPanel.<init>(TablesVisualPanel.java:61)
           at com.stc.oracle.wizard.TablesPanel.getComponent(TablesPanel.java:87)
           at com.stc.oracle.wizard.NewOtdIterator.initialize(NewOtdIterator.java:128)
           at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:100)
           at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:76)
           at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:193)
           at org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:211)
           at com.stc.otd.launcher.WizardSelectionPanel.storeSettings(WizardSelectionPanel.java:158)
           at org.openide.WizardDescriptor.setValueOpen(WizardDescriptor.java:1288)
           at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1266)
           at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1131)
           at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
           at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
           at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
           at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
           at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
           at java.awt.Component.processMouseEvent(Component.java:6267)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
           at java.awt.Component.processEvent(Component.java:6032)
           at java.awt.Container.processEvent(Container.java:2041)
           at java.awt.Component.dispatchEventImpl(Component.java:4630)
           at java.awt.Container.dispatchEventImpl(Container.java:2099)
           at java.awt.Component.dispatchEvent(Component.java:4460)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
           at java.awt.Container.dispatchEventImpl(Container.java:2085)
           at java.awt.Window.dispatchEventImpl(Window.java:2478)
           at java.awt.Component.dispatchEvent(Component.java:4460)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
           at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
           at java.awt.Dialog$1.run(Dialog.java:1046)
           at java.awt.Dialog$3.run(Dialog.java:1098)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.awt.Dialog.show(Dialog.java:1096)
           at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:867)
           at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:901)
           at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:889)
           at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109)
           at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
           at org.openide.util.Mutex.readAccess(Mutex.java:268)
           at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:874)
           at java.awt.Component.show(Component.java:1563)
           at java.awt.Component.setVisible(Component.java:1515)
           at java.awt.Window.setVisible(Window.java:842)
           at java.awt.Dialog.setVisible(Dialog.java:986)
           at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:495)
           at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:362)
           at com.stc.otd.launcher.WizardManager.showWizardSelectionDialog(WizardManager.java:75)
           at com.stc.otd.launcher.OTDWizardLauncherAction.createNewElement(OTDWizardLauncherAction.java:66)
           at com.stc.egate.toolbus.toolAction.BaseToolAction.actionPerformed(BaseToolAction.java:53)
           at com.stc.egate.gui.projectexplorer.BasicSubMenuAction$SubMenuModel.performActionAt(BasicSubMenuAction.java:264)
           at org.openide.awt.Actions$ISubActionListener.actionPerformed(Actions.java:1150)
           at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
           at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
           at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
           at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
           at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
           at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
           at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
           at java.awt.Component.processMouseEvent(Component.java:6267)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
           at java.awt.Component.processEvent(Component.java:6032)
           at java.awt.Container.processEvent(Container.java:2041)
           at java.awt.Component.dispatchEventImpl(Component.java:4630)
           at java.awt.Container.dispatchEventImpl(Container.java:2099)
           at java.awt.Component.dispatchEvent(Component.java:4460)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
           at java.awt.Container.dispatchEventImpl(Container.java:2085)
           at java.awt.Window.dispatchEventImpl(Window.java:2478)
           at java.awt.Component.dispatchEvent(Component.java:4460)
      [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
           at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
           at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
        • 1. Re: Error when using Oracle OTD wizard
          807574
          I've had the same problem. The cause was, that i was using jdk version 1.6.0_19.
          After installing the highest supported version of the jdk (1.6.0_11) the problem was solved.
          s.a. http://docs.sun.com/app/docs/doc/821-0449/inst_support_jdk_r?a=view

          Hope this helps,
          Peter