This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239418 - java.io.IOException: Premature end of file.
Summary: java.io.IOException: Premature end of file.
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: venkatramakkineni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 14:40 UTC by lforet
Modified: 2013-12-12 15:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204595


Attachments
stacktrace (5.34 KB, text/plain)
2013-12-12 14:40 UTC, lforet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lforet 2013-12-12 14:40:14 UTC
Build: NetBeans IDE Dev (Build 201312050002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
lforet: Just trying to open a plantuml file using the http://sourceforge.net/projects/plantumlnb/ plugin version 1.2.1

GUEST: Not sure if related, but I noticed it after changing the default file enconding. (add "-J-Dfile.encoding=UTF-8" to netbeans_default_options in netbeans.conf)
Also, a search for netbeans.conf in C: was still executing. (Windows 7)

GUEST: Creating maven project

GUEST: Just launch the Netbeans and automaticly open a php project

GUEST: my report

GUEST: click on windoe -> PlantUML menu




Stacktrace: 
java.io.IOException: Premature end of file.
   at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:0)
   at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:0)
   at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:0)
   at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(SAXSVGDocumentFactory.java:0)
   at org.netbeans.modules.plantumlnb.SVGImagePreviewPanel.createSVGDocument(SVGImagePreviewPanel.java:82)
   at org.netbeans.modules.plantumlnb.SVGImagePreviewPanel.renderSVGFile(SVGImagePreviewPanel.java:72)
Comment 1 lforet 2013-12-12 14:40:16 UTC
Created attachment 143104 [details]
stacktrace