java.lang.ArrayIndexOutOfBoundsException: 0


Solutions on the web4

Solution icon of googlegroups
via Google Groups by Vikas Hazrati, 3 months ago
0

Solution icon of sourceforge
0


Stack trace

java.lang.ArrayIndexOutOfBoundsException: 0
	at org.objectweb.asm.ClassReader.readClass(Unknown Source)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:130)
	at com.sun.jersey.core.spi.scanning.FilesScanner$1.f(FilesScanner.java:104)
	at com.sun.jersey.core.util.Closing.f(Closing.java:68)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:101)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scanDir(FilesScanner.java:92)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scan(FilesScanner.java:77)
	at com.sun.jersey.core.spi.scanning.FilesScanner.scan(FilesScanner.java:71)
	at com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:69)
	at com.sun.jersey.api.core.ClasspathResourceConfig.init(ClasspathResourceConfig.java:128)
	at com.sun.jersey.api.core.ClasspathResourceConfig.<init>(ClasspathResourceConfig.java:102)
	at com.sun.jersey.api.container.ContainerFactory.createContainer(ContainerFactory.java:250)
	at com.sun.jersey.api.container.ContainerFactory.createContainer(ContainerFactory.java:233)
	at com.sun.jersey.api.container.httpserver.HttpServerFactory.create(HttpServerFactory.java:114)
	at com.sun.jersey.api.container.httpserver.HttpServerFactory.create(HttpServerFactory.java:89)
	at example.HelloWorld.main(HelloWorld.java:29)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 more bugmates