System.InvalidCastException when loading a project
6 posts
• Page 1 of 1
System.InvalidCastException when loading a project
I keep receiving this exception when loading any PHP project in Visual Studio 2015
- Code: Select all
<entry>
<record>631</record>
<time>2016/10/06 11:52:20.061</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast object of type 'WhereSelectListIterator`2[Devsense.PHP.Syntax.QualifiedNameRef,Devsense.PHP.Syntax.Ast.TypeRef]' to type 'System.Collections.Generic.List`1[Devsense.PHP.Syntax.Ast.TypeRef]'.
 at Devsense.PHP.Syntax.Parser.DoAction(Int32 action)
 at Devsense.PHP.Syntax.ShiftReduceParser`2.Reduce(Int32 rule_nr)
 at Devsense.PHP.Syntax.ShiftReduceParser`2.Parse()
 at Devsense.PHP.Syntax.Parser.Parse(ITokenProvider`2 lexer, INodesFactory`2 astFactory, IErrorSink`1 errors, Int32 positionShift)
 at 	.Parse(INodesFactory`2 factory, IErrorSink`1 errors)</description>
</entry>
- MikeBush
- Posts: 4
- Joined: October 6th, 2016, 12:04 pm
Re: System.InvalidCastException when loading a project
Hi Mike,
What exact version do you have? Isn't it a beta of 1.12? (EDIT: 1.20 !!)
The latest stable can be downloaded at https://www.devsense.com/download
Thanks,
What exact version do you have? Isn't it a beta of 1.12? (EDIT: 1.20 !!)
The latest stable can be downloaded at https://www.devsense.com/download
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: System.InvalidCastException when loading a project
I am currently running 1.20.9085 but this also happened with the previous build too of 1.19.8876 and 1.19.8851.
Beta of 1.12??? The last version in that branch was released on 12 May 2014.
Beta of 1.12??? The last version in that branch was released on 12 May 2014.
- MikeBush
- Posts: 4
- Joined: October 6th, 2016, 12:04 pm
Re: System.InvalidCastException when loading a project
Sorry, typo, 1.20 of course.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: System.InvalidCastException when loading a project
1.20 is now marked as stable on your downloads page
- MikeBush
- Posts: 4
- Joined: October 6th, 2016, 12:04 pm
Re: System.InvalidCastException when loading a project
Thanks! will be fixed in the next update tomorrow.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 51 guests