Skip to content

Instantly share code, notes, and snippets.

System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[MonoDevelop.Ide.Gui.IDockNotebookTab].get_Item (Int32 index) [0x00024] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.10/_build/mono-2.10.10.git/mcs/class/corlib/System.Collections.Generic/List.cs:637
at MonoDevelop.Ide.Gui.DockNotebook.RemoveTab (Int32 page, Boolean animate) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/c96cea3e/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DockNotebook.cs:215
at MonoDevelop.Ide.Gui.DefaultWorkbench.RemoveTab (Int32 pageNum, Boolean animate) [0x0000e] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/c96cea3e/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:1185
at MonoDevelop.Ide.Gui.SdiWorkspaceWindow.CloseWindow (Boolean force, Boolean animate) [0x00032] in /Users/builder/data/lanes/monodevelop_private-lion-ui-r
Additional diagnostic output is no longer needed.
TL;DR:
mkbundled binaries on Windows WILL NOT write output to stdout/stderr,
and the process exit value is always 0 when invoked from CMD.EXE.
To view stdout/stderr, you need to redirect output to a file:
> license-check-bundled.exe > o.txt 2>e.txt
@pjbeaman
pjbeaman / Debug
Created November 28, 2012 19:20
OpenGL Sample app targeting API17
OpenTK.Platform.Android.EglException: EglSwapBuffers failed with error 12301 (0x300d)
at OpenTK.Platform.Android.AndroidGraphicsContext.Swap () [0x0004b] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.4-series/cce31287/source/monodroid/src/OpenGLES/Android/AndroidGraphicsContext.cs:145
at OpenTK.Platform.Android.AndroidGameView.SwapBuffers () [0x00017] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.4-series/cce31287/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:188
at PotatoFamineAndroid.GLView1.OnRenderFrame (OpenTK.FrameEventArgs) [0x000bf] in /Users/xamarinqa/Projects/PotatoFamineAndroid/PotatoFamineAndroid/GLView1.cs:88
at OpenTK.Platform.Android.AndroidGameView.RenderFrameInternal (OpenTK.FrameEventArgs) [0x0000c] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.4-series/cce31287/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:260
at OpenTK.Platform.Android.AndroidGameView.RunIteration (System.Threading.CancellationToken) [0x00107] in /Users/builder/dat
[2012-11-13 10:56:30.5] DEBUG: Exchanging login token for user data information.
[2012-11-13 10:56:30.5] DEBUG: Building request for GET to https://addons.internalx.com/api/exchange_token/eb2a2dadf4f0420cb6842a944f93e4e3, with content length 0 and content type application/x-www-form-urlencoded, without cookie.
[2012-11-13 10:56:30.5] DEBUG: Built request for GET to https://addons.internalx.com/api/exchange_token/eb2a2dadf4f0420cb6842a944f93e4e3, request ID: 238865440.
[2012-11-13 10:56:30.5] DEBUG: Executing request 238865440.
[2012-11-13 10:56:30.5] DEBUG: Wrote request stream for request 238865440.
[2012-11-13 10:56:30.6] DEBUG: Reading response stream for request 238865440.
[2012-11-13 10:56:30.6] DEBUG: Exchanged login token for user data information.
[2012-11-13 10:56:31.1] DEBUG: Exchanging login token for user data information.
[2012-11-13 10:56:31.1] DEBUG: Building request for GET to https://addons.internalx.com/api/exchange_token/eb2a2dadf4f0420cb6842a944f93e4e3, with content length 0 and content ty
a - Start up of actions
r - Action-specific records
u - User requests
c - Initial UI parameters
m - Out-of-memory or fatal exit information
o - Out-of-disk-space messages
p - Terminal properties
v - Verbose output
x - Extra debugging information
+ - Append to existing log file
Server Error in '/' Application
Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace:
System.NullReferenceException: Object reference not set to an instance of an object
at System.Web.SessionState.SessionInProcHandler.GetItemInternal (System.Web.HttpContext context, System.String id, System.Boolean& locked, System.TimeSpan& lockAge, System.Object& lockId, System.Web.SessionState.SessionStateActions& actions, Boolean exclusive) [0x00000] in <filename unknown>:0
[2189 - 1 - 2012/10/10 21:49:44.16976 UTC] at System.Net.WebConnectionStream.WriteHeaders () [0x00050] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.10/_build/mono-2.10.10.git/mcs/class/System/System.Net/WebConnectionStream.cs:683
[2189 - 1 - 2012/10/10 21:49:44.16976 UTC] at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x000f8] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.10/_build/mono-2.10.10.git/mcs/class/System/System.Net/WebConnectionStream.cs:651
[2189 - 1 - 2012/10/10 21:49:44.16976 UTC] at (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[])
[2189 - 1 - 2012/10/10 21:49:44.16976 UTC] at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error) [0x0010c] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.10/_build/mono-2.10.10.git/mcs/class/System/System.Net/HttpWebRequest.cs:1174
[2365 - 1 - 2012/10/10 21:52:29.22358 UTC] Checking file existence
Process: MonoDevelop [41815]
Path: /Applications/MonoDevelop.app/Contents/MacOS/MonoDevelop
Identifier: com.xamarin.monodevelop
Version: 4.0 (4.0)
Code Type: X86 (Native)
Parent Process: launchd [238]
User ID: 502
Date/Time: 2012-10-01 17:55:20.812 -0400
OS Version: Mac OS X 10.8.1 (12B19)
XBuild Engine Version 2.10.10.0
Mono, Version 2.10.10.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 9/25/2012 2:20:35 PM.
__________________________________________________
Project "/Users/pjbeaman/GitHubRepositories/monodroid/samples/Hello/Hello.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
9/19/12 11:40:15.650 AM Installer[10365]: Couldn't find license referenced by distribution
9/19/12 11:40:15.697 AM Installer[10365]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
9/19/12 11:40:19.266 AM Installer[10365]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
9/19/12 11:40:27.953 AM sudo[10529]: root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.0bhlbV/tmp/selfgz104673608 ; USER=pjbeaman ; COMMAND=./driver
9/19/12 11:40:39.108 AM Installer[10365]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
9/19/12 11:40:39.265 AM Installer[10365]: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
9/19/12 11:41:34.893 AM login[10550]: USER_PROCESS: 10550 ttys011
9/19/12 11:42:13.53