iOS version crashing with NoSuchMethodError

60 views
Skip to first unread message

Inderjeet Singh

unread,
Nov 7, 2012, 6:23:41 PM11/7/12
to pl...@googlegroups.com
Hi,

I am building against latest PlayN from threerings playn/tripleplay github. When I run the app using MonoDevelop, it immediately crashes with the following error:

Unhandled Exception:
0   Unscramble                          0x00098d4e mono_handle_exception_internal_first_pass + 2190
1   Unscramble                          0x0009a792 mono_handle_exception_internal + 1602
2   Unscramble                          0x0009b2df mono_handle_exception + 47
3   Unscramble                          0x000de252 mono_x86_throw_exception + 306
4   ???                                 0x0b496f8f 0x0 + 189362063
at playn.ios.IOSPlatform.viewDidInit (int) [0x00001] in IOSPlatform.java:340
at playn.ios.IOSGameView.CreateFrameBuffer () [0x00008] in IOSGameView.java:90
at OpenTK.Platform.iPhoneOS.iPhoneOSGameView.Run (double) [0x00054] in /Developer/MonoTouch/Source/monotouch/src/OpenGLES/OpenTK/Platform/iPhoneOS/iPhoneOSGameView.cs:658
at playn.ios.IOSPlatform.run (playn.core.Game) [0x00010] in IOSPlatform.java:313
at playn.core.PlayN.run (playn.core.Game) [0x00001] in PlayN.java:47
at com.applimobile.unscramble.ios.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication,MonoTouch.Foundation.NSDictionary) [0x000e8] in /Users/inder/github/wordgames/playn/unscramble/ios/Main.cs:51
at (wrapper runtime-invoke) <Module>.runtime_invoke_bool__this___object_object (object,intptr,intptr,intptr) <IL 0x00059, 0x000a7>
12  Unscramble                          0x00014752 mono_jit_runtime_invoke + 722
13  Unscramble                          0x001761ee mono_runtime_invoke + 126
14  Unscramble                          0x00218ba8 monotouch_trampoline + 3688
15  UIKit                               0x017c07b7 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 266
16  UIKit                               0x017c0da7 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1248
17  UIKit                               0x017c1fab -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 805
18  UIKit                               0x017d3315 -[UIApplication handleEvent:withNewEvent:] + 1022
19  UIKit                               0x017d424b -[UIApplication sendEvent:] + 85
20  UIKit                               0x017c5cf8 _UIApplicationHandleEvent + 9874
21  GraphicsServices                    0x04e2adf9 _PurpleEventCallback + 339
22  CoreFoundation                      0x03e5ff3f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
23  CoreFoundation                      0x03e5f96f __CFRunLoopDoSources0 + 239
24  CoreFoundation                      0x03e82734 __CFRunLoopRun + 964
25  CoreFoundation                      0x03e81f44 CFRunLoopRunSpecific + 276
26  CoreFoundation                      0x03e81e1b CFRunLoopRunInMode + 123
27  UIKit                               0x017c17da -[UIApplication _run] + 774
28  UIKit                               0x017c365c UIApplicationMain + 1211
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x00056, 0x000a4>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
at com.applimobile.unscramble.ios.Application.Main (string[]) [0x00000] in /Users/inder/github/wordgames/playn/unscramble/ios/Main.cs:75
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00049, 0x00077>
33  Unscramble                          0x00014752 mono_jit_runtime_invoke + 722
34  Unscramble                          0x001761ee mono_runtime_invoke + 126
35  Unscramble                          0x0017a374 mono_runtime_exec_main + 420
36  Unscramble                          0x0017f765 mono_runtime_run_main + 725
37  Unscramble                          0x000719a5 mono_jit_exec + 149
38  Unscramble                          0x0020deb2 main + 1986
39  Unscramble                          0x0000d6ad start + 53

[ERROR] FATAL UNHANDLED EXCEPTION: java.lang.NoSuchMethodError: cli.OpenTK.Graphics.ES20.GL.Disable(Lcli.OpenTK.Graphics.ES20.EnableCap;)V

Any clues?
Thanks
Inder

Thiago Born

unread,
Nov 8, 2012, 6:41:42 AM11/8/12
to pl...@googlegroups.com
I had the same problem :) 
search the group for 'IOS build failure' 



--
 
 
 

Inderjeet Singh

unread,
Nov 8, 2012, 12:33:36 PM11/8/12
to pl...@googlegroups.com
Thanks for the tip. I was able to fix it by changing the references to OpenTK.dll to OpenTK-1.0.dll in pom.xml and my .csproj file

Inder
Reply all
Reply to author
Forward
0 new messages