Skip to content

Instantly share code, notes, and snippets.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,Mono.TextEditor.Highlighting.ColorScheme].ContainsKey (System.String key) [0x00099] 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/Dictionary.cs:494
at Mono.TextEditor.Highlighting.SyntaxModeService.GetColorStyle (System.String name) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/e4761f93/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:80
at MonoDevelop.Ide.CodeCompletion.TooltipInformationWindow..ctor () [0x00142] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/e4761f93/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/TooltipInformationWindow.cs
Unable to create files directory
Shutting down VM
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.NullPointerException
at android.app.ActivityThread.installProvider(ActivityThread.java:4509)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
at android.app.ActivityThread.access$3000(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
at android.os.Handler.dispatchMessage(Handler.java:99)
jdwp ( 1462): adbd disconnected
I/InputReader( 861): Device reconfigured: id=0x0, name=qwerty2, display size is now 240x320
I/InputManager-Callbacks( 861): No virtual keys found for device qwerty2.
D/dalvikvm( 861): GC_CONCURRENT freed 451K, 42% free 4238K/7239K, external 1091K/1507K, paused 6ms+21ms
I/Process ( 1381): Sending signal. PID: 1381 SIG: 9
I/ActivityManager( 861): Process TestProjRef.TestProjRef (pid 1381) has died.
D/AndroidRuntime( 4280):
D/AndroidRuntime( 4280): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 4280): CheckJNI is ON
D/AndroidRuntime( 4280): Calling main entry com.android.commands.am.Am
9/5/12 3:39:41.990 PM com.apple.usbmuxd[16]: USBDeviceOpen failed: 0xe00002c5
9/5/12 3:39:45.469 PM mtouch[69634]: AMDeviceSlowLookupBreak (thread 0xac82ba28): AMDeviceLookupApplications was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on AMDeviceSlowLookupBreak to debug.
9/5/12 3:39:45.469 PM mtouch[69634]: AMDeviceSlowLookupBreak (thread 0xac82ba28): Existing options dictionary: (null)
9/5/12 3:39:45.530 PM mtouch[69634]: AMDeviceSlowLookupBreak (thread 0xac82ba28): AMDeviceBrowseApplications was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on AMDeviceSlowLookupBreak to debug.
9/5/12 3:39:45.530 PM mtouch[69634]: AMDeviceSlowLookupBreak (thread 0xac82ba28): Existing options dictionary: (null)
9/5/12 3:39:46.990 PM com.apple.usbmuxd[16]: USBDeviceOpen failed: 0xe00002c5
9/5/12 3:39:47.645 PM
mandroid execution: "--activate" "--name" "PJ BEAMAN" "--company" "XAMARAMA" "--email" "WHY.AMIYELLING@WHOKNOWS.COM" "--phone" "180094JENNY" "--code" "7ESD0-PU8CK-UD7BS-YHR74-1DM7T"
System.Runtime.InteropServices.MarshalDirectiveException: Can not marshal 'parameter #4': Pointers can not reference marshaled structures. Use byref instead.
at (wrapper managed-to-native) Xamarin.Android.Licensing.Interop.UnsafeNativeMethods:GetAdaptersAddresses (Xamarin.Android.Licensing.Interop.AddressFamily,Xamarin.Android.Licensing.Interop.GetAdaptersAddressesFlags,intptr,Xamarin.Android.Licensing.Interop.IpAdapterAddresses*,uint&)
at Xamarin.Android.Licensing.Interop.WinNetworkInterfaces.GetNetworkInterfaces () [0x00000] in <filename unknown>:0
at Xamarin.Android.Licensing.Interop.WinNetworkInterfaces.A () [0x00000] in <filename unknown>:0
at Activation.GetXML () [0x00000] in <filename unknown>:0
at Activation.Activate (System.String name, System.String email, System.String company, System.String phone, System.S
C:\Users\puppetmaster>"C:\Program Files (x86)\MSBuild\Novell\mandroid.exe" --ver
sion > mandroiders.txt
C:\Users\puppetmaster>cat mandroiders.txt
monodroid 4.2.6.220946572
C:\Users\puppetmaster>"C:\Program Files (x86)\MSBuild\Novell\mandroid.exe" --act
ivate --name "PJ BEAMAN" --company XAMARAMA --email WHY.AMIYELLING@WHOKNOWS.COM
--phone 180094JENNY --code 7ESD0-PU8CK-UD7BS-YHR74-1DM7T > out.txt && echo %erro
C:\Users\puppetmaster>"C:\Program Files (x86)\MSBuild\Novell\mandroid.exe" --ver
sion > mandroiders.txt
C:\Users\puppetmaster>cat mandroiders.txt
monodroid 4.2.6.143736197
C:\Users\puppetmaster>"C:\Program Files (x86)\MSBuild\Novell\mandroid.exe" --act
ivate --name "PJ BEAMAN" --company XAMARAMA --email WHY.AMIYELLING@WHOKNOWS.COM
--phone 180094JENNY --code 7ESD0-PU8CK-UD7BS-YHR74-1DM7T > out.txt && echo %erro
@pjbeaman
pjbeaman / gist:3505042
Created August 28, 2012 22:48
PJ's PC with tether plugged in.
C:\Users\puppetmaster\Downloads>Main.exe
Network Interfaces:
Description: SAMSUNG Mobile USB Remote NDIS Network Device
FriendlyName: Local Area Connection 2
MacAddress: E6:1E:36:37:F5:CC
Description: Microsoft Virtual WiFi Miniport Adapter
FriendlyName: Wireless Network Connection 2
MacAddress: C0:F8:DA:80:0D:E1
@pjbeaman
pjbeaman / Galaxy Nexus (vicious Jellybean 4.1.1)
Created August 24, 2012 21:34
First time deploys to jellybean devices
--------- beginning of /dev/log/system
D/PhoneStatusBar( 466): disable: < expand icons alerts TICKER* system_info back home recent clock >
W/ActivityManager( 344): No content provider found for permission revoke: file:///data/local/tmp/Mono.Android.DebugRuntime-armeabi-v7a.apk
W/ActivityManager( 344): No content provider found for permission revoke: file:///data/local/tmp/Mono.Android.DebugRuntime-armeabi-v7a.apk
I/ActivityManager( 344): Force stopping package Mono.Android.DebugRuntime uid=10088
I/ActivityManager( 344): Start proc com.google.android.partnersetup for broadcast com.google.android.partnersetup/.RlzPingBroadcastReceiver: pid=9854 uid=10023 gids={3003, 1028}
D/BackupManagerService( 344): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:Mono.Android.DebugRuntime flg=0x8000010 (has extras) }
V/BackupManagerService( 344): addPackageParticipantsLocked: #1
W/ActivityManager( 344): No content provider found for permission revoke: file:///data/local/tmp/Mono.Android
diff --git a/TexturedCube-1.0/TexturedCube.csproj b/TexturedCube-1.0/TexturedCube.csproj
index 78ca886..8a4730b 100644
--- a/TexturedCube-1.0/TexturedCube.csproj
+++ b/TexturedCube-1.0/TexturedCube.csproj
@@ -15,28 +15,29 @@
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<AndroidApplication>true</AndroidApplication>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>