[ phpeclipse-Bugs-1313350 ] Comment causes editor freeze

"SourceForge.net" <[email protected]> Thu, 10 May 2007 22:02:28 -0700
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1313350, was opened at 2005-10-04 19:43
Message generated for change (Comment added) made by scorphus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1313350&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Comment causes editor freeze

Initial Comment:
When inserting a comment above a method, such as:

/**
* Blah, blah, blah...
* 
* @return datatype description
*
*/


Sometimes the @return causes a NullPointerException 
after using code completion (eg typing '@ret' then 
pressing CTRL+Space). If you press backspace to delete 
the word 'description', the editor freezes when you get to 
'datatype'.

This is in Eclipse version 3.1.0, build ID I20050627-1435
and PHP Eclipse 1.1.6

----------------------------------------------------------------------

>Comment By: Pablo Aguiar (scorphus)
Date: 2007-05-11 02:02

Message:
Logged In: YES 
user_id=987242
Originator: NO

This issue is fixed in 1.1.9, so is now closed.

Regards,
Pablo.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-10-09 09:41

Message:
Logged In: NO 

The NPE doesn't occurr everytime. 
This seems to be a class loading problem, because the class
mentioned in the NoClassDefFoundError exception is available
in the project.

This is the stacktrace for the NPE:
java.lang.NoClassDefFoundError:
net/sourceforge/phpdt/internal/ui/text/template/contentassist/TemplateProposal
	at
net.sourceforge.phpdt.internal.ui.text.template.contentassist.TemplateEngine.complete(TemplateEngine.java:100)
	at
net.sourceforge.phpdt.internal.ui.text.phpdoc.PHPDocCompletionProcessor.computeCompletionProposals(PHPDocCompletionProcessor.java:165)
	at
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503)
	at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:261)
	at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:258)
	at
org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:221)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:216)
	at
org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1352)
	at
net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor$AdaptedSourceViewer.doOperation(PHPUnitEditor.java:293)
	at
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1313350&group_id=57621

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/