Kamis, 13 Agustus 2020

An error has occurred See log file null on STS

Bismillah , bagaimana mengatasi  An error has occurred See log file null error pada aplikasi STS (Spring) dibawah ini.

errornya 

waktu kita klik aplikasi STS yang muncul gambar error dibawah ini:






kalau kita telusuri lognya dibawah ini

java.lang.RuntimeException: Error initializing storage.

        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:74)

        at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:34)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:306)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:242)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)

        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)

        at org.eclipse.equinox.launcher.Main.run(Main.java:1501)

        at org.eclipse.equinox.launcher.Main.main(Main.java:1474)

Caused by: java.io.IOException: Data error (cyclic redundancy check)

        at java.io.FileInputStream.readBytes(Native Method)

        at java.io.FileInputStream.read(Unknown Source)

        at java.io.BufferedInputStream.fill(Unknown Source)

        at java.io.BufferedInputStream.read1(Unknown Source)

        at java.io.BufferedInputStream.read(Unknown Source)

        at java.io.DataInputStream.readFully(Unknown Source)

        at java.io.DataInputStream.readUTF(Unknown Source)

        at java.io.DataInputStream.readUTF(Unknown Source)

        at org.eclipse.osgi.container.ModuleDatabase$Persistence.readString0(ModuleDatabase.java:1685)

        at org.eclipse.osgi.container.ModuleDatabase$Persistence.readIndexedString(ModuleDatabase.java:1660)

        at org.eclipse.osgi.container.ModuleDatabase$Persistence.load(ModuleDatabase.java:1129)

        at org.eclipse.osgi.container.ModuleDatabase.load(ModuleDatabase.java:893)

        at org.eclipse.osgi.storage.Storage.<init>(Storage.java:259)

        at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:175)

        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:72)

        ... 11 more


Cara mengatasinya adalah dibawah ini:


delete folder yang dilingkari, kemudian jalan kan aplikasi STS,  otomatis Aplikasi STS anda akan tereset, seperti tampilan awal, kemudian anda add ulang folder workspace yang isinya project java anda.

demikian dari saya terima kasih atas perhatiannya, Allhamdullilah.