Exceptions editing doc blocks
2 posts
• Page 1 of 1
Exceptions editing doc blocks
I've seen this error for awhile now and since the latest version did not appear to fix it, I thought I would post a note this time.
I get exceptions being thrown by PHPTools when editing PHP doc blocks at the top of a source file. In this particular case there was a word in the header that I wanted to replace with other word - in this case the word 'BOGUS', below. When I highlight and try and delete the word, an exception thrown by PHPTools, as caught in the VS ActivityLog.XML file.
This is what my doc header looks like:
Here's what the exception looks like:
The full stack is binary coded, so it's hard to read the full stack since the <descriptions> node is 15000 characters long, but I hope this helps you diagnose it.
I'll save my ActivityLog.xml file in case you need it.
Regards,
Corey.
I get exceptions being thrown by PHPTools when editing PHP doc blocks at the top of a source file. In this particular case there was a word in the header that I wanted to replace with other word - in this case the word 'BOGUS', below. When I highlight and try and delete the word, an exception thrown by PHPTools, as caught in the VS ActivityLog.XML file.
This is what my doc header looks like:
- Code: Select all
/**
* Entrada [ http://www.entrada-project.org ]
*
* Entrada is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Entrada is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Entrada. If not, see <http://www.gnu.org/licenses/>.
*
* A model for BOGUS maps table.
*
* @author Organisation: University of Calgary
* @author Developer: ME (?????@?????.?????)
* @copyright Copyright 2017 University of Calgary. All Rights Reserved.
*/
Here's what the exception looks like:
- Code: Select all
<entry>
<record>647</record>
<time>2017/01/19 04:00:38.115</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast object of type 'DictionaryNode' to type 'Devsense.PHP.Syntax.PHPDocBlock'. at Devsense.PHP.Syntax.PropertyCollection.GetProperty[T]() at ....</description>
</entry>
The full stack is binary coded, so it's hard to read the full stack since the <descriptions> node is 15000 characters long, but I hope this helps you diagnose it.
I'll save my ActivityLog.xml file in case you need it.
Regards,
Corey.
- coreymw
- Posts: 2
- Joined: November 22nd, 2015, 9:26 pm
Re: Exceptions editing doc blocks
Hello Corey,
Thanks for the feedback. May I ask you to send us full activity log? Hopefully that will help us to fix this.
Thanks!
Thanks for the feedback. May I ask you to send us full activity log? Hopefully that will help us to fix this.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 104 guests