Resolved Expected a numerical value for Player.p2pCombatLevel

Discussion in 'Client & Site Support' started by Viewer, Mar 7, 2015.

  1. So I'm a member on RS3 and when Im logged in game and I try to open developer toolkit, my IDE console gets spammed with this error message:
    Code (Text):
    1.  
    2. Exception in thread "JavaFX Application Thread" (01:21:46) java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    3. (01:21:46)     at javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)
    4. (01:21:46)     at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
    5. (01:21:46)     at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    6. (01:21:46)     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    7. (01:21:46)     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    8. (01:21:46)     at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    9. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    10. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    11. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    12. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    13. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    14. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    15. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    16. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    17. (01:21:46)     at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    18. (01:21:46)     at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    19. (01:21:46)     at javafx.event.Event.fireEvent(Unknown Source)
    20. (01:21:46)     at javafx.scene.Node.fireEvent(Unknown Source)
    21. (01:21:46)     at javafx.scene.control.Button.fire(Unknown Source)
    22. (01:21:46)     at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
    23. (01:21:46)     at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    24. (01:21:46)     at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    25. (01:21:46)     at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
    26. (01:21:46)     at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    27. (01:21:46)     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    28. (01:21:46)     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    29. (01:21:46)     at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    30. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    31. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    32. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    33. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    34. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    35. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    36. (01:21:46)     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    37. (01:21:46)     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    38. (01:21:46)     at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    39. (01:21:46)     at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    40. (01:21:46)     at javafx.event.Event.fireEvent(Unknown Source)
    41. (01:21:46)     at javafx.scene.Scene$MouseHandler.process(Unknown Source)
    42. (01:21:46)     at javafx.scene.Scene$MouseHandler.access$1500(Unknown Source)
    43. (01:21:46)     at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
    44. (01:21:46)     at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
    45. (01:21:46)     at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$null$281(Unknown Source)
    46. (01:21:46)     at com.sun.javafx.tk.quantum.EmbeddedScene$$Lambda$257/1841485869.run(Unknown Source)
    47. (01:21:46)     at java.security.AccessController.doPrivileged(Native Method)
    48. (01:21:46)     at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$mouseEvent$282(Unknown Source)
    49. (01:21:46)     at com.sun.javafx.tk.quantum.EmbeddedScene$$Lambda$256/1533695748.run(Unknown Source)
    50. (01:21:46)     at com.sun.javafx.application.PlatformImpl.lambda$null$164(Unknown Source)
    51. (01:21:46)     at com.sun.javafx.application.PlatformImpl$$Lambda$53/1174810081.run(Unknown Source)
    52. (01:21:46)     at java.security.AccessController.doPrivileged(Native Method)
    53. (01:21:46)     at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(Unknown Source)
    54. (01:21:46)     at com.sun.javafx.application.PlatformImpl$$Lambda$52/550917274.run(Unknown Source)
    55. (01:21:46)     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    56. (01:21:46)     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    57. (01:21:46)     at com.sun.glass.ui.win.WinApplication.lambda$null$141(Unknown Source)
    58. (01:21:46)     at com.sun.glass.ui.win.WinApplication$$Lambda$43/1525729866.run(Unknown Source)
    59. (01:21:46)     at java.lang.Thread.run(Unknown Source)
    60. (01:21:46) Caused by: java.lang.reflect.InvocationTargetException
    61. (01:21:46)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    62. (01:21:46)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    63. (01:21:46)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    64. (01:21:46)     at java.lang.reflect.Method.invoke(Unknown Source)
    65. (01:21:46)     at sun.reflect.misc.Trampoline.invoke(Unknown Source)
    66. (01:21:46)     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    67. (01:21:46)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    68. (01:21:46)     at java.lang.reflect.Method.invoke(Unknown Source)
    69. (01:21:46)     at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
    70. (01:21:46)     ... 57 more
    71. (01:21:46) Caused by: java.lang.IllegalStateException: Expected a numerical value for Player.p2pCombatLevel but instead we received null (RS3: 2f6ea164)
    72. (01:21:46)     at app.un.class(efb:176)
    73. (01:21:46)     at app.un.class(efb:188)
    74. (01:21:46)     at app.uM.getCombatLevel(jtb:207)
    75. (01:21:46)     at app.nK.class(fmb:1122)
    76. (01:21:46)     at app.nK.call(fmb:389)
    77. (01:21:46)     at javafx.scene.control.TableColumn.getCellObservableValue(Unknown Source)
    78. (01:21:46)     at javafx.scene.control.TableColumn.getCellObservableValue(Unknown Source)
    79. (01:21:46)     at javafx.scene.control.TableCell.updateItem(Unknown Source)
    80. (01:21:46)     at javafx.scene.control.TableCell.indexChanged(Unknown Source)
    81. (01:21:46)     at javafx.scene.control.IndexedCell.updateIndex(Unknown Source)
    82. (01:21:46)     at com.sun.javafx.scene.control.skin.TableRowSkinBase.updateCells(Unknown Source)
    83. (01:21:46)     at com.sun.javafx.scene.control.skin.TableRowSkinBase.init(Unknown Source)
    84. (01:21:46)     at com.sun.javafx.scene.control.skin.TableRowSkin.<init>(Unknown Source)
    85. (01:21:46)     at javafx.scene.control.TableRow.createDefaultSkin(Unknown Source)
    86. (01:21:46)     at javafx.scene.control.Control.impl_processCSS(Unknown Source)
    87. (01:21:46)     at javafx.scene.Node.processCSS(Unknown Source)
    88. (01:21:46)     at javafx.scene.Node.applyCss(Unknown Source)
    89. (01:21:46)     at com.sun.javafx.scene.control.skin.VirtualFlow.setCellIndex(Unknown Source)
    90. (01:21:46)     at com.sun.javafx.scene.control.skin.VirtualFlow.getCell(Unknown Source)
    91. (01:21:46)     at com.sun.javafx.scene.control.skin.VirtualFlow.getCellLength(Unknown Source)
    92. (01:21:46)     at com.sun.javafx.scene.control.skin.VirtualFlow.computeViewportOffset(Unknown Source)
    93. (01:21:46)     at com.sun.javafx.scene.control.skin.VirtualFlow.layoutChildren(Unknown Source)
    94. (01:21:46)     at javafx.scene.Parent.layout(Unknown Source)
    95. (01:21:46)     at javafx.scene.Parent.layout(Unknown Source)
    96. (01:21:46)     at javafx.scene.Parent.layout(Unknown Source)
    97. (01:21:46)     at javafx.scene.Parent.layout(Unknown Source)
    98. (01:21:46)     at javafx.scene.Parent.layout(Unknown Source)
    99. (01:21:46)     at javafx.scene.Scene.doLayoutPass(Unknown Source)
    100. (01:21:46)     at javafx.scene.Scene.preferredSize(Unknown Source)
    101. (01:21:46)     at javafx.scene.Scene.impl_preferredSize(Unknown Source)
    102. (01:21:46)     at javafx.stage.Window$9.invalidated(Unknown Source)
    103. (01:21:46)     at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
    104. (01:21:46)     at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
    105. (01:21:46)     at javafx.stage.Window.setShowing(Unknown Source)
    106. (01:21:46)     at javafx.stage.Window.show(Unknown Source)
    107. (01:21:46)     at javafx.stage.Stage.show(Unknown Source)
    108. (01:21:46)     at app.EJ.devKitButtonClicked(rib:976)
    109. (01:21:46)     ... 66 more


    By the way if the problem is all about retrieving the combat level, just manually get it with this method I made based on the actual game formula:

    Code (Text):
    1.  
    2. public static int combatLevel(int attack, int strength, int ranged, int magic, int defence, int constitution, int prayer, int summoning) {
    3. return (int) (0.25 * ((1.3 * Math.max(attack + strength, Math.max(magic * 2, ranged * 2))) + defence + constitution + (Math.floor(0.5 * prayer)) + (Math.floor(0.5 * summoning))));
    4. }
     
  2. Gamepack id?
     
  3. 2f6ea164
     

Share This Page

Loading...