Skip to content

Instantly share code, notes, and snippets.

@PragTob
Created February 8, 2014 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragTob/8883639 to your computer and use it in GitHub Desktop.
Save PragTob/8883639 to your computer and use it in GitHub Desktop.
No more handles shoes4 crash
C:\Users\Tobi\github\shoes4\bin>ruby-shoes ..\samples\simple-manual.rb
null:-1:in `error': org.eclipse.swt.SWTError: No more handles
from null:-1:in `error'
from null:-1:in `error'
from null:-1:in `error'
from null:-1:in `internal_new_GC'
from null:-1:in `computePixels'
from null:-1:in `init'
from null:-1:in `<init>'
from null:-1:in `newInstance'
from null:-1:in `newInstance'
from null:-1:in `newInstance'
from JavaConstructor.java:243:in `newInstanceDirect'
from ConstructorInvoker.java:68:in `call'
from ConstructorInvoker.java:143:in `call'
from CachingCallSite.java:286:in `cacheAndCall'
from CachingCallSite.java:81:in `callBlock'
from CachingCallSite.java:85:in `call'
from ConcreteJavaProxy.java:44:in `call'
from CachingCallSite.java:79:in `callBlock'
from CachingCallSite.java:85:in `call'
from RubyClass.java:825:in `newInstance'
from RubyClass$INVOKER$i$newInstance.gen:-1:in `call'
from DynamicMethod.java:180:in `call'
from ConcreteJavaProxy.java:134:in `call'
from CachingCallSite.java:70:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:136:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:261:in `call'
from CachingCallSite.java:236:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:98:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:261:in `call'
from CachingCallSite.java:236:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:92:in `block_0$RUBY$__file__'
from rubyjit$Shoes::Swt::TextBlockPainter$$set_text_styles_918FCE297F38011612EAB3029E48EEE8AD30520C14276270$block_0$RUBY$__file__:-1:in `call'
from CompiledBlock19.java:135:in `yield'
from Block.java:142:in `yield'
from RubyHash.java:1351:in `visit'
from RubyHash.java:642:in `visitLimited'
from RubyHash.java:628:in `visitAll'
from RubyHash.java:1302:in `iteratorVisitAll'
from RubyHash.java:1347:in `each_pairCommon'
from RubyHash.java:1338:in `each19'
from RubyHash$INVOKER$i$0$0$each19.gen:-1:in `call'
from CachingCallSite.java:143:in `callBlock'
from CachingCallSite.java:154:in `callIter'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:83:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:261:in `call'
from CachingCallSite.java:236:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:48:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:181:in `call'
from CachingCallSite.java:168:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:29:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:221:in `call'
from CachingCallSite.java:202:in `call'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:23:in `block_0$RUBY$__file__'
from rubyjit$Shoes::Swt::TextBlockPainter$$paintControl_08D3D5E53346D601378C4AFED8C95CE5EED7B06214276270$block_0$RUBY$__file__:-1:in `call'
from CompiledBlock19.java:135:in `yield'
from Block.java:142:in `yield'
from RubyArray.java:1606:in `eachCommon'
from RubyArray.java:1613:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:143:in `callBlock'
from CachingCallSite.java:154:in `callIter'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:22:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from c:/jruby-1.7.8/lib/ruby/gems/shared/gems/shoes-4.0.0.pre1/lib/shoes/swt/text_block_painter.rb:-1:in `__file__'
from JittedMethod.java:101:in `call'
from Shoes$$Swt$$TextBlockPainter_636035559.gen:13:in `paintControl'
from null:-1:in `handleEvent'
from null:-1:in `sendEvent'
from null:-1:in `sendEvent'
from null:-1:in `sendEvent'
from null:-1:in `sendEvent'
from null:-1:in `WM_PAINT'
from null:-1:in `windowProc'
from null:-1:in `windowProc'
from null:-2:in `PeekMessageW'
from null:-1:in `PeekMessage'
from null:-1:in `readAndDispatch'
from null:-1:in `invoke'
from null:-1:in `invoke'
from null:-1:in `invoke'
from JavaMethod.java:440:in `invokeDirectWithExceptionHandling'
from JavaMethod.java:304:in `invokeDirect'
from InstanceMethodInvoker.java:52:in `call'
from AliasMethod.java:56:in `call'
from CachingCallSite.java:134:in `call'
from CallNoArgNode.java:60:in `interpret'
from IfNode.java:110:in `interpret'
from NewlineNode.java:105:in `interpret'
from UntilNode.java:120:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:182:in `call'
from CachingCallSite.java:306:in `cacheAndCall'
from CachingCallSite.java:136:in `call'
from VCallNode.java:88:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:161:in `call'
from DefaultMethod.java:190:in `call'
from CachingCallSite.java:316:in `cacheAndCall'
from CachingCallSite.java:145:in `callBlock'
from CachingCallSite.java:154:in `callIter'
from CallNoArgBlockNode.java:64:in `interpret'
from IfNode.java:116:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:182:in `call'
from CachingCallSite.java:306:in `cacheAndCall'
from CachingCallSite.java:136:in `call'
from CallNoArgNode.java:60:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:182:in `call'
from CachingCallSite.java:306:in `cacheAndCall'
from CachingCallSite.java:136:in `call'
from CallNoArgNode.java:60:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:204:in `call'
from DefaultMethod.java:206:in `call'
from CachingCallSite.java:336:in `cacheAndCall'
from CachingCallSite.java:179:in `callBlock'
from CachingCallSite.java:183:in `call'
from RubyClass.java:804:in `newInstance'
from RubyClass$INVOKER$i$newInstance.gen:-1:in `call'
from CachingCallSite.java:336:in `cacheAndCall'
from CachingCallSite.java:179:in `callBlock'
from CachingCallSite.java:183:in `call'
from CallOneArgBlockPassNode.java:60:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from RootNode.java:129:in `interpret'
from ASTInterpreter.java:121:in `INTERPRET_ROOT'
from Ruby.java:838:in `runInterpreter'
from Ruby.java:2727:in `loadFile'
from ExternalScript.java:66:in `load'
from LoadService.java:359:in `load'
from RubyKernel.java:1111:in `loadCommon'
from RubyKernel.java:1103:in `load19'
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
from DynamicMethod.java:210:in `call'
from DynamicMethod.java:206:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:105:in `interpret'
from RootNode.java:129:in `interpret'
from ASTInterpreter.java:121:in `INTERPRET_ROOT'
from Ruby.java:838:in `runInterpreter'
from Ruby.java:2727:in `loadFile'
from ExternalScript.java:66:in `load'
from LoadService.java:359:in `load'
from RubyKernel.java:1111:in `loadCommon'
from RubyKernel.java:1103:in `load19'
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
from DynamicMethod.java:210:in `call'
from DynamicMethod.java:206:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from FCallOneArgNode.java:36:in `interpret'
from IfNode.java:118:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from RootNode.java:129:in `interpret'
from ASTInterpreter.java:121:in `INTERPRET_ROOT'
from Ruby.java:838:in `runInterpreter'
from Ruby.java:2727:in `loadFile'
from ExternalScript.java:66:in `load'
from LoadService.java:359:in `load'
from RubyKernel.java:1111:in `loadCommon'
from RubyKernel.java:1103:in `load19'
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
from DynamicMethod.java:210:in `call'
from DynamicMethod.java:206:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from c:\jruby-1.7.8\bin\ruby-shoes:23:in `__file__'
from c:\jruby-1.7.8\bin\ruby-shoes:-1:in `load'
from Ruby.java:811:in `runScript'
from Ruby.java:804:in `runScript'
from Ruby.java:673:in `runNormally'
from Ruby.java:522:in `runFromMain'
from Main.java:395:in `doRunFromMain'
from Main.java:290:in `internalRun'
from Main.java:217:in `run'
from Main.java:197:in `main'
C:\Users\Tobi\github\shoes4\bin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment