Resolved SEVERE: UnsafeAtomicHelper is broken!

Discussion in 'Developer Support' started by Aidden, Feb 11, 2016.

  1. Occurred after opening two instance of the rs3 client and attempting to run the same bot on both at the same time.

    Code (Text):
    1.  
    2. SEVERE: UnsafeAtomicHelper is broken!
    3. java.lang.ExceptionInInitializerError
    4.         at nul.IIIiIIiiiIiI.<clinit>(khc:129)
    5.         at nul.iiIiIiIIIiIi.<init>(sf:2922)
    6.         at nul.iiIiIiIIIiIi.<init>(sf:6723)
    7.         at nul.IiiiIiIiiiiI.const(sf:23455)
    8.         at nul.IiiiIiIiiiiI.try(sf:23101)
    9.         at nul.iIIIiiIiiIIi.const(sf:15258)
    10.         at nul.iIIiiiIiiIiI.const(sf:18914)
    11.         at nul.iIIIiIiIIIII.const(bzb:12)
    12.         at nul.iIIIiIiIIIII.const(bzb:211)
    13.         at nul.iIIIiIiIIIII.initialValue(bzb:198)
    14.         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
    15.         at java.lang.ThreadLocal.get(ThreadLocal.java:170)
    16.         at nul.iIIIiIiIIIII.const(bzb:196)
    17.         at nul.IIiIIIiiiiii.const(xdc:9)
    18.         at nul.iiIIIIiiIIii.run(bfc:154)
    19. Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: waiters
    20.         at nul.IiiiiiIIiiii.const(alc:135)
    21.         at nul.iIIIIIiiiiII.<clinit>(khc:4037)
    22.         ... 15 more
    23. Caused by: java.lang.NoSuchFieldException: waiters
    24.         at java.lang.Class.getDeclaredField(Class.java:2070)
    25.         at nul.iIIIIIiiiiII.<clinit>(khc:14382)
    26.         ... 15 more
    27.  
    28. Feb 12, 2016 10:05:52 AM nul.IIIiIIiiiIiI <clinit>
    29. SEVERE: SafeAtomicHelper is broken!
    30. java.lang.RuntimeException: java.lang.NoSuchFieldException: thread
    31.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    32. ceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:330)
    33.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(At
    34. omicReferenceFieldUpdater.java:109)
    35.         at nul.IIIiIIiiiIiI.<clinit>(khc:275)
    36.         at nul.iiIiIiIIIiIi.<init>(sf:2922)
    37.         at nul.iiIiIiIIIiIi.<init>(sf:6723)
    38.         at nul.IiiiIiIiiiiI.const(sf:23455)
    39.         at nul.IiiiIiIiiiiI.try(sf:23101)
    40.         at nul.iIIIiiIiiIIi.const(sf:15258)
    41.         at nul.iIIiiiIiiIiI.const(sf:18914)
    42.         at nul.iIIIiIiIIIII.const(bzb:12)
    43.         at nul.iIIIiIiIIIII.const(bzb:211)
    44.         at nul.iIIIiIiIIIII.initialValue(bzb:198)
    45.         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
    46.         at java.lang.ThreadLocal.get(ThreadLocal.java:170)
    47.         at nul.iIIIiIiIIIII.const(bzb:196)
    48.         at nul.IIiIIIiiiiii.const(xdc:9)
    49.         at nul.iiIIIIiiIIii.run(bfc:154)
    50. Caused by: java.lang.NoSuchFieldException: thread
    51.         at java.lang.Class.getDeclaredField(Class.java:2070)
    52.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    53. ceFieldUpdaterImpl$1.run(AtomicReferenceFieldUpdater.java:316)
    54.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    55. ceFieldUpdaterImpl$1.run(AtomicReferenceFieldUpdater.java:314)
    56.         at java.security.AccessController.doPrivileged(Native Method)
    57.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    58. ceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:313)
    59.         ... 16 more
    60.  
    @Cloud

     
  2. Best Answer:
    Post #9 by Aidden, Feb 11, 2016
  3. Is this consistently reproducible with V1.0.8?
     
  4. I'll try to reproduce with 1.0.7 and then let you know about 1.0.8
    --- Double Post Merged, Feb 11, 2016, Original Post Date: Feb 11, 2016 ---
    Okay so the exception occurs when two clients are open and you start the first bot instance. Both clients were loaded within a second of each other if that makes any difference.

    Downloading 1.0.8 now
     
  5. Are you referring to RuneMate Spectre clients or the game client?
     
  6. Game clients.
     
  7. And can you please confirm it happens on V1.0.8 and post the stack trace?
     
  8. Confirmed still an issue on 1.0.8
    Code (Text):
    1.  
    2. Feb 12, 2016 10:45:22 AM nul.iIIiIIiIIiiI <clinit>
    3. SEVERE: UnsafeAtomicHelper is broken!
    4. java.lang.ExceptionInInitializerError
    5.         at nul.iIIiIIiIIiiI.<clinit>(eac:60)
    6.         at nul.iiiIiiIIiIIi.<init>(mi:3863)
    7.         at nul.iiiIiiIIiIIi.<init>(mi:7507)
    8.         at nul.iIiiiiIIIIIi.super(mi:23420)
    9.         at nul.iIiiiiIIIIIi.float(mi:19142)
    10.         at nul.iIIiiiIiiiII.super(mi:10446)
    11.         at nul.iIiIIiIIiIiI.super(mi:12197)
    12.         at nul.IiiiIIiIiiii.super(dic:132)
    13.         at nul.IiiiIIiIiiii.super(dic:146)
    14.         at nul.IiiiIIiIiiii.initialValue(dic:251)
    15.         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
    16.         at java.lang.ThreadLocal.get(ThreadLocal.java:170)
    17.         at nul.IiiiIIiIiiii.super(dic:24)
    18.         at nul.IiiIIIiiIIIi.super(wyb:76)
    19.         at nul.IiIIIIiIIiii.run(ngc:1)
    20. Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: waiters
    21.         at nul.iIIIIiIIiIII.super(wlc:104)
    22.         at nul.IiIiiIiIiIii.<clinit>(eac:11655)
    23.         ... 15 more
    24. Caused by: java.lang.NoSuchFieldException: waiters
    25.         at java.lang.Class.getDeclaredField(Class.java:2070)
    26.         at nul.IiIiiIiIiIii.<clinit>(eac:5512)
    27.         ... 15 more
    28.  
    29. Feb 12, 2016 10:45:22 AM nul.iIIiIIiIIiiI <clinit>
    30. SEVERE: SafeAtomicHelper is broken!
    31. java.lang.RuntimeException: java.lang.NoSuchFieldException: thread
    32.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    33. ceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:330)
    34.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(At
    35. omicReferenceFieldUpdater.java:109)
    36.         at nul.iIIiIIiIIiiI.<clinit>(eac:230)
    37.         at nul.iiiIiiIIiIIi.<init>(mi:3863)
    38.         at nul.iiiIiiIIiIIi.<init>(mi:7507)
    39.         at nul.iIiiiiIIIIIi.super(mi:23420)
    40.         at nul.iIiiiiIIIIIi.float(mi:19142)
    41.         at nul.iIIiiiIiiiII.super(mi:10446)
    42.         at nul.iIiIIiIIiIiI.super(mi:12197)
    43.         at nul.IiiiIIiIiiii.super(dic:132)
    44.         at nul.IiiiIIiIiiii.super(dic:146)
    45.         at nul.IiiiIIiIiiii.initialValue(dic:251)
    46.         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
    47.         at java.lang.ThreadLocal.get(ThreadLocal.java:170)
    48.         at nul.IiiiIIiIiiii.super(dic:24)
    49.         at nul.IiiIIIiiIIIi.super(wyb:76)
    50.         at nul.IiIIIIiIIiii.run(ngc:1)
    51. Caused by: java.lang.NoSuchFieldException: thread
    52.         at java.lang.Class.getDeclaredField(Class.java:2070)
    53.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    54. ceFieldUpdaterImpl$1.run(AtomicReferenceFieldUpdater.java:316)
    55.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    56. ceFieldUpdaterImpl$1.run(AtomicReferenceFieldUpdater.java:314)
    57.         at java.security.AccessController.doPrivileged(Native Method)
    58.         at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferen
    59. ceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:313)
    60.         ... 16 more
    61.  
    62. java.util.concurrent.ExecutionException: java.lang.NullPointerException: inputSt
    63. ream is null.
    64.         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    65.         at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    66.         at com.runemate.maxibots.task.woodcutter.gui.controllers.BotConfigGUI.<i
    67. nit>(BotConfigGUI.java:163)
    68.         at com.runemate.maxibots.task.woodcutter.MaxiWoodcutter.<init>(MaxiWoodc
    69. utter.java:11)
    70.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    71.  
    72.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    73. orAccessorImpl.java:62)
    74.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    75. onstructorAccessorImpl.java:45)
    76.         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    77.         at java.lang.Class.newInstance(Class.java:442)
    78.         at nul.iIIiiIiiIIiI.super(axb:181)
    79.         at nul.IIiIiIiiiiII.final(pyb:117)
    80.         at nul.IiIIIIiIIiii.run(ngc:70)
    81. Caused by: java.lang.NullPointerException: inputStream is null.
    82.         at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2455)
    83.         at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    84.         at com.runemate.api.jfx.Gui.prepareScene(Gui.java:23)
    85.         at com.runemate.maxibots.task.woodcutter.gui.controllers.BotConfigGUI.la
    86. mbda$new$43(BotConfigGUI.java:163)
    87.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    88.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
    89. java:1142)
    90.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    91. .java:617)
    92.         at java.lang.Thread.run(Thread.java:745)
     
  9. I've changed the underlying implementation for V1.0.9 which hasn't been released yet, please let me know if it resolves this issue once it's available.
     
  10. Odd, now it's occurring even if i only have one client open.
    --- Double Post Merged, Feb 11, 2016, Original Post Date: Feb 11, 2016 ---
    @Cloud V1.0.9 Appears to have fixed it.
     

Share This Page

Loading...