java.lang.Error: Invalid memory access
I used the debug and found out this was the error.
Any fixes?
Full Error:
Code:
java.lang.Error: Invalid memory access
at org.jire.arrowhead.windows.Kernel32.ReadProcessMemory(Native Method)
at org.jire.arrowhead.windows.WindowsProcess.read(WindowsProcess.kt:65)
at org.jire.arrowhead.Source$DefaultImpls.read(Source.kt:54)
at org.jire.arrowhead.Process$DefaultImpls.read(Process.kt)
at org.jire.arrowhead.windows.WindowsProcess.read(WindowsProcess.kt:42)
at org.jire.arrowhead.Source$DefaultImpls.read(Source.kt:95)
at org.jire.arrowhead.Process$DefaultImpls.read(Process.kt)
at org.jire.arrowhead.windows.WindowsProcess.read(WindowsProcess.kt:42)
at org.abendigo.csgo.offsets.Offset.<init>(ScannedOffset.kt:15)
at org.abendigo.csgo.offsets.ScannedOffsetKt.scanOffset(ScannedOffset.kt:43)
at org.abendigo.csgo.offsets.ScannedOffsetKt.scanOffset(ScannedOffset.kt:52)
at org.abendigo.csgo.offsets.Offsets.<clinit>(Offsets.kt:9)
at org.abendigo.csgo.Client.<init>(Client.kt:17)
at org.abendigo.csgo.Client.<clinit>(Client.kt:13)
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
at org.abendigo.Abendigo.main(Abendigo.kt:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
java.lang.NoClassDefFoundError: Could not initialize class org.abendigo.csgo.Client
Update: Fixed it. Reinstalled Kotlin and created a new profile.
Works perfectly as before !