Community
Participate
Working Groups
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)
James, does it happen on Cocoa? It looks pretty much like bug 271393.
*** This bug has been marked as a duplicate of bug 272346 ***