[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

(no author) on revision causes IllegalArgumentException in Resource History view

From: Johnson, Graham <gjohnson_at_alpineaccess.com>
Date: 2003-07-09 20:46:44 CEST

I had my repository set up without authentication (I've turned it on
since), and when I committed changes in Eclipse, they show up in the svn
log like this:

rev 3185: (no author) | 2003-07-09 10:59:31 -0600 (Wed, 09 Jul 2003) |
1 line

This lack of an author causes the Resource History to choke with the
errors below showing up in the Error Log. (I have since turned on
authentication in httpd, but this bug should be fixed.)

1.
java.lang.IllegalArgumentException: Argument cannot be null
        at org.eclipse.swt.SWT.error(SWT.java:2318)
        at org.eclipse.swt.SWT.error(SWT.java:2262)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
        at org.eclipse.swt.widgets.TableItem.setText(TableItem.java:687)
        at
org.eclipse.jface.viewers.TableViewer.doUpdateItem(TableViewer.java:205)
        at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(St
ructuredViewer.java:119)
        at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:889)
        at org.eclipse.core.runtime.Platform.run(Platform.java:413)
        at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.j
ava:1271)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:4
88)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:4
31)
        at
org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:8
61)
        at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(Structure
dViewer.java:801)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java
:859)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java
:821)
        at
org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:398)
        at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
        at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.jav
a:991)
        at
org.tigris.subversion.subclipse.ui.history.HistoryView.showHistory(Histo
ryView.java:443)
        at
org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction$1
.run(ShowResourceInHistoryAction.java:39)
        at
org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(Repo
sitoryManager.java:308)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.jav
a:230)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.jav
a:239)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
236)
        at
org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction.e
xecute(ShowResourceInHistoryAction.java:33)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
57)
        at
org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:7
1)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:456)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(Action
ContributionItem.java:403)
        at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContribut
ionItem.java:397)
        at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEve
nt(ActionContributionItem.java:72)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader
.java:845)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        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.core.launcher.Main.basicRun(Main.java:291)
        at org.eclipse.core.launcher.Main.run(Main.java:747)
        at org.eclipse.core.launcher.Main.main(Main.java:583)

2.
Unhandled exception caught in event loop.

3.
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
        at org.eclipse.jface.util.Assert.isNotNull(Assert.java:139)
        at org.eclipse.jface.util.Assert.isNotNull(Assert.java:116)
        at
org.eclipse.jface.viewers.StructuredViewer.disassociate(StructuredViewer
.java:243)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:4
68)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:4
31)
        at
org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:8
61)
        at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(Structure
dViewer.java:801)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java
:859)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java
:821)
        at
org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:398)
        at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
        at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.jav
a:991)
        at
org.tigris.subversion.subclipse.ui.history.HistoryView.showHistory(Histo
ryView.java:443)
        at
org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction$1
.run(ShowResourceInHistoryAction.java:39)
        at
org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(Repo
sitoryManager.java:308)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.jav
a:230)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.jav
a:239)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
236)
        at
org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction.e
xecute(ShowResourceInHistoryAction.java:33)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
57)
        at
org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:7
1)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:456)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(Action
ContributionItem.java:403)
        at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContribut
ionItem.java:397)
        at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEve
nt(ActionContributionItem.java:72)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader
.java:845)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        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.core.launcher.Main.basicRun(Main.java:291)
        at org.eclipse.core.launcher.Main.run(Main.java:747)
        at org.eclipse.core.launcher.Main.main(Main.java:583)

Should I enter this as a defect myself?

Also, any idea when a Project->Properties SVN page/entry/whatever, with
info on what the project is connected to, will be implemented?

--
Graham Johnson
gjohnson@alpineaccess.com
Java Software Engineer
Alpine Access, Golden, CO
Received on Thu Jul 10 04:46:44 2003

This is an archived mail posted to the Subclipse Dev mailing list.