Read Error At Java.io.fileinputstream.readbytes
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up IOException: Read Error up vote 0 down vote favorite If you want more info on the error, the full source can be downloaded here Hey, I'm reading an ini file using java.util.Properties; and I've run into a strange issue. When I try to load a specific file, the thing spits out this strange exception that I've been trying for about a day to eliminate. java.io.IOException: Read error at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at java.util.Properties$LineReader.readLine(Unknown Source) at java.util.Properties.load0(Unknown Source) at java.util.Properties.load(Unknown Source) at IniReader.load(IniReader.java:20) at plane.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about http://stackoverflow.com/questions/5684250/ioexception-read-error Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is http://stackoverflow.com/questions/29599876/how-to-resolve-java-io-ioexception-read-error-at-java-io-fileinputstream-readn a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to resolve java.io.IOException: Read error at java.io.FileInputStream.read(Native Method)? up vote 0 down vote favorite I'm getting the following error, java.io.IOException: Read error at java.io.FileInputStream.read(Native Method) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.example.TestIntegrate.execute(TestIntegrate.java:71) at com.example.TestIntegrate.main(TestIntegrate.java:42) Here is my code: public class TestIntegrate { private Document doc = null; public static void main(String[] args) { FileInputStream fin; try {
(the link is available in page footer). Application Server 3 4 5 and 6JBAS-3867"java.io.IOException: Read error" when deploying warsLog In read error ExportXMLWordPrintableDetails Type: Bug Status: Closed (View Workflow) Priority: Major Resolution: Done Affects Version/s: JBossAS-5.0.0.Beta1 Fix Version/s: JBossAS-5.0.0.Beta2 Component/s: Deployers, XML Services/Frameworks Labels: None Environment: windows xp, sun read error at jdk 1.5.0_06 rhel 3, sun jdk 1.5.0_06 Description 15:24:19,734 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 15:24:19,828 ERROR [BaseModelMBean] Exception invoking method addChild java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to parse source: Read error at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:264) at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5285) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDe