Skip to content

Crashes on hello world VB.net assembly #124

Description

@greenozon

eg:

Imports Microsoft.VisualBasic.CompilerServices
Imports System

Namespace test
	Friend Module Program
		<STAThread>
		Public Sub Main(ByVal args As String())
			
			Current member / type: System.Void test.Program::Main(System.String[])
			File path: C:\Tmp\test.dll
			
			Product version: 0.0.0.0
			Exception in: System.Void Main(System.String[])
			
			Object reference not set to an instance of an object.
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.DTree.BaseDominatorTreeBuilder.ComputeDominanceFrontiers() in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\DTree\BaseDominatorTreeBuilder.cs:line 112
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.DTree.BaseDominatorTreeBuilder.BuildTreeInternal(BaseDominatorTreeBuilder theBuilder) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\DTree\BaseDominatorTreeBuilder.cs:line 26
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.DTree.FastDominatorTreeBuilder.BuildTree(ISingleEntrySubGraph graph) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\DTree\FastDominatorTreeBuilder.cs:line 25
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.DominatorTreeDependentStep.GetDominatorTreeFromContext(ILogicalConstruct construct) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\DominatorTreeDependentStep.cs:line 20
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.Loops.LoopBuilder.ProcessLogicalConstruct(ILogicalConstruct construct) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\Loops\LoopBuilder.cs:line 68
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.Loops.LoopBuilder.BuildLoops(ILogicalConstruct block) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\Loops\LoopBuilder.cs:line 59
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.Loops.LoopBuilder.BuildLoops(ILogicalConstruct block) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\Loops\LoopBuilder.cs:line 56
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.Loops.LoopBuilder.BuildLoops(ILogicalConstruct block) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\Loops\LoopBuilder.cs:line 56
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.LogicalFlowBuilderStep.BuildLogicalConstructTree() in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\LogicalFlowBuilderStep.cs:line 128
			   at Telerik.JustDecompiler.Decompiler.LogicFlow.LogicalFlowBuilderStep.Process(DecompilationContext context, BlockStatement body) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\LogicFlow\LogicalFlowBuilderStep.cs:line 53
			   at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.RunInternal(MethodBody body, BlockStatement block, ILanguage language) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\DecompilationPipeline.cs:line 88
			   at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\DecompilationPipeline.cs:line 70
			   at Telerik.JustDecompiler.Decompiler.Extensions.RunPipeline(DecompilationPipeline pipeline, ILanguage language, MethodBody body, DecompilationContext& context) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\Extensions.cs:line 95
			   at Telerik.JustDecompiler.Decompiler.Extensions.Decompile(MethodBody body, ILanguage language, DecompilationContext& context, TypeSpecificContext typeContext) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\Extensions.cs:line 61
			   at Telerik.JustDecompiler.Decompiler.WriterContextServices.BaseWriterContextService.DecompileMethod(ILanguage language, MethodDefinition method, TypeSpecificContext typeContext) in D:\a\CodemerxDecompile\CodemerxDecompile\src\JustDecompileEngine\src\JustDecompiler.Shared\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 118
			
			mailto: JustDecompilePublicFeedback@telerik.com

		End Sub
	End Module
End Namespace

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions