Ray Slater created NETBEANS-1594: ------------------------------------ Summary: JIRA plugin: NPE when new fix version added since JIRA loaded Key: NETBEANS-1594 URL: https://issues.apache.org/jira/browse/NETBEANS-1594 Project: NetBeans Issue Type: Bug Affects Versions: 9.0 Reporter: Ray Slater
* Have an open Jira in the IDE * Outside the IDE a new fix version was added and set on the Jira * When the Jira is updated in the IDE (refresh) a null pointer error is raised * The Jira is marked as modified and cannot be discarded. {noformat} WARNING [org.netbeans.modules.jira.Jira]: custom field attribute.jira.custom::customfield_10254 : com.atlassian.jira.plugin.system.customfieldtypes:textfield contains no values WARNING [org.netbeans.modules.jira.Jira]: custom field attribute.jira.custom::customfield_10255 : com.atlassian.jira.plugin.system.customfieldtypes:textfield contains no values SEVERE [global] java.lang.NullPointerException at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004) at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993) at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781) at org.netbeans.modules.jira.issue.IssuePanel.discardUnsavedChanges(IssuePanel.java:2951) at org.netbeans.modules.jira.issue.NbJiraIssue$Controller.discardUnsavedChanges(NbJiraIssue.java:2026) at org.netbeans.modules.bugtracking.ui.issue.IssueTopComponent.canClose(IssueTopComponent.java:557) at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:953) at org.netbeans.core.windows.Central.userClosedTopComponent(Central.java:2012) at org.netbeans.core.windows.view.DefaultView.userClosedTopComponent(DefaultView.java:771) at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:313) at org.netbeans.core.multitabs.Controller.postActionEvent(Controller.java:108) at org.netbeans.core.multitabs.impl.CloseButtonHandler.mouseClicked(CloseButtonHandler.java:71) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270) at java.awt.Component.processMouseEvent(Component.java:6536) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] 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){noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists