Error in VS2010 Phalanger Tools

Phalanger Tools for Visual Studio [?] is complete PHP/Phalanger integration into Visual Studio development environment.

Error in VS2010 Phalanger Tools

Postby JohnSawyer@codeplex » June 5th, 2011, 7:30 pm

Hello!

I had to reinstall VS2010 (+SP1). Then I installed Phalanger Tools (alongside Resharper and VA X).

Now Phalanger Tools, both April and May versions cause an exception, sometimes with 100% CPU utilization of one processor core.

 <entry>    <record>314</record>    <time>2011/06/05 18:19:57.949</time>    <type>Error</type>    <source>Editor or Editor Extension</source>    <description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at PHP.Core.AST.Analysis.GlobalCodeSymbol..ctor(GlobalCode globalCodeNode, AstCache astCache, String fileName)&#x000D;&#x000A;   at PHP.VisualStudio.PhalangerLanguageService.PhpLanguage.AstCache.GetPhpAst(AuthoringSink sink, String fileName, String code, Boolean forceUpdate)&#x000D;&#x000A;   at PHP.VisualStudio.PhalangerLanguageService.PhpLanguage.ParseSource(ParseRequest request)&#x000D;&#x000A;   at Microsoft.VisualStudio.Package.LanguageService.ParseRequest(ParseRequest req)&#x000D;&#x000A;   at Microsoft.VisualStudio.Package.Source.BeginParse(Int32 line, Int32 idx, TokenInfo info, ParseReason reason, IVsTextView view, ParseResultHandler callback)&#x000D;&#x000A;   at Microsoft.VisualStudio.Package.ViewFilter.GetDataTipText(TextSpan[] aspan, String&amp; textValue)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.TryGetQuickInfoFromFilter(IQuickInfoSession session, TextSpan[] surfaceTextSpan, String&amp; tipText)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 qiContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(Object sender, MouseHoverEventArgs e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()</description>  </entry>

With reformated 0D0A it looks like this:

	System.NullReferenceException: Object reference not set to an instance of an object.   at PHP.Core.AST.Analysis.GlobalCodeSymbol..ctor(GlobalCode globalCodeNode, AstCache astCache, String fileName)   at PHP.VisualStudio.PhalangerLanguageService.PhpLanguage.AstCache.GetPhpAst(AuthoringSink sink, String fileName, String code, Boolean forceUpdate)   at PHP.VisualStudio.PhalangerLanguageService.PhpLanguage.ParseSource(ParseRequest request)   at Microsoft.VisualStudio.Package.LanguageService.ParseRequest(ParseRequest req)   at Microsoft.VisualStudio.Package.Source.BeginParse(Int32 line, Int32 idx, TokenInfo info, ParseReason reason, IVsTextView view, ParseResultHandler callback)   at Microsoft.VisualStudio.Package.ViewFilter.GetDataTipText(TextSpan[] aspan, String& textValue)   at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.TryGetQuickInfoFromFilter(IQuickInfoSession session, TextSpan[] surfaceTextSpan, String& tipText)   at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 qiContent, ITrackingSpan& applicableToSpan)   at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate()   at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start()   at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(Object sender, MouseHoverEventArgs e)   at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()   

Any ideas?

I'll also try March edition, that's what I've been using before...

Best regards,
  JS

JohnSawyer@codeplex
 
Posts: 10
Joined: January 7th, 2012, 8:37 pm

RE: Error in VS2010 Phalanger Tools

Postby JohnSawyer@codeplex » June 5th, 2011, 7:58 pm

Update:

March edition seems to work just fine. Something is broken in newer versions.

Just for information, I'm also using two VS2008 based products: SQL Server 2008 R2 Management Studio and Revolution R Enterprise 4.3.

JohnSawyer@codeplex
 
Posts: 10
Joined: January 7th, 2012, 8:37 pm

RE: Error in VS2010 Phalanger Tools

Postby Jakub Misek » June 5th, 2011, 8:20 pm

Hi,

Thanks for trying Phalanger and the Tools. We are aware of this. As you said, the May 2011 version should be fixed, and we are preparing June 2011 release which should contain the rest of bug fixes. 

Please if you find any other issue, feel free to tell us so we can make the integration better and better.

Cheers,
Jakub 

Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

RE: Error in VS2010 Phalanger Tools

Postby JohnSawyer@codeplex » June 5th, 2011, 8:30 pm

OK, if you are aware of this. I didn't see it in recent discussions or issues.

Cheers

JohnSawyer@codeplex
 
Posts: 10
Joined: January 7th, 2012, 8:37 pm


Return to Phalanger Tools

Who is online

Users browsing this forum: No registered users and 7 guests

cron

User Control Panel

Login

Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 7 guests