[jbosstools-issues] [JBoss JIRA] (JBIDE-18485) NPE if repository definition doesnt contain <releases> or <snapshots>

Fred Bricon (JIRA) issues at jboss.org
Thu Oct 2 09:21:03 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-18485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-18485:
--------------------------------
    Assignee: Rastislav Wagner


> NPE if repository definition doesnt contain <releases> or <snapshots>
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-18485
>                 URL: https://issues.jboss.org/browse/JBIDE-18485
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 4.2.0.CR1
>            Reporter: Rastislav Wagner
>            Assignee: Rastislav Wagner
>            Priority: Critical
>             Fix For: 4.2.0.CR2
>
>
> {code}
> java.lang.NullPointerException
> 	at org.jboss.tools.maven.ui.wizard.AddRepositoryDialog.updateRepository(AddRepositoryDialog.java:624)
> 	at org.jboss.tools.maven.ui.wizard.AddRepositoryDialog.selectProfile(AddRepositoryDialog.java:957)
> 	at org.jboss.tools.maven.ui.wizard.AddRepositoryDialog.createDialogArea(AddRepositoryDialog.java:306)
> 	at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> 	at org.eclipse.jface.window.Window.create(Window.java:435)
> 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> 	at org.eclipse.jface.window.Window.open(Window.java:797)
> 	at org.jboss.tools.maven.ui.wizard.ConfigureMavenRepositoriesWizardPage.openEditRepositoryDialog(ConfigureMavenRepositoriesWizardPage.java:1287)
> 	at org.jboss.tools.maven.ui.wizard.ConfigureMavenRepositoriesWizardPage.access$9(ConfigureMavenRepositoriesWizardPage.java:1268)
> 	at org.jboss.tools.maven.ui.wizard.ConfigureMavenRepositoriesWizardPage$5.widgetSelected(ConfigureMavenRepositoriesWizardPage.java:407)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> 	at org.eclipse.jface.window.Window.open(Window.java:808)
> 	at org.jboss.tools.maven.ui.preferences.ConfiguratorPreferencePage$2.widgetSelected(ConfiguratorPreferencePage.java:156)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> 	at org.eclipse.jface.window.Window.open(Window.java:808)
> 	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)
> 	at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:483)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list