This is a migrated thread and some comments may be shown as answers.

Many errors!

1 Answer 84 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Russell Mason
Top achievements
Rank 1
Russell Mason asked on 25 Aug 2012, 04:20 PM

Hi

I am evaluating JustCode but on opening a simple project I get dozens of errors and warnings showing. However, these are not valid, as the project compiles and runs fine. On further inspection I noticed the error below (unit test code error) appearing in the JustCode output window approximately every 0.1 seconds. This is a unit test project using MSTest, and the JustCode unit test window does not show any tests listed.

On opening an MVC project almost everything was highlighted as an error with the error below (MVC controller code error) appearing in the JustCode output window.

I am using Trial Version Q2 2012 SP2 Preview (2012.2.815.1)
Does this work in VS2012 on Windows 8 (both official RTW)?

Thanks
Russell Mason


Unit test code error:


INFO 2012-08-25 16:57:27.249 : Error detecting changes of 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\FizzBuzz\FizzBuzz.Tests\Tests\RulesTests.cs' in 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\FizzBuzz\FizzBuzz.Tests\FizzBuzz.Tests.csproj' C#

ERROR 2012-08-25 16:57:27.253 :  [HResult: 80070057]

System.ArgumentException: node must not be Node.None in {0} in 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\FizzBuzz\FizzBuzz.Tests\Tests\RulesTests.cs' in 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\FizzBuzz\FizzBuzz.Tests\FizzBuzz.Tests.csproj'

Parameter name: node

   at Telerik.JustCode.BaseClassLibraryExtensions.Argument.Assert(Boolean condition, String message, String parameterName) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\BaseClassLibraryExtensions\Argument.cs:line 60

   at Telerik.JustCode.CommonLanguageModel.Core.SyntaxTree.GetSyntaxTag(Node node) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\SyntaxTree.cs:line 933

   at Telerik.JustCode.LanguageFrontend.CSharp.CSSignatureAnalyzer.GetDeclarationDigest(SyntaxTree ast, Node node) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSSignatureAnalyzer.cs:line 142

   at Telerik.JustCode.LanguageFrontend.CSharp.CSSignatureAnalyzer.GetDeclarationDigest(SyntaxTree ast) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSSignatureAnalyzer.cs:line 67

   at Telerik.JustCode.CommonLanguageModel.Core.SyntaxTree.GetDeclarationDigest() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\SyntaxTree.cs:line 617

   at Telerik.JustCode.CommonLanguageModel.Core.EntitySpace.GetDeclarationDigest(FileEntry file, ILanguage language) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\EntitySpace.cs:line 631

   at Telerik.JustCode.CommonLanguageModel.Core.EntitySpace.Update(Boolean& allChanged, SetOfFileEntry& changedFiles, Boolean& globalRecheckRequired) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\EntitySpace.cs:line 427

   at Telerik.JustCode.CommonLanguageModel.Core.Model.Begin(Boolean updateFileSpace, Boolean updateTemporary, Boolean& entitiesChanged) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\Model.cs:line 175

   at Telerik.JustCode.CommonLanguageModel.Engine.Tools.ToolModel.Begin(Boolean updateFileSpace, Boolean updateTemporary, Boolean& entitiesChanged) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\tools\ToolModel.cs:line 28

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#4V() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1124

Log Site Stacktrace:

   at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 91

   at Telerik.JustCode.Common.Logging.ExceptionInfo..ctor(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 16

   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 130

   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 76

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#Ks(Exception e, String moduleName) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 2003

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#Ks(Exception e) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1980

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#4V() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1124

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#RV() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 535

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()




MVC controller code error:


INFO 2012-08-25 17:07:51.171 : Error analyzing 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\Routing\Routing\Web.config' in 'D:\Users\Russell\Documents\Visual Studio 2012\Projects\Routing\Routing\Routing.csproj'

ERROR 2012-08-25 17:07:51.182 :  [HResult: 80004003]

System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.JustCode.CommonLanguageModel.Core.Classtype.#NCb(TypeEntity canonicEntity) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\Classtype.cs:line 2680

   at Telerik.JustCode.CommonLanguageModel.Core.Classtype.#GCb() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\Classtype.cs:line 2268

   at Telerik.JustCode.CommonLanguageModel.Core.Classtype.GetAllMembers() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Core\Core\Classtype.cs:line 1549

   at Telerik.JustCode.LanguageFrontend.CSharp.CSCodeAnalyzer.#p.#su.#OA(Node node) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSCodeAnalyzer.cs:line 1136

   at Telerik.JustCode.LanguageFrontend.CSharp.CSCodeAnalyzer.#p.#su.#MA(Node node) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSCodeAnalyzer.cs:line 733

   at Telerik.JustCode.LanguageFrontend.CSharp.CSCodeAnalyzer.#p.#su.#EA(Node node) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSCodeAnalyzer.cs:line 512

   at Telerik.JustCode.LanguageFrontend.CSharp.CSCodeAnalyzer.#p.#su.#1u(SyntaxTree ast, SetOfNodes nodesToAnalyze, Boolean loadConstants, Boolean loadAttributes, Boolean loadAssemblyAttributes, Boolean errors, Boolean warnings) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSCodeAnalyzer.cs:line 363

   at Telerik.JustCode.LanguageFrontend.CSharp.CSCodeAnalyzer.AnalyzeErrors(SyntaxTree ast) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\LanguageFrontend.CSharp\CSCodeAnalyzer.cs:line 67

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#fW(FileEntry file) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1855

Log Site Stacktrace:

   at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 91

   at Telerik.JustCode.Common.Logging.ExceptionInfo..ctor(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 16

   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 130

   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 76

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#Ks(Exception e, String moduleName) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 2003

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#Ks(Exception e) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1980

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#fW(FileEntry file) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1855

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#eW(SetOfFileEntry filesToCheck, Boolean& aborted) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1773

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#cW(Int32 assembly, Dictionary`2 filesPerAssembly, SetOfFileEntry cachedFiles, SetOfInt visitedAssemblies, Int32 indent, Boolean evict, Boolean& aborted) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1703

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#cW(Int32 assembly, Dictionary`2 filesPerAssembly, SetOfFileEntry cachedFiles, SetOfInt visitedAssemblies, Int32 indent, Boolean evict, Boolean& aborted) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1688

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#cW(Int32 assembly, Dictionary`2 filesPerAssembly, SetOfFileEntry cachedFiles, SetOfInt visitedAssemblies, Int32 indent, Boolean evict, Boolean& aborted) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1688

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#aW(Boolean dorecheck, Boolean dogetcontext) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1582

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#4V() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 1170

   at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#RV() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Engine\CLMEngine.cs:line 535

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 29 Aug 2012, 03:33 PM
Hello,

 Thanks for the feedback.
Would send me the log files located in %localappdata%\JustCode\Logs?
Also, what kind of project are you opening when these false errors appear? Can you provide it to us, so we could reproduce it?

Regarding the MVC issue we are aware of such a problem but we can not reproduce it on our side.

Yes, JustCode is compatible with VS12 and Win 8.

Greetings,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Code Analysis
Asked by
Russell Mason
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or