Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 272011 - NPE in when changing PluginContentMergeViewer in Team Synchronizing Perspective
Summary: NPE in when changing PluginContentMergeViewer in Team Synchronizing Perspective
Status: RESOLVED DUPLICATE of bug 272346
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 09:15 EDT by James Blackburn CLA
Modified: 2009-04-27 10:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2009-04-13 09:15:29 EDT
3.5m6
I'm getting an NPE repeatedly when changing between a 'plugin.xml' file and any other file in the Synchronize view of the Team Synchronizing perspective.

Exception attached:

java.lang.NullPointerException
at org.eclipse.swt.graphics.TextLayout$StyleItem.createStyle(TextLayout.java:58)
at org.eclipse.swt.graphics.TextLayout.computeRuns(TextLayout.java:366)
at org.eclipse.swt.graphics.TextLayout.getLineCount(TextLayout.java:1196)
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:947)
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:702)
at org.eclipse.swt.custom.StyledText.getPointAtOffset(StyledText.java:5286)
at org.eclipse.swt.custom.StyledText.getLocationAtOffset(StyledText.java:4217)
at org.eclipse.jface.text.CursorLinePainter.drawHighlightLine(CursorLinePainter.java:176)
at org.eclipse.jface.text.CursorLinePainter.deactivate(CursorLinePainter.java:194)
at org.eclipse.jface.text.PaintManager.removePainter(PaintManager.java:214)
at org.eclipse.jface.text.TextViewer.removePainter(TextViewer.java:5040)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.hideCursorLine(SourceViewerDecorationSupport.java:709)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateTextDecorations(SourceViewerDecorationSupport.java:306)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.dispose(SourceViewerDecorationSupport.java:387)
at org.eclipse.compare.contentmergeviewer.TextMergeViewer.handleDispose(TextMergeViewer.java:1852)
at org.eclipse.pde.internal.ui.compare.PluginContentMergeViewer.handleDispose(PluginContentMergeViewer.java:84)
at org.eclipse.jface.viewers.ContentViewer$2.widgetDisposed(ContentViewer.java:214)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
Comment 1 Tomasz Zarna CLA 2009-04-17 04:52:08 EDT
James, does it happen on Cocoa? It looks pretty much like bug 271393.
Comment 2 Tomasz Zarna CLA 2009-04-27 10:39:48 EDT

*** This bug has been marked as a duplicate of bug 272346 ***