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

ArrayIndexOutOfBoundsException in CcSalted #822

Closed
yegor256 opened this issue Mar 8, 2018 · 7 comments
Closed

ArrayIndexOutOfBoundsException in CcSalted #822

yegor256 opened this issue Mar 8, 2018 · 7 comments

Comments

@yegor256
Copy link
Owner

yegor256 commented Mar 8, 2018

Caused by: java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at org.takes.facets.auth.codecs.CcSalted.unsalt(CcSalted.java:124)
	at org.takes.facets.auth.codecs.CcSalted.decode(CcSalted.java:70)
	at org.takes.facets.auth.codecs.CcAes.decode(CcAes.java:103)
	at org.takes.facets.auth.codecs.CcHex.decode(CcHex.java:117)
	at org.takes.facets.auth.codecs.CcSafe.decode(CcSafe.java:64)
	at com.zerocracy.tk.CcSecure.decode(CcSecure.java:77)
	at org.takes.facets.auth.PsCookie.enter(PsCookie.java:104)
	at org.takes.facets.auth.PsChain.enter(PsChain.java:70)
	at org.takes.facets.auth.TkAuth.act(TkAuth.java:86)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.facets.flash.TkFlash.act(TkFlash.java:108)
	at org.takes.tk.TkGzip$1.act(TkGzip.java:58)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkMeasured$1.act(TkMeasured.java:67)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkVersioned$1.act(TkVersioned.java:73)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkWithHeaders$1.act(TkWithHeaders.java:71)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.facets.fallback.TkFallback.route(TkFallback.java:86)
	... 14 more
yegor256 added a commit that referenced this issue Mar 8, 2018
@yegor256
Copy link
Owner Author

yegor256 commented Mar 8, 2018

@rultor release, tag is 1.8.7

@rultor
Copy link
Collaborator

rultor commented Mar 8, 2018

@rultor release, tag is 1.8.7

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Mar 8, 2018

@rultor release, tag is 1.8.7

@yegor256 Oops, I failed. You can see the full log here (spent 10min)

Downloading: https://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar
192/229 KB   32/44 KB   27/391 KB              
196/229 KB   32/44 KB   27/391 KB   
200/229 KB   32/44 KB   27/391 KB   
204/229 KB   32/44 KB   27/391 KB   
208/229 KB   32/44 KB   27/391 KB   
208/229 KB   32/44 KB   29/391 KB   
208/229 KB   36/44 KB   29/391 KB   
208/229 KB   40/44 KB   29/391 KB   
208/229 KB   44/44 KB   29/391 KB   
208/229 KB   44/44 KB   29/391 KB   
208/229 KB   44/44 KB   32/391 KB   
212/229 KB   44/44 KB   32/391 KB   
216/229 KB   44/44 KB   32/391 KB   
220/229 KB   44/44 KB   32/391 KB   
224/229 KB   44/44 KB   32/391 KB   
228/229 KB   44/44 KB   32/391 KB   
229/229 KB   44/44 KB   32/391 KB   
229/229 KB   44/44 KB   3/60 KB   32/391 KB   
229/229 KB   44/44 KB   3/60 KB   36/391 KB   
229/229 KB   44/44 KB   3/60 KB   40/391 KB   
229/229 KB   44/44 KB   3/60 KB   44/391 KB   
229/229 KB   44/44 KB   3/60 KB   48/391 KB   
229/229 KB   44/44 KB   5/60 KB   48/391 KB   
229/229 KB   44/44 KB   8/60 KB   48/391 KB   
229/229 KB   44/44 KB   11/60 KB   48/391 KB   
229/229 KB   44/44 KB   13/60 KB   48/391 KB   
229/229 KB   44/44 KB   16/60 KB   48/391 KB   
                                               
Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-inject-bean/2.6.0/sisu-inject-bean-2.6.0.jar (44 KB at 439.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/glassfish/web/javax.el/2.2.4/javax.el-2.2.4.jar
229/229 KB   19/60 KB   48/391 KB              
229/229 KB   21/60 KB   48/391 KB   
229/229 KB   21/60 KB   3/560 KB   48/391 KB   
229/229 KB   21/60 KB   5/560 KB   48/391 KB   
229/229 KB   21/60 KB   8/560 KB   48/391 KB   
229/229 KB   21/60 KB   11/560 KB   48/391 KB   
229/229 KB   24/60 KB   11/560 KB   48/391 KB   
229/229 KB   24/60 KB   13/560 KB   48/391 KB   
229/229 KB   27/60 KB   13/560 KB   48/391 KB   
229/229 KB   27/60 KB   16/560 KB   48/391 KB   
229/229 KB   29/60 KB   16/560 KB   48/391 KB   
229/229 KB   32/60 KB   16/560 KB   48/391 KB   
                                                
Downloaded: https://repo.maven.apache.org/maven2/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar (229 KB at 2175.0 KB/sec)
32/60 KB   16/560 KB   52/391 KB                
32/60 KB   16/560 KB   56/391 KB   
32/60 KB   16/560 KB   60/391 KB   
32/60 KB   16/560 KB   64/391 KB   
32/60 KB   19/560 KB   64/391 KB   
32/60 KB   21/560 KB   64/391 KB   
32/60 KB   24/560 KB   64/391 KB   
32/60 KB   27/560 KB   64/391 KB   
32/60 KB   29/560 KB   64/391 KB   
36/60 KB   29/560 KB   64/391 KB   
40/60 KB   29/560 KB   64/391 KB   
44/60 KB   29/560 KB   64/391 KB   
48/60 KB   29/560 KB   64/391 KB   
48/60 KB   32/560 KB   64/391 KB   
52/60 KB   32/560 KB   64/391 KB   
56/60 KB   32/560 KB   64/391 KB   
56/60 KB   32/560 KB   68/391 KB   
60/60 KB   32/560 KB   68/391 KB   
60/60 KB   32/560 KB   72/391 KB   
60/60 KB   32/560 KB   76/391 KB   
60/60 KB   32/560 KB   80/391 KB   
60/60 KB   36/560 KB   80/391 KB   
60/60 KB   40/560 KB   80/391 KB   
60/60 KB   44/560 KB   80/391 KB   
60/60 KB   48/560 KB   80/391 KB   
4/115 KB   60/60 KB   48/560 KB   80/391 KB   
8/115 KB   60/60 KB   48/560 KB   80/391 KB   
12/115 KB   60/60 KB   48/560 KB   80/391 KB   
16/115 KB   60/60 KB   48/560 KB   80/391 KB   
16/115 KB   60/60 KB   48/560 KB   84/391 KB   
16/115 KB   60/60 KB   48/560 KB   88/391 KB   
16/115 KB   60/60 KB   48/560 KB   92/391 KB   
16/115 KB   60/60 KB   48/560 KB   96/391 KB   
20/115 KB   60/60 KB   48/560 KB   96/391 KB   
20/115 KB   60/60 KB   52/560 KB   96/391 KB   
24/115 KB   60/60 KB   52/560 KB   96/391 KB   
24/115 KB   60/60 KB   56/560 KB   96/391 KB   
28/115 KB   60/60 KB   56/560 KB   96/391 KB   
28/115 KB   60/60 KB   60/560 KB   96/391 KB   
32/115 KB   60/60 KB   60/560 KB   96/391 KB   
32/115 KB   60/60 KB   64/560 KB   96/391 KB   
                                               
Downloaded: https://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar (60 KB at 482.7 KB/sec)
32/115 KB   68/560 KB   96/391 KB              
32/115 KB   72/560 KB   96/391 KB   
32/115 KB   76/560 KB   96/391 KB   
32/115 KB   80/560 KB   96/391 KB   
32/115 KB   80/560 KB   100/391 KB   
32/115 KB   80/560 KB   104/391 KB   
32/115 KB   80/560 KB   108/391 KB   
32/115 KB   80/560 KB   112/391 KB   
36/115 KB   80/560 KB   112/391 KB   
40/115 KB   80/560 KB   112/391 KB   
44/115 KB   80/560 KB   112/391 KB   
48/115 KB   80/560 KB   112/391 KB   
48/115 KB   84/560 KB   112/391 KB   
48/115 KB   88/560 KB   112/391 KB   
48/115 KB   92/560 KB   112/391 KB   
48/115 KB   96/560 KB   112/391 KB   
52/115 KB   96/560 KB   112/391 KB   
56/115 KB   96/560 KB   112/391 KB   
60/115 KB   96/560 KB   112/391 KB   
64/115 KB   96/560 KB   112/391 KB   
64/115 KB   96/560 KB   116/391 KB   
64/115 KB   96/560 KB   120/391 KB   
64/115 KB   96/560 KB   124/391 KB   
64/115 KB   96/560 KB   128/391 KB   
64/115 KB   100/560 KB   128/391 KB   
64/115 KB   104/560 KB   128/391 KB   
64/115 KB   108/560 KB   128/391 KB   
64/115 KB   112/560 KB   128/391 KB   
68/115 KB   112/560 KB   128/391 KB   
72/115 KB   112/560 KB   128/391 KB   
76/115 KB   112/560 KB   128/391 KB   
80/115 KB   112/560 KB   128/391 KB   
80/115 KB   116/560 KB   128/391 KB   
80/115 KB   120/560 KB   128/391 KB   
80/115 KB   124/560 KB   128/391 KB   
80/115 KB   128/560 KB   128/391 KB   
80/115 KB   128/560 KB   132/391 KB   
80/115 KB   128/560 KB   136/391 KB   
80/115 KB   128/560 KB   140/391 KB   
80/115 KB   128/560 KB   144/391 KB   
84/115 KB   128/560 KB   144/391 KB   
88/115 KB   128/560 KB   144/391 KB   
92/115 KB   128/560 KB   144/391 KB   
96/115 KB   128/560 KB   144/391 KB   
96/115 KB   132/560 KB   144/391 KB   
96/115 KB   136/560 KB   144/391 KB   
96/115 KB   140/560 KB   144/391 KB   
96/115 KB   144/560 KB   144/391 KB   
100/115 KB   144/560 KB   144/391 KB   
104/115 KB   144/560 KB   144/391 KB   
108/115 KB   144/560 KB   144/391 KB   
112/115 KB   144/560 KB   144/391 KB   
112/115 KB   144/560 KB   148/391 KB   
112/115 KB   148/560 KB   148/391 KB   
115/115 KB   148/560 KB   152/391 KB   
115/115 KB   148/560 KB   148/391 KB   
115/115 KB   152/560 KB   152/391 KB   
115/115 KB   152/560 KB   156/391 KB   
115/115 KB   156/560 KB   156/391 KB   
115/115 KB   156/560 KB   160/391 KB   
115/115 KB   160/560 KB   160/391 KB   
115/115 KB   164/560 KB   160/391 KB   
115/115 KB   168/560 KB   160/391 KB   
115/115 KB   172/560 KB   160/391 KB   
115/115 KB   176/560 KB   160/391 KB   
115/115 KB   176/560 KB   164/391 KB   
115/115 KB   176/560 KB   168/391 KB   
115/115 KB   176/560 KB   172/391 KB   
115/115 KB   176/560 KB   176/391 KB   
115/115 KB   180/560 KB   176/391 KB   
115/115 KB   184/560 KB   176/391 KB   
115/115 KB   188/560 KB   176/391 KB   
115/115 KB   192/560 KB   176/391 KB   
115/115 KB   196/560 KB   176/391 KB   
115/115 KB   200/560 KB   176/391 KB   
115/115 KB   204/560 KB   176/391 KB   
115/115 KB   208/560 KB   176/391 KB   
                                       
Downloaded: https://repo.maven.apache.org/maven2/org/glassfish/web/javax.el/2.2.4/javax.el-2.2.4.jar (115 KB at 745.6 KB/sec)
208/560 KB   180/391 KB                
208/560 KB   184/391 KB   
208/560 KB   188/391 KB   
208/560 KB   192/391 KB   
212/560 KB   192/391 KB   
216/560 KB   192/391 KB   
220/560 KB   192/391 KB   
224/560 KB   192/391 KB   
224/560 KB   196/391 KB   
224/560 KB   200/391 KB   
224/560 KB   204/391 KB   
224/560 KB   208/391 KB   
228/560 KB   208/391 KB   
232/560 KB   208/391 KB   
236/560 KB   208/391 KB   
240/560 KB   208/391 KB   
244/560 KB   208/391 KB   
248/560 KB   208/391 KB   
252/560 KB   208/391 KB   
256/560 KB   208/391 KB   
256/560 KB   212/391 KB   
256/560 KB   216/391 KB   
256/560 KB   220/391 KB   
256/560 KB   224/391 KB   
260/560 KB   224/391 KB   
264/560 KB   224/391 KB   
268/560 KB   224/391 KB   
272/560 KB   224/391 KB   
272/560 KB   228/391 KB   
272/560 KB   232/391 KB   
272/560 KB   236/391 KB   
272/560 KB   240/391 KB   
276/560 KB   240/391 KB   
280/560 KB   240/391 KB   
284/560 KB   240/391 KB   
288/560 KB   240/391 KB   
288/560 KB   244/391 KB   
288/560 KB   248/391 KB   
288/560 KB   252/391 KB   
288/560 KB   256/391 KB   
292/560 KB   256/391 KB   
296/560 KB   256/391 KB   
300/560 KB   256/391 KB   
304/560 KB   256/391 KB   
308/560 KB   256/391 KB   
312/560 KB   256/391 KB   
316/560 KB   256/391 KB   
320/560 KB   256/391 KB   
320/560 KB   260/391 KB   
320/560 KB   264/391 KB   
320/560 KB   268/391 KB   
320/560 KB   272/391 KB   
324/560 KB   272/391 KB   
328/560 KB   272/391 KB   
332/560 KB   272/391 KB   
336/560 KB   272/391 KB   
340/560 KB   272/391 KB   
344/560 KB   272/391 KB   
348/560 KB   272/391 KB   
352/560 KB   272/391 KB   
352/560 KB   276/391 KB   
352/560 KB   280/391 KB   
352/560 KB   284/391 KB   
352/560 KB   288/391 KB   
356/560 KB   288/391 KB   
360/560 KB   288/391 KB   
364/560 KB   288/391 KB   
368/560 KB   288/391 KB   
368/560 KB   292/391 KB   
368/560 KB   296/391 KB   
368/560 KB   300/391 KB   
368/560 KB   304/391 KB   
372/560 KB   304/391 KB   
376/560 KB   304/391 KB   
380/560 KB   304/391 KB   
384/560 KB   304/391 KB   
388/560 KB   304/391 KB   
388/560 KB   308/391 KB   
392/560 KB   308/391 KB   
392/560 KB   312/391 KB   
396/560 KB   312/391 KB   
396/560 KB   316/391 KB   
400/560 KB   316/391 KB   
400/560 KB   320/391 KB   
404/560 KB   320/391 KB   
404/560 KB   324/391 KB   
408/560 KB   324/391 KB   
408/560 KB   328/391 KB   
412/560 KB   328/391 KB   
412/560 KB   332/391 KB   
416/560 KB   332/391 KB   
416/560 KB   336/391 KB   
420/560 KB   336/391 KB   
424/560 KB   336/391 KB   
428/560 KB   336/391 KB   
432/560 KB   336/391 KB   
432/560 KB   340/391 KB   
432/560 KB   344/391 KB   
432/560 KB   348/391 KB   
432/560 KB   352/391 KB   
436/560 KB   352/391 KB   
440/560 KB   352/391 KB   
444/560 KB   352/391 KB   
448/560 KB   352/391 KB   
448/560 KB   356/391 KB   
448/560 KB   360/391 KB   
448/560 KB   364/391 KB   
448/560 KB   368/391 KB   
452/560 KB   368/391 KB   
456/560 KB   368/391 KB   
460/560 KB   368/391 KB   
464/560 KB   368/391 KB   
464/560 KB   372/391 KB   
468/560 KB   372/391 KB   
468/560 KB   376/391 KB   
472/560 KB   376/391 KB   
472/560 KB   380/391 KB   
476/560 KB   380/391 KB   
476/560 KB   384/391 KB   
480/560 KB   384/391 KB   
480/560 KB   388/391 KB   
480/560 KB   391/391 KB   
484/560 KB   391/391 KB   
488/560 KB   391/391 KB   
492/560 KB   391/391 KB   
496/560 KB   391/391 KB   
500/560 KB   391/391 KB   
504/560 KB   391/391 KB   
508/560 KB   391/391 KB   
512/560 KB   391/391 KB   
516/560 KB   391/391 KB   
520/560 KB   391/391 KB   
524/560 KB   391/391 KB   
528/560 KB   391/391 KB   
                          
Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar (391 KB at 1697.0 KB/sec)
532/560 KB                
536/560 KB   
540/560 KB   
544/560 KB   
548/560 KB   
552/560 KB   
556/560 KB   
560/560 KB   
             
Downloaded: https://repo.maven.apache.org/maven2/org/hibernate/hibernate-validator/5.0.0.Final/hibernate-validator-5.0.0.Final.jar (560 KB at 2273.8 KB/sec)
log4j:WARN No appenders could be found for logger (com.puppycrawl.tools.checkstyle.ConfigurationLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO] Checkstyle: src/test/java/org/takes/facets/auth/codecs/CcSaltedTest.java[67]: '10000' is a magic number. (MagicNumberCheck)
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:37 min
[INFO] Finished at: 2018-03-08T11:10:50+00:00
[INFO] Final Memory: 85M/608M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project takes: Failure: There are 1 violations -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project takes: Failure
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: Failure
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:72)
	at com.qulice.maven.AbstractQuliceMojo.execute(AbstractQuliceMojo.java:172)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: com.qulice.spi.ValidationException: There are 1 violations
	at com.qulice.maven.CheckMojo.run(CheckMojo.java:115)
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:66)
	... 23 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
container 572f5eaa7f7db6d75f24776fe355239b09b0151b5600333861ed0968e5275fab is dead
Thu Mar  8 12:11:35 CET 2018

yegor256 added a commit that referenced this issue Mar 8, 2018
@yegor256
Copy link
Owner Author

yegor256 commented Mar 8, 2018

@rultor release, tag is 1.8.7

@rultor
Copy link
Collaborator

rultor commented Mar 8, 2018

@rultor release, tag is 1.8.7

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Mar 8, 2018

@rultor release, tag is 1.8.7

@yegor256 Done! FYI, the full log is here (took me 13min)

@yegor256 yegor256 closed this as completed Mar 8, 2018
@0crat
Copy link
Collaborator

0crat commented Mar 8, 2018

The job is not in WBS, won't close the order

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

3 participants