Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #37

Closed
yegor256 opened this issue Oct 30, 2017 · 6 comments
Closed

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #37

yegor256 opened this issue Oct 30, 2017 · 6 comments
Assignees

Comments

@yegor256
Copy link
Member

java.io.IOException: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at org.cactoos.func.IoCheckedBiFunc.apply(IoCheckedBiFunc.java:74)
	at org.jpeek.web.TkReport.act(TkReport.java:74)
	at org.takes.facets.fork.FkRegex.route(FkRegex.java:209)
	at org.takes.facets.fork.FkChain.route(FkChain.java:75)
	at org.takes.facets.fork.TkFork.act(TkFork.java:100)
	at org.takes.facets.forward.TkForward.act(TkForward.java:68)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.http.BkBasic.print(BkBasic.java:108)
	at org.takes.http.BkBasic.accept(BkBasic.java:84)
	at org.takes.http.BkSafe$1.accept(BkSafe.java:51)
	at org.takes.http.BkWrap.accept(BkWrap.java:52)
	at org.takes.http.BkTimeable.accept(BkTimeable.java:89)
	at org.takes.http.BkParallel$1$1.run(BkParallel.java:89)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at org.jpeek.web.AsyncReports.apply(AsyncReports.java:86)
	at org.jpeek.web.AsyncReports.apply(AsyncReports.java:54)
	at org.cactoos.func.IoCheckedBiFunc.apply(IoCheckedBiFunc.java:66)
	... 15 more
Caused by: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.jpeek.web.AsyncReports.apply(AsyncReports.java:84)
	... 17 more
Caused by: java.io.UncheckedIOException: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at org.cactoos.func.UncheckedFunc.apply(UncheckedFunc.java:61)
	at org.cactoos.iterator.Mapped.next(Mapped.java:70)
	at org.cactoos.iterable.Joined.iterator(Joined.java:68)
	at org.cactoos.collection.Joined.iterator(Joined.java:97)
	at org.xembly.Directives.append(Directives.java:250)
	at org.jpeek.Index.value(Index.java:72)
	at org.jpeek.App.analyze(App.java:135)
	at org.jpeek.web.Reports.apply(Reports.java:136)
	at org.jpeek.web.Reports.apply(Reports.java:49)
	at org.jpeek.web.Futures.lambda$apply$0(Futures.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at com.jcabi.log.VerboseThreads$Wrap.run(VerboseThreads.java:220)
	... 1 more
Caused by: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at org.cactoos.func.IoCheckedFunc.apply(IoCheckedFunc.java:74)
	at org.cactoos.func.UncheckedFunc.apply(UncheckedFunc.java:59)
	... 14 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
	at java.util.LinkedList.get(LinkedList.java:476)
	at org.cactoos.list.Sorted.get(Sorted.java:185)
	at org.jpeek.Index.metric(Index.java:118)
	at org.cactoos.func.IoCheckedFunc.apply(IoCheckedFunc.java:66)
	... 15 more
@yegor256
Copy link
Member Author

@yegor256 yegor256 self-assigned this Oct 30, 2017
@0crat
Copy link
Collaborator

0crat commented Oct 30, 2017

Job gh:yegor256/jpeek#37 assigned to @yegor256, please go ahead (policy).

@0crat
Copy link
Collaborator

0crat commented Oct 30, 2017

Bug was reported: +15 points just awarded to @yegor256, total is +4755.

@0crat
Copy link
Collaborator

0crat commented Oct 30, 2017

Manual assignment of issues is discouraged, see par.19: -5 points just awarded to @yegor256, total is +4755.

yegor256 added a commit that referenced this issue Nov 1, 2017
yegor256 added a commit that referenced this issue Nov 1, 2017
@yegor256 yegor256 closed this as completed Nov 1, 2017
@0crat
Copy link
Collaborator

0crat commented Nov 1, 2017

Job gh:yegor256/jpeek#37 is now out of scope.

@0crat
Copy link
Collaborator

0crat commented Nov 1, 2017

Order was successfully finished: +30 points just awarded to @yegor256, total is +4835.

sergey-karazhenets pushed a commit to sergey-karazhenets/jpeek that referenced this issue Nov 3, 2017
sergey-karazhenets pushed a commit to sergey-karazhenets/jpeek that referenced this issue Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants