com.github.zafarkhaja.semver.ParseException

Numeric identifier MUST NOT contain leading zeroes


Solutions on the web1

Solution icon of jfrog
via JFrog JIRA by Yogev Abergel, 5 months ago
Numeric identifier MUST NOT contain leading zeroes

Stack trace

  • com.github.zafarkhaja.semver.ParseException: Numeric identifier MUST NOT contain leading zeroes at com.github.zafarkhaja.semver.VersionParser.checkForLeadingZeroes(VersionParser.java:479)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.VersionParser.numericIdentifier(VersionParser.java:407)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.VersionParser.preReleaseIdentifier(VersionParser.java:339)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.VersionParser.parsePreRelease(VersionParser.java:311)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.VersionParser.parseValidSemVer(VersionParser.java:261)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.VersionParser.parseValidSemVer(VersionParser.java:195)[java-semver-0.9.0.jar:na] at com.github.zafarkhaja.semver.Version.valueOf(Version.java:265)[java-semver-0.9.0.jar:na] at org.jfrog.repomd.puppet.model.ReleaseMinor.compareTo(ReleaseMinor.java:61)[puppet-4.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.lambda$0(PuppetModulesMerger.java:46)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)[na:1.8.0_73] at java.util.TimSort.sort(TimSort.java:220)[na:1.8.0_73] at java.util.Arrays.sort(Arrays.java:1512)[na:1.8.0_73] at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348)[na:1.8.0_73] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)[na:1.8.0_73] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[na:1.8.0_73] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[na:1.8.0_73] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[na:1.8.0_73] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[na:1.8.0_73] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.sortModuleReleases(PuppetModulesMerger.java:47)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.mergeEntries(PuppetModulesMerger.java:64)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.merge(AbstractPuppetMerger.java:102)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.merge(AbstractPuppetMerger.java:78)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.getMergedResult(AbstractPuppetMerger.java:64)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.getMergedResult(PuppetModulesMerger.java:1)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.PuppetVirtualRepoHandler.getModules(PuppetVirtualRepoHandler.java:82)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.jfrog.repomd.puppet.rest.PuppetSubResource.getModulesInfo(PuppetSubResource.java:37)[puppet-4.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_73] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:185)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.lambda$1(ArtifactoryAuthenticationFilterChain.java:136)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)[spring-security-web-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:84)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:172)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:281)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:205)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:165)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164)[spring-session-1.2.2.RELEASE.jar:na] at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)[spring-session-1.2.2.RELEASE.jar:na] at org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:62)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116)[artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)[catalina.jar:8.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)[tomcat-coyote.jar:8.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)[tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[tomcat-coyote.jar:8.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_73] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.39] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_73]

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.