getting nullPointerException when renaming

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

getting nullPointerException when renaming

Postby emaayan » Sun Apr 03, 2011 11:19 am

hi..

i get this: java.lang.NullPointerException
at org.eclipse.wb.internal.core.utils.xml.FileDocumentEditContext.<init>(FileDocumentEditContext.java:42)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant.createTemplateChange(UiFieldRenameParticipant.java:177)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant.createChangeEx(UiFieldRenameParticipant.java:93)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant.access$0(UiFieldRenameParticipant.java:85)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant$1.runObject(UiFieldRenameParticipant.java:77)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant$1.runObject(UiFieldRenameParticipant.java:1)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runObjectLog(ExecutionUtils.java:298)
at com.google.gdt.eclipse.designer.uibinder.refactoring.UiFieldRenameParticipant.createChange(UiFieldRenameParticipant.java:75)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:308)
at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:97)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4777)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

when i try to rename a tableViewerColumn i've attached the class i'm trying to rename..
Attachments
Workers.java
(5.7 KiB) Downloaded 4 times
emaayan
 
Posts: 19
Joined: Fri Nov 26, 2010 1:58 am

Re: getting nullPointerException when renaming

Postby Eric Clayberg » Mon Apr 11, 2011 4:06 pm

Give this a try using the latest WindowBuilder build...

Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron