Expand All Members fails

2 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Jun 2010

    Posted 21 May 2011 Link to this post

    When I do an "Expand All Members" for a Silverlight 4 MainPage, I get:
    Object reference not set to an instance of an object.
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(Int32 index, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(InstructionBlock start, InstructionBlock limit, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(BlockRange range, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.( data, IfStatement conditional)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.†(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.OnBeq(Instruction instruction)
       at ..(Instruction instruction, IInstructionVisitor visitor)
       at Telerik.JustDecompiler.Cil.BaseInstructionVisitor.Visit(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.„(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(Int32 index, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(InstructionBlock start, InstructionBlock limit, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(BlockRange range, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.( data, IfStatement conditional)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.†(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.OnBrfalse(Instruction instruction)
       at ..(Instruction instruction, IInstructionVisitor visitor)
       at Telerik.JustDecompiler.Cil.BaseInstructionVisitor.Visit(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.„(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(Int32 index, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(InstructionBlock start, InstructionBlock limit, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(BlockRange range, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.( data, IfStatement conditional)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.†(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.OnBrfalse(Instruction instruction)
       at ..(Instruction instruction, IInstructionVisitor visitor)
       at Telerik.JustDecompiler.Cil.BaseInstructionVisitor.Visit(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.„(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(Int32 index, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(InstructionBlock start, InstructionBlock limit, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(BlockRange range, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.( data, IfStatement conditional)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.†(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.OnBrtrue(Instruction instruction)
       at ..(Instruction instruction, IInstructionVisitor visitor)
       at Telerik.JustDecompiler.Cil.BaseInstructionVisitor.Visit(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.„(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(Int32 index, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(InstructionBlock start, InstructionBlock limit, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.“(BlockRange range, BlockStatement block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.( data, IfStatement conditional)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.†(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.OnBrfalse(Instruction instruction)
       at ..(Instruction instruction, IInstructionVisitor visitor)
       at Telerik.JustDecompiler.Cil.BaseInstructionVisitor.Visit(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.„(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.()
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.Run()
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.Process(DecompilationContext context, BlockStatement body)
       at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body)
       at Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, MethodBody body)
       at Telerik.JustDecompiler.Decompiler.Extensions.Decompile(MethodBody body, ILanguage language)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.•ƒ(IMemberDefinition member, Boolean isLastMember)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.—ƒ(IMemberDefinition x, Boolean y)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.WriteTypeMembers(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.WriteType(TypeDefinition type)
       at JustDecompile.CodeViewer.CodeWriter.Write() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:line 27
       at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 102

    And here is the original page that blew up:

    public class MainPage : UserControl, INotifyPropertyChanged
    {
        private PropertyChangedEventHandler @e_PropertyChanged;
     
        private DateTime @p_Clock;
     
        private bool @p_UpdateEnabled;
     
        private UserSecurity @p_UserSecurity;
     
        private bool _contentLoaded;
     
        internal HyperlinkButton AboutButton;
     
        internal TextBlock Clock1;
     
        internal Storyboard clockPulse;
     
        private DispatcherTimer ClockTimer;
     
        private ControlCursorStack cursorStack;
     
        internal HyperlinkButton EditOptionsButton;
     
        internal HyperlinkButton HomeButton;
     
        internal Grid LayoutRoot;
     
        internal Frame MainFrame;
     
        internal Expander myExpander;
     
        internal HyperlinkButton NewOptionsButton;
     
        private IsolatedStorageSettings userSettings;
     
        internal HyperlinkButton ViewButton;
     
        public DateTime Clock;
     
        public bool UpdateEnabled;
     
        public UserSecurity UserSecurity;
     
        public MainPage();
     
        private void AboutButton_Click(object sender, RoutedEventArgs e);
     
        private void Application_Current_CheckAndDownloadUpdateCompleted(object sender, CheckAndDownloadUpdateCompletedEventArgs e);
     
        private void CheckForUpdateClick(object sender, RoutedEventArgs e);
     
        private void ClockTimer_Tick(object sender, EventArgs e);
     
        private void EditOptionsButton_Click(object sender, RoutedEventArgs e);
     
        private void HideShowMenu(object sender, RoutedEventArgs e);
     
        private void HomeButton_Click(object sender, RoutedEventArgs e);
     
        [DebuggerNonUserCode]
        public void InitializeComponent();
     
        private void MainFrame_Navigated(object sender, NavigationEventArgs e);
     
        private void MainFrame_Navigating(object sender, NavigatingCancelEventArgs e);
     
        private void MainPage_Loaded(object sender, RoutedEventArgs e);
     
        private Visibility MainPage_Loaded@0();
     
        private void NavigateTo(string UriString);
     
        private void NewOptionsButton_Click(object sender, RoutedEventArgs e);
     
        protected  void raise_PropertyChanged(object sender, PropertyChangedEventArgs e);
     
        private void ShowErrors(object sender, RoutedEventArgs e);
     
        private void ViewButton_Click(object sender, RoutedEventArgs e);
     
        public event PropertyChangedEventHandler PropertyChanged;
    }
     
    Expand All Members

  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 27 May 2011 Link to this post

    Hi Mark,
    Thanks for reporting this issue and sorry for the late reply. We tried to reproduce this problem locally but we couldn't. We suppose it's something related to the other part of the code of this page.
    Is there any chance that you could send us the entire assembly (by opening a separate support ticket or by sending us general feedback: http://www.telerik.com/account/support-tickets/general-feedback.aspx ). You help would be much appreciated!

    Thanks!

    All the best,
    Chris
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
Back to Top