Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Aaron Rhodes, 2 years ago
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
via JFrog JIRA by Aaron Rhodes, 1 year ago
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
via openshift.com by Unknown author, 2 years ago
Can not read response from server. Expected to read 4 byte s, read 0 bytes before connection was unexpectedly lost.
via GitHub by graybeal
, 2 years ago
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
via GitHub by mmisw
, 1 year ago
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
via Stack Overflow by RVP
, 2 years ago
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2914)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3337)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3327)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2526)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2484)	at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1446)	at com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3597)	at com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3572)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2107)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2077)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2062)	at org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:131)	at org.artifactory.storage.db.fs.dao.NodesDao.create(NodesDao.java:147)	at org.artifactory.storage.db.fs.service.FileServiceImpl.createFile(FileServiceImpl.java:144)	at org.artifactory.storage.db.fs.model.DbMutableFile.doCreateNode(DbMutableFile.java:205)	at org.artifactory.storage.db.fs.model.DbMutableItem.save(DbMutableItem.java:204)	at org.artifactory.storage.fs.lock.SessionLockEntry.save(SessionLockEntry.java:72)	at org.artifactory.storage.db.fs.session.SqlStorageSession.save(SqlStorageSession.java:66)	at org.artifactory.repo.db.DbStoringRepoMixin.invokeAfterCreateInterceptors(DbStoringRepoMixin.java:380)	at org.artifactory.repo.db.DbStoringRepoMixin.saveResource(DbStoringRepoMixin.java:236)	at org.artifactory.repo.db.DbLocalRepo.saveResource(DbLocalRepo.java:141)	at org.artifactory.engine.UploadServiceImpl.uploadItemWithContent(UploadServiceImpl.java:607)	at org.artifactory.engine.UploadServiceImpl.uploadItemWithProvidedContent(UploadServiceImpl.java:585)	at org.artifactory.engine.UploadServiceImpl.uploadItem(UploadServiceImpl.java:522)	at org.artifactory.engine.UploadServiceImpl.uploadFile(UploadServiceImpl.java:495)	at org.artifactory.engine.UploadServiceImpl.uploadArtifact(UploadServiceImpl.java:474)	at org.artifactory.engine.UploadServiceImpl.uploadWithinTransaction(UploadServiceImpl.java:145)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:65)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)	at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)	at com.sun.proxy.$Proxy43.uploadWithinTransaction(Unknown Source)	at org.artifactory.engine.UploadServiceImpl.adjustResponseAndUpload(UploadServiceImpl.java:231)	at org.artifactory.engine.UploadServiceImpl.validateRequestAndUpload(UploadServiceImpl.java:186)	at org.artifactory.engine.UploadServiceImpl.upload(UploadServiceImpl.java:131)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)	at com.sun.proxy.$Proxy43.upload(Unknown Source)	at org.artifactory.webapp.servlet.RepoFilter.doUpload(RepoFilter.java:206)	at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:161)	at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)	at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:91)	at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:138)	at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:224)	at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:184)	at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:62)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:744)