| Summary: | NullPointerException in FormatPreferencesSupport class | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Q.S. Wang <qiangsheng.w> | ||||
| Component: | PDT | Assignee: | Q.S. Wang <qiangsheng.w> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | coding, eclipse, ganoro, hai.kataker, iainhouston, jean.carlos, karl, lukasz, petyo_tanchev, pugorg, zhaozhongwei | ||||
| Version: | unspecified | Flags: | qiangsheng.w:
review+
ganoro: review+ zhaozhongwei: review+ |
||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 177815 [details]
new patch
fixed fixed. *** Bug 326553 has been marked as a duplicate of this bug. *** The patch is not included in the latest update of PDT. How do i manually apply the patch? My PDT is otherwise not operational, since i heavily rely on the diff feature. I cannot find any indication in the PDT roadmap of when a build incorporating this patch will be made available. Does anyone have any insight on that process/timetable? (Knowing that the bug is resolved is of much less utility than having a working capability to do diffs in my IDE) *** Bug 326856 has been marked as a duplicate of this bug. *** Tested on PDT 2.2.1.v20101001 Fixed cool, and where can i get this new version ? *** Bug 327230 has been marked as a duplicate of this bug. *** I used this link. Everything looked good for diffing files. https://hudson.eclipse.org/hudson/job/cbi-pdt-2.2-helios/lastSuccessfulBuild/artifact/build/M201010080201/pdt-AllFeaturesAndPlugins-M201010080201.zip *** Bug 326600 has been marked as a duplicate of this bug. *** or use this update site: http://download.eclipse.org/tools/pdt/updates/2.2/milestones (In reply to comment #13) > or use this update site: > http://download.eclipse.org/tools/pdt/updates/2.2/milestones Thanks, Roy. Many thanks to you. It's pretty simple, but for those who do not know is very difficult. Jean. (In reply to comment #14) > (In reply to comment #13) > > or use this update site: > > http://download.eclipse.org/tools/pdt/updates/2.2/milestones > > Thanks, Roy. How can I install this patch in Eclipse Classic 3.6.1? Patch is not available in update! |
The issue is that the passed in document doesn't necessarily to be a managed one. For example, the case of compare editor and preview pages. Stack trace below. Caused by: java.lang.NullPointerException at org.eclipse.php.internal.core.format.FormatPreferencesSupport.verifyValidity(FormatPreferencesSupport.java:100) at org.eclipse.php.internal.core.NullPointerExcformat.FormatPreferencesSupport.getIndentationChar(FormatPreferencesSupport.java:89) at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getIndentPrefixes(PHPStructuredTextViewerConfiguration.java:436)