#23 ✓resolved
Justin

Limelight error: CalculateConsumedDimentions Null Pointer

Reported by Justin | June 25th, 2008 @ 02:28 PM | in Limelight 0.2

Exception in thread "AWT-EventQueue-0" limelight/ui/PropLayout.java:243:in calculateConsumedDimentions': java.lang.NullPointerException: null (NativeException)

    from limelight/ui/PropLayout.java:196:in `buildRows'
    from limelight/ui/PropLayout.java:65:in `layoutContainer'
    from java/awt/Container.java:1401:in `layout'
    from java/awt/Container.java:1390:in `doLayout'
    from limelight/ui/Panel.java:78:in `doLayout'
    from limelight/ui/PropLayout.java:190:in `buildRows'
    from limelight/ui/PropLayout.java:65:in `layoutContainer'
    from java/awt/Container.java:1401:in `layout'
     ... 54 levels...
    from /Users/objectmentor/Documents/LimelightCreations/SpaceTowerDefense/players/space_frame.rb:96:in `mouse_moved'
    from /usr/lib/jruby-1.1.1/lib/ruby/site_ruby/1.8/builtin/javasupport/proxy/interface.rb:174:in `__jcreate_proxy!'
    from :1

Complete Java stackTrace java.lang.NullPointerException

    at limelight.ui.PropLayout.calculateConsumedDimentions(PropLayout.java:243)
    at limelight.ui.PropLayout.buildRows(PropLayout.java:196)
    at limelight.ui.PropLayout.layoutContainer(PropLayout.java:65)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at limelight.ui.Panel.doLayout(Panel.java:78)
    at limelight.ui.PropLayout.buildRows(PropLayout.java:190)
    at limelight.ui.PropLayout.layoutContainer(PropLayout.java:65)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at limelight.ui.Panel.doLayout(Panel.java:78)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling(JavaMethod.java:250)
    at org.jruby.javasupport.JavaMethod.invoke(JavaMethod.java:219)
    at org.jruby.javasupport.JavaClass$InstanceMethodInvoker.execute(JavaClass.java:417)
    at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCallbackMethod.java:67)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:70)
    at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:267)
    at ruby.jit.ruby.usr.lib.jruby_minus_1_dot_1_dot_1.lib.ruby.gems.$1_dot_8.gems.limelight_minus_0_dot_0_dot_1_minus_java.lib.limelight.prop.update2642290_10238165.__file__(/usr/lib/jruby-1.1.1/lib/ruby/gems/1.8/gems/limelight-0.0.1-java/lib/limelight/prop.rb:74)
    at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:214)
    at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:267)
    at ruby.jit.ruby.Users.objectmentor.Documents.LimelightCreations.SpaceTowerDefense.players.space_frame.mouse_moved7427424_10238165.__file__(/Users/objectmentor/Documents/LimelightCreations/SpaceTowerDefense/players/space_frame.rb:96)
    at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:139)
    at org.jruby.RubyObject.send(RubyObject.java:1871)
    at org.jruby.RubyObjectInvoker$send_method_0_0.call(Unknown Source)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
    at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:235)
    at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:682)
    at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:309)
    at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:660)
    at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:309)
    at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:632)
    at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:303)
    at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:169)
    at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
    at org.jruby.runtime.InterpretedBlock.call(InterpretedBlock.java:103)
    at org.jruby.runtime.Block.call(Block.java:105)
    at org.jruby.RubyProc.call(RubyProc.java:205)
    at org.jruby.RubyProc.call(RubyProc.java:184)
    at org.jruby.javasupport.Java$5.invoke(Java.java:1159)
    at $Proxy9.mouse_moved(Unknown Source)
    at limelight.ui.PropEventListener.mouseMoved(PropEventListener.java:67)
    at java.awt.Component.processMouseMotionEvent(Component.java:5628)
    at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3153)
    at java.awt.Component.processEvent(Component.java:5352)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4050)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3885)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3949)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1791)
    at java.awt.Component.dispatchEvent(Component.java:3885)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ...internal jruby stack elided...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Elegant UI Framework for Ruby

People watching this ticket

Pages