java.nio.BufferUnderflowException: null


Solutions on the web

Solution icon of jfrog
via JFrog JIRA by Daniel Augustine, 1 year ago
null

Solution icon of jfrog
via JFrog JIRA by Daniel Augustine, 1 year ago
null

Stack trace

java.nio.BufferUnderflowException: null
	at org.freecompany.redline.Util.fill(Util.java:59)[redline-1.1.12.jar:na]
	at org.freecompany.redline.Util.fill(Util.java:44)[redline-1.1.12.jar:na]
	at org.freecompany.redline.header.Lead.read(Lead.java:58)[redline-1.1.12.jar:na]
	at org.jfrog.metadata.extractor.RpmFormatReader.getRpmFormat(RpmFormatReader.java:55)[rpm-extractor-4.2.8.jar:na]
	at org.jfrog.metadata.extractor.RpmFormatReader.read(RpmFormatReader.java:37)[rpm-extractor-4.2.8.jar:na]
	at org.jfrog.metadata.extractor.RpmFormatReader.read(RpmFormatReader.java:25)[rpm-extractor-4.2.8.jar:na]
	at org.jfrog.metadata.extractor.RpmMetadataExtractor.extract(RpmMetadataExtractor.java:34)[rpm-extractor-4.2.8.jar:na]
	at org.artifactory.addon.yum.YumServiceImpl.extractRpmMetadata(YumServiceImpl.java:186)[artifactory-addon-yum-4.7.1.jar:na]
	at org.artifactory.addon.yum.YumServiceImpl.getMetadataForRepoPath(YumServiceImpl.java:93)[artifactory-addon-yum-4.7.1.jar:na]
	at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at com.sun.proxy.$Proxy145.getMetadataForRepoPath(Unknown Source)[na:na]
	at org.artifactory.addon.yum.indexer.RpmFsCachedMetadataExtractor.extract(RpmFsCachedMetadataExtractor.java:41)[artifactory-addon-yum-4.7.1.jar:na]
	at org.artifactory.addon.yum.indexer.RpmFsCachedMetadataExtractor.extract(RpmFsCachedMetadataExtractor.java:1)[artifactory-addon-yum-4.7.1.jar:na]
	at org.jfrog.metadata.yum.writer.YumRepoMetadataWriter.serializeYumMetadata(YumRepoMetadataWriter.java:124)[rpm-writer-4.2.8.jar:na]
	at org.jfrog.metadata.yum.writer.YumRepoMetadataWriter.write(YumRepoMetadataWriter.java:69)[rpm-writer-4.2.8.jar:na]
	at org.artifactory.addon.yum.YumAddonImpl.writeMetadataAsSystem(YumAddonImpl.java:358)[artifactory-addon-yum-4.7.1.jar:na]
	at org.artifactory.addon.yum.YumAddonImpl.writeMetadata(YumAddonImpl.java:342)[artifactory-addon-yum-4.7.1.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at com.sun.proxy.$Proxy144.writeMetadata(Unknown Source)[na:na]
	at org.artifactory.addon.yum.YumAddonImpl$RpmMetadataWriter.write(YumAddonImpl.java:310)[artifactory-addon-yum-4.7.1.jar:na]
	at org.jfrog.metadata.indexer.RpmRepoIndexer.indexUsingAdvancedWriter(RpmRepoIndexer.java:86)[rpm-indexer-4.2.8.jar:na]
	at org.jfrog.metadata.indexer.RpmRepoIndexer.index(RpmRepoIndexer.java:70)[rpm-indexer-4.2.8.jar:na]
	at org.artifactory.addon.yum.YumAddonImpl.calculateYumMetadataAsSystem(YumAddonImpl.java:279)[artifactory-addon-yum-4.7.1.jar:na]
	at org.artifactory.addon.yum.YumAddonImpl.calculateYumMetadata(YumAddonImpl.java:257)[artifactory-addon-yum-4.7.1.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-storage-common-4.7.1.jar:na]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at com.sun.proxy.$Proxy144.calculateYumMetadata(Unknown Source)[na:na]
	at org.artifactory.addon.yum.YumAddonImpl.executeAsyncRepositoryYumMetadataCalculation(YumAddonImpl.java:121)[artifactory-addon-yum-4.7.1.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
	at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:348)[artifactory-core-4.7.1.jar:na]
	at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:213)[artifactory-core-4.7.1.jar:na]
	at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:146)[artifactory-core-4.7.1.jar:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
	at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102)[artifactory-storage-common-4.7.1.jar:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
	at java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]

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.