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

NPE in Resource History log browsing

From: Tobias Sager <moixa_at_gmx.ch>
Date: 2005-08-17 12:29:50 CEST

Hi all,

I am using 0.9.32 with Eclipse 3.1 on Linux and get a
NullPointerException while browsing the resource history.

Steps to reproduce:
- Right-Click a resource and do Team->Branch/Tag
- Select "Specific revision in the repository"
- Click "Show Log"
- Select any revision message in the dialog

Actual results:
"An error has occurred. See error log.."

This is the stacktrace in the log:
<snip>
!ENTRY org.eclipse.jface 4 2 2005-08-17 12:28:09.145
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
        at
org.tigris.subversion.subclipse.core.history.LogEntry.getLogEntryChangePaths(LogEntry.java:134)
        at
org.tigris.subversion.subclipse.ui.dialogs.HistoryDialog$4.getElements(HistoryDialog.java:141)
        at
org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:848)
        at
org.eclipse.jface.viewers.TableViewer.getRawChildren(TableViewer.java:1086)
        at
org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:790)
        at
org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:905)
        at
org.eclipse.jface.viewers.TableViewer.internalRefreshAll(TableViewer.java:798)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:748)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:737)
        at
org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1264)
        at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1201)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1262)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1221)
        at
org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:698)
        at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:248)
        at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1417)
        at
org.tigris.subversion.subclipse.ui.history.ChangePathsTableProvider.setLogEntry(ChangePathsTableProvider.java:185)
        at
org.tigris.subversion.subclipse.ui.dialogs.HistoryDialog$2.selectionChanged(HistoryDialog.java:115)
</snip>

Cheers
Tobias

-- 
GPG-Key 0xEF37FF28 - 1024/4096 DSA/ELG-E - 16.11.2001
Fingerprint: 3C4B 155F 2621 CEAF D3A6 0CCB 937C 9597 EF37 FF28

Received on Wed Aug 17 20:29:50 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.