[
https://issues.jboss.org/browse/FORGE-2198?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-2198.
----------------------------------
Resolution: Done
Fields disabled when they shouldn't be in NetBeans wizards
(errors sometimes)
-----------------------------------------------------------------------------
Key: FORGE-2198
URL:
https://issues.jboss.org/browse/FORGE-2198
Project: Forge
Issue Type: Bug
Components: UI - NetBeans
Reporter: Lincoln Baxter III
Assignee: George Gastaldi
Attachments: Screen Shot 2015-01-23 at 2.15.25 PM.png
* Project new
* JPA new Entity
* Scaffold Generate (select that entity) - fields to specify custom facelets template and
override equals and hashcode will be greyed out and unselectable. You can press
"back" and "next" again to get some of the fields enabled again, but
seems to cause errors sometimes:
{code}
java.lang.NullPointerException
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard.validateTemplate(ScaffoldableEntitySelectionWizard.java:235)
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard.validate(ScaffoldableEntitySelectionWizard.java:217)
at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard_$$_javassist_2ef89934-af2d-4727-babb-be944b03bddc.validate(ScaffoldableEntitySelectionWizard_$$_javassist_2ef89934-af2d-4727-babb-be944b03bddc.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.validate(SingleCommandControllerImpl.java:159)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.isValid(SingleCommandControllerImpl.java:167)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.isValid(WizardCommandControllerImpl.java:220)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canMoveToNextStep(WizardCommandControllerImpl.java:279)
at
org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canMoveToNextStep(NoUIWizardControllerDecorator.java:53)
at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_c1b57239-520a-4c87-864f-889de3b26253.canMoveToNextStep(CommandController_$$_javassist_c1b57239-520a-4c87-864f-889de3b26253.java)
at
org.jboss.forge.netbeans.ui.wizard.ForgeWizardIterator.hasNext(ForgeWizardIterator.java:59)
at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:872)
at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:822)
at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:800)
at org.openide.WizardDescriptor.access$200(WizardDescriptor.java:92)
at org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2180)
at org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:330)
[catch] at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:133)
at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:119)
at
org.jboss.forge.netbeans.ui.wizard.component.AbstractTextButtonComponentBuilder$1.insertUpdate(AbstractTextButtonComponentBuilder.java:50)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
at
org.jboss.forge.netbeans.ui.wizard.component.FileChooserComponentBuilder.browseButtonPressed(FileChooserComponentBuilder.java:39)
at
org.jboss.forge.netbeans.ui.wizard.component.AbstractTextButtonComponentBuilder$2.actionPerformed(AbstractTextButtonComponentBuilder.java:69)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1065)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1115)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1087)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:128)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1376)
at org.openide.util.Mutex.readAccess(Mutex.java:278)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1072)
at java.awt.Component.show(Component.java:1654)
at java.awt.Component.setVisible(Component.java:1606)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at
org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:260)
at
org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:276)
at
org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:167)
at
org.jboss.forge.netbeans.ui.wizard.RunForgeWizardRunnable.run(RunForgeWizardRunnable.java:57)
at org.netbeans.modules.quicksearch.QuickSearchPopup.invoke(QuickSearchPopup.java:133)
at
org.netbeans.modules.quicksearch.AbstractQuickSearchComboBar$6.run(AbstractQuickSearchComboBar.java:234)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)