Hybrid View

  1. #1
    Ext User hunkybill's Avatar
    Join Date
    Mar 2007
    Location
    Montreal
    Posts
    67
    Vote Rating
    0
    hunkybill is on a distinguished road

      0  

    Default JS Builder 1.1 Exception

    JS Builder 1.1 Exception


    Hi,

    Probably not a big deal, but the new JS Builder experiences this upon loading up the interface:

    Code:
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Windows.Forms.ToolStripSystemRenderer.RenderStatusStripBackground(ToolStripRenderEventArgs e)
       at System.Windows.Forms.ToolStripSystemRenderer.OnRenderToolStripBackground(ToolStripRenderEventArgs e)
       at System.Windows.Forms.ToolStripRenderer.DrawToolStripBackground(ToolStripRenderEventArgs e)
       at System.Windows.Forms.ToolStrip.OnPaintBackground(PaintEventArgs e)
       at System.Windows.Forms.StatusStrip.OnPaintBackground(PaintEventArgs e)
       at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
       at System.Windows.Forms.Control.WmPaint(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.StatusStrip.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    JSBuilder
        Assembly Version: 1.1.0.0
        Win32 Version: 1.1.0.0
        CodeBase: file:///C:/Program%20Files/JS%20Builder/JSBuilder.exe
    ----------------------------------------
    JSBLib
        Assembly Version: 1.1.0.0
        Win32 Version: 1.1.0.0
        CodeBase: file:///C:/Program%20Files/JS%20Builder/JSBLib.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    0kuv3_3p
        Assembly Version: 1.1.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system>
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    FYI, there's a new JSB-specific forum now (Jack, please move this post there if you see this...)

    hunkybill, can you please try something for me -- switch your machine temporarily to Windows Classic style (under the Appearance tab of your machine's display properties) and relaunch JSB. Does it do anything differently?

    I think this error has to do somehow with XP visual style support, but I can't reproduce it so I'm still guessing a bit at the moment.

  3. #3
    Ext User hunkybill's Avatar
    Join Date
    Mar 2007
    Location
    Montreal
    Posts
    67
    Vote Rating
    0
    hunkybill is on a distinguished road

      0  

    Default


    hunkybill, can you please try something for me -- switch your machine temporarily to Windows Classic style (under the Appearance tab of your machine's display properties) and relaunch JSB. Does it do anything differently?

    I think this error has to do somehow with XP visual style support, but I can't reproduce it so I'm still guessing a bit at the moment.
    Hi Brian,

    Wow! That was one smart guess. I switched to Classic Style and your program worked without a hitch. Sorry to have polluted the forums with this issue then.. me bad...

    Thanks!

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    Well, no, you aren't polluting the forum at all! It's not your fault -- that means that there's probably some kind of error handling that we need to add so that you don't have to run your system in "Classic" (i.e., crappy) mode.

    There is some custom visual style handling code in JSB that sets things up so that you get the nice, pretty XP menus and such. I'll take a look and see if we can fail a bit more gracefully if that's not supported. I'm curious about one thing though... this code has not changed from the last version, so I wonder why you didn't get this issue before?

    I'll let you know when there's a fix you can try out.

    Thanks,
    Brian

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    Hey hunkybill,

    If you are interested in helping me track down this issue (since I can't reproduce it here), can you please do a system search for the file comctl32.dll and report back with:

    - Location of each copy on your machine
    - Version number of each copy

    This file is what drives the XP visual style support in Windows, and I suspect that the version being used by your .NET runtime is either out-of-date, or is otherwise somehow incompatible with what JSB is expecting.

    Thanks,
    Brian

Similar Threads

  1. adding text box in grid though renderer but some exception
    By kd21 in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 11 Dec 2008, 6:42 AM
  2. Form elements exception in grid
    By rajesh in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 5 Feb 2007, 6:11 AM
  3. JS Builder in PHP
    By moraes in forum Sencha Cmd
    Replies: 0
    Last Post: 29 Dec 2006, 5:54 AM
  4. JS Builder: Drag & Drop does not work
    By AgeKay in forum Ext 1.x: Bugs
    Replies: 12
    Last Post: 11 Oct 2006, 4:56 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi