VS2015 Community Editor ActivityLog.xml reporting exceptions

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

VS2015 Community Editor ActivityLog.xml reporting exceptions

Postby MikeBush » October 16th, 2017, 10:49 am

Below are entries from the ActivityLog.xml reporting an exception which displays two error dialog boxes when Visual Studio 2015 Community loads a PHP project.
Code: Select all
<entry>
    <record>678</record>
    <time>2017/10/16 10:37:23.991</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidCastException: Unable to cast object of type &apos;Devsense.PHP.Syntax.Ast.UnaryEx&apos; to type &apos;Devsense.PHP.Syntax.Ast.VarLikeConstructUse&apos;.&#x000D;&#x000A;   at Devsense.PHP.Syntax.Ast.BasicNodesFactory.Variable(Span span, String name, LangElement memberOfOpt)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.CreateProperty(Span span, LangElement objectExpr, Object name)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.DoAction(Int32 action)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Reduce(Int32 rule_nr)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Parse()&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.Parse(ITokenProvider`2 lexer, INodesFactory`2 astFactory, LanguageFeatures language, IErrorSink`1 errors, IErrorRecovery errorRecovery, Int32 positionShift)&#x000D;&#x000A;   at &#x000C;&#x0004;&#x0013;&#x0010;&#x0009;&#x0018;&#x000F;&#x0019;&#x001D;&#x0016;&#x000B;&#x001B;&#x000A;&#x000A;&#x0001;&#x000F;&#x001E;&#x0006;&#x001E;&#x0019;&#x0004;&#x0008;&#x0005;&#x000D;&#x0005;.Parse(INodesFactory`2 factory, IErrorSink`1 errors, IErrorRecovery recovery)</description>
  </entry>
  <entry>
    <record>679</record>
    <time>2017/10/16 10:37:23.992</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidCastException: Unable to cast object of type &apos;Devsense.PHP.Syntax.Ast.UnaryEx&apos; to type &apos;Devsense.PHP.Syntax.Ast.VarLikeConstructUse&apos;.&#x000D;&#x000A;   at Devsense.PHP.Syntax.Ast.BasicNodesFactory.Variable(Span span, String name, LangElement memberOfOpt)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.CreateProperty(Span span, LangElement objectExpr, Object name)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.DoAction(Int32 action)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Reduce(Int32 rule_nr)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Parse()&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.Parse(ITokenProvider`2 lexer, INodesFactory`2 astFactory, LanguageFeatures language, IErrorSink`1 errors, IErrorRecovery errorRecovery, Int32 positionShift)&#x000D;&#x000A;   at &#x000C;&#x0004;&#x0013;&#x0010;&#x0009;&#x0018;&#x000F;&#x0019;&#x001D;&#x0016;&#x000B;&#x001B;&#x000A;&#x000A;&#x0001;&#x000F;&#x001E;&#x0006;&#x001E;&#x0019;&#x0004;&#x0008;&#x0005;&#x000D;&#x0005;.Parse(INodesFactory`2 factory, IErrorSink`1 errors, IErrorRecovery recovery)</description>
  </entry>
  <entry>
    <record>680</record>
    <time>2017/10/16 10:37:24.029</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidCastException: Unable to cast object of type &apos;Devsense.PHP.Syntax.Ast.UnaryEx&apos; to type &apos;Devsense.PHP.Syntax.Ast.VarLikeConstructUse&apos;.&#x000D;&#x000A;   at Devsense.PHP.Syntax.Ast.BasicNodesFactory.Variable(Span span, String name, LangElement memberOfOpt)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.CreateProperty(Span span, LangElement objectExpr, Object name)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.DoAction(Int32 action)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Reduce(Int32 rule_nr)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Parse()&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.Parse(ITokenProvider`2 lexer, INodesFactory`2 astFactory, LanguageFeatures language, IErrorSink`1 errors, IErrorRecovery errorRecovery, Int32 positionShift)&#x000D;&#x000A;   at &#x000C;&#x0004;&#x0013;&#x0010;&#x0009;&#x0018;&#x000F;&#x0019;&#x001D;&#x0016;&#x000B;&#x001B;&#x000A;&#x000A;&#x0001;&#x000F;&#x001E;&#x0006;&#x001E;&#x0019;&#x0004;&#x0008;&#x0005;&#x000D;&#x0005;.Parse(INodesFactory`2 factory, IErrorSink`1 errors, IErrorRecovery recovery)</description>
  </entry>
  <entry>
    <record>681</record>
    <time>2017/10/16 10:37:24.029</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidCastException: Unable to cast object of type &apos;Devsense.PHP.Syntax.Ast.UnaryEx&apos; to type &apos;Devsense.PHP.Syntax.Ast.VarLikeConstructUse&apos;.&#x000D;&#x000A;   at Devsense.PHP.Syntax.Ast.BasicNodesFactory.Variable(Span span, String name, LangElement memberOfOpt)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.CreateProperty(Span span, LangElement objectExpr, Object name)&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.DoAction(Int32 action)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Reduce(Int32 rule_nr)&#x000D;&#x000A;   at Devsense.PHP.Syntax.ShiftReduceParser`2.Parse()&#x000D;&#x000A;   at Devsense.PHP.Syntax.Parser.Parse(ITokenProvider`2 lexer, INodesFactory`2 astFactory, LanguageFeatures language, IErrorSink`1 errors, IErrorRecovery errorRecovery, Int32 positionShift)&#x000D;&#x000A;   at &#x000C;&#x0004;&#x0013;&#x0010;&#x0009;&#x0018;&#x000F;&#x0019;&#x001D;&#x0016;&#x000B;&#x001B;&#x000A;&#x000A;&#x0001;&#x000F;&#x001E;&#x0006;&#x001E;&#x0019;&#x0004;&#x0008;&#x0005;&#x000D;&#x0005;.Parse(INodesFactory`2 factory, IErrorSink`1 errors, IErrorRecovery recovery)</description>
  </entry>
MikeBush
 
Posts: 4
Joined: October 6th, 2016, 12:04 pm

Re: VS2015 Community Editor ActivityLog.xml reporting except

Postby Michal Brabec » October 17th, 2017, 1:57 pm

Thank you for reporting the issue.
We have located the source of the crash and it will be fixed in the next update.
Best regards,
Michal
Michal Brabec │ DEVSENSE s.r.o. │ @gMichalBrabecmichal.brabec@devsense.com
User avatar
Michal Brabec
 
Posts: 4
Joined: September 14th, 2016, 8:55 am


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

cron

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 4 guests
Phalanger