Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

java.io.IOException:

0 votes

Hello, 

I tried to load a simple XML file to view the tree structure, and then I got the error below. How can I fix this?

Thanks

java.io.IOException: TransformerException:javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: External DTD: Failed to read external DTD 'transitSchedule_v1.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property.

at y.H.D.ā(Unknown Source)

at com.yworks.A.B.G.A.e$A.ā(Unknown Source)

at y.H.G.ā(Unknown Source)

at y.B.A.M.Đ(Unknown Source)

at y.B.j.č(Unknown Source)

at y.B.j.ā(Unknown Source)

at y.B.j.ă(Unknown Source)

at com.yworks.A.B.Z.ă(Unknown Source)

at com.yworks.A.B.Z.ā(Unknown Source)

at com.yworks.A.K.P.ā(Unknown Source)

at com.yworks.A.K.P.ā(Unknown Source)

at com.yworks.A.K.G.ā(Unknown Source)

at com.yworks.A.K.G.ą(Unknown Source)

at com.yworks.A.K.P$B.Ă(Unknown Source)

at com.yworks.A.K.P.ā(Unknown Source)

at com.yworks.A.L.D.ā(Unknown Source)

at com.yworks.A.L.j.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)

at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$500(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

in Help by

1 Answer

0 votes

As the error message states, your XML file uses an external DTD:

External DTD: Failed to read external DTD 'transitSchedule_v1.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property.

This is not allowed, because it constitutes a security vulnerability.

To fix this, you need to remove any DTD from your file.

by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...