Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Can't recreate query for Reviewboard Repository #112

Closed
NetAppBlueDevil opened this Issue Sep 14, 2012 · 10 comments

Comments

Projects
None yet
2 participants

Fails and I get this in the eclipse log

!ENTRY org.eclipse.ui 4 0 2012-09-14 11:34:47.999
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.review_board.ereviewboard.ui.ReviewboardUiUtil.refreshRepositoryData(ReviewboardUiUtil.java:104)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage.updateRepositoryData(ReviewboardQueryPage.java:162)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage.createControl(ReviewboardQueryPage.java:410)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
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.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:92)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:55)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at org.review_board.ereviewboard.ui.ReviewboardUiUtil.refreshRepositoryData(ReviewboardUiUtil.java:100)
... 51 more
Caused by: java.lang.IllegalArgumentException
at org.review_board.ereviewboard.core.model.RepositoryType.fromDisplayName(RepositoryType.java:30)
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.readRepositories(RestfulReviewboardReader.java:276)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient$6.doLoadInternal(RestfulReviewboardClient.java:235)
at org.review_board.ereviewboard.core.client.PagedLoader.doLoad(PagedLoader.java:70)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient.getRepositories(RestfulReviewboardClient.java:239)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient.updateRepositoryData(RestfulReviewboardClient.java:421)
at org.review_board.ereviewboard.ui.ReviewboardUiUtil$1.run(ReviewboardUiUtil.java:92)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

@rombert rombert added a commit that referenced this issue Sep 22, 2012

@rombert rombert Display name of unknown RepositoryType when no match is found
Affects #112: Can't recreate query for Reviewboard Repository
4124f24
Owner

rombert commented Sep 22, 2012

Can you try an update site from https://ereviewboard.ci.cloudbees.com/job/eReviewBoard/107/org.review_board.ereviewboard$org.review_board.ereviewboard.update/ ( the zip file should be there in ~10 minutes ) .

I've updated the error message to be clearer and this should help me understand the problem.

I’m not able to get this up load using this URL as an update site.

Daniel

From: Robert Munteanu [mailto:notifications@github.com]
Sent: Saturday, September 22, 2012 3:54 AM
To: rombert/ereviewboard
Cc: Holmes, Daniel
Subject: Re: [ereviewboard] Can't recreate query for Reviewboard Repository (#112)

Can you try an update site from https://ereviewboard.ci.cloudbees.com/job/eReviewBoard/107/org.review_board.ereviewboard$org.review_board.ereviewboard.update/https://ereviewboard.ci.cloudbees.com/job/eReviewBoard/107/org.review_board.ereviewboard%24org.review_board.ereviewboard.update/ ( the zip file should be there in ~10 minutes ) .

I've updated the error message to be clearer and this should help me understand the problem.


Reply to this email directly or view it on GitHubhttps://github.com/rombert/ereviewboard/issues/112#issuecomment-8786461.

Owner

rombert commented Sep 25, 2012

This isn't a remote update site, just a link to a page where you will find a zipped update site. You need to download that zip file and install the update from it.

So, I downloaded the zip and selected it as the archive from the plugin install screen, and Eclipse just gives me a message that “There are no categorized items”

From: Robert Munteanu [mailto:notifications@github.com]
Sent: Tuesday, September 25, 2012 8:28 AM
To: rombert/ereviewboard
Cc: Holmes, Daniel
Subject: Re: [ereviewboard] Can't recreate query for Reviewboard Repository (#112)

This isn't a remote update site, just a link to a page where you will find a zipped update site. You need to download that zip file and install the update from it.


Reply to this email directly or view it on GitHubhttps://github.com/rombert/ereviewboard/issues/112#issuecomment-8852253.

Owner

rombert commented Sep 25, 2012

Just to double-check, you downloaded org.review_board.ereviewboard.update-0.13.1-SNAPSHOT-assembly.zip (the large one), right?

No, the one I got just had the site.xml in it. I’ll try the other one.

From: Robert Munteanu [mailto:notifications@github.com]
Sent: Tuesday, September 25, 2012 9:48 AM
To: rombert/ereviewboard
Cc: Holmes, Daniel
Subject: Re: [ereviewboard] Can't recreate query for Reviewboard Repository (#112)

Just to double-check, you downloaded org.review_board.ereviewboard.update-0.13.1-SNAPSHOT-assembly.zip (the large one), right?


Reply to this email directly or view it on GitHubhttps://github.com/rombert/ereviewboard/issues/112#issuecomment-8854725.

OK, here's what I see

!ENTRY org.eclipse.ui 4 0 2012-09-25 13:19:27.411
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.review_board.ereviewboard.ui.ReviewboardUiUtil.refreshRepositoryData(ReviewboardUiUtil.java:104)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage.updateRepositoryData(ReviewboardQueryPage.java:162)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage.createControl(ReviewboardQueryPage.java:410)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
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.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:92)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:55)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at org.review_board.ereviewboard.ui.ReviewboardUiUtil.refreshRepositoryData(ReviewboardUiUtil.java:100)
... 51 more
Caused by: java.lang.IllegalArgumentException: Unkonwn RepositoryType display name 'Perforce NetApp'
at org.review_board.ereviewboard.core.model.RepositoryType.fromDisplayName(RepositoryType.java:30)
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.readRepositories(RestfulReviewboardReader.java:276)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient$6.doLoadInternal(RestfulReviewboardClient.java:235)
at org.review_board.ereviewboard.core.client.PagedLoader.doLoad(PagedLoader.java:70)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient.getRepositories(RestfulReviewboardClient.java:239)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient.updateRepositoryData(RestfulReviewboardClient.java:421)
at org.review_board.ereviewboard.ui.ReviewboardUiUtil$1.run(ReviewboardUiUtil.java:92)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

@ghost ghost assigned rombert Sep 25, 2012

Owner

rombert commented Sep 25, 2012

This looks to work. I was able to define a query and have it return information from my Reviewboard server.

Thanks

Daniel

From: Robert Munteanu [mailto:notifications@github.com]
Sent: Tuesday, September 25, 2012 3:01 PM
To: rombert/ereviewboard
Cc: Holmes, Daniel
Subject: Re: [ereviewboard] Can't recreate query for Reviewboard Repository (#112)

An updated build should be available soon at https://ereviewboard.ci.cloudbees.com/job/eReviewBoard/108/org.review_board.ereviewboard$org.review_board.ereviewboard.update/https://ereviewboard.ci.cloudbees.com/job/eReviewBoard/108/org.review_board.ereviewboard%24org.review_board.ereviewboard.update/ . Let me know if it works for you.


Reply to this email directly or view it on GitHubhttps://github.com/rombert/ereviewboard/issues/112#issuecomment-8866012.

Owner

rombert commented Sep 26, 2012

Thanks for confirming!

@rombert rombert closed this Sep 26, 2012

@rombert rombert added a commit that referenced this issue Oct 7, 2012

@rombert rombert Allow both ClearCase and Clear Case as valid scm tool names
#112: Can't recreate query for Reviewboard Repository
3bf4bad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment