com.gemstone.gemfire.cache.CacheXmlException: While reading Cache XML file:/path/to/folder/cache.xml. While parsing XML, caused by java.io.IOException: Stream closed

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via pivotal.io by Unknown author, 1 year ago
While reading Cache XML file:/path/to/folder/cache.xml. While parsing XML, caused by java.io.IOException: Stream closed
via pivotal.io by Unknown author, 1 year ago
While reading Cache XML file:/path/to/folder/cache.xml. While parsing XML, caused by java.io.IOException: Stream closed
via zendesk.com by Unknown author, 1 year ago
While reading Cache XML file:/path/to/folder/cache.xml. While parsing XML, caused by java.io.IOException: Stream closed
via GitHub by GaikwadPurwa
, 2 years ago
While reading Cache XML file:/home/ubuntu/YCSB/gemfire/src/main/conf/cache.xml. While parsing XML, caused by java.lang.IllegalStateException: Cannot reference non-existing region attributes named "PARTITION"
com.gemstone.gemfire.cache.CacheXmlException: While reading Cache XML file:/path/to/folder/cache.xml. While parsing XML, caused by java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:162)
at java.io.BufferedInputStream.reset(BufferedInputStream.java:435)
at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.parse(CacheXmlParser.java:200)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4244)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1174)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.init(GemFireCacheImpl.java:1018)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:682)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:182)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:229)
at com.gemstone.gemfire.distributed.ServerLauncher.startWithGemFireApi(ServerLauncher.java:794)
at com.gemstone.gemfire.distributed.ServerLauncher.start(ServerLauncher.java:696)
at com.gemstone.gemfire.distributed.ServerLauncher.run(ServerLauncher.java:626)
at com.gemstone.gemfire.distributed.ServerLauncher.main(ServerLauncher.java:200)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 5 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.