Issue
java.io.EOFException
at javax.baja.xml.XParser.read(XParser.java:753)
at javax.baja.xml.XParser.parseString(XParser.java:555)
at javax.baja.xml.XParser.parseAttr(XParser.java:492)
at javax.baja.xml.XParser.parseElemStart(XParser.java:421)
at javax.baja.xml.XParser.next(XParser.java:262)
at javax.baja.xml.XParser.parseCurrent(XParser.java:146)
at javax.baja.xml.XParser.parse(XParser.java:119)
at javax.baja.xml.XParser.parse(XParser.java:102)
at javax.baja.ui.px.PxDecoder.decodeDocument(PxDecoder.java:77)
at javax.baja.ui.px.PxDecoder.decodeDocument(PxDecoder.java:64)
at javax.baja.workbench.px.BWbPxView.loadPx(BWbPxView.java:176)
at javax.baja.workbench.px.BWbPxView.doLoadValue(BWbPxView.java:90)
at javax.baja.workbench.BWbEditor.loadValue(BWbEditor.java:233)
at com.tridium.workbench.shell.NHyperlinkInfo.loadView(NHyperlinkInfo.java:563)
at com.tridium.workbench.shell.NHyperlinkInfo.hyperlink(NHyperlinkInfo.java:100)
at com.tridium.workbench.shell.BNiagaraWbShell.doHyperlink(BNiagaraWbShell.java:350)
at com.tridium.workbench.shell.BNiagaraWbShell.hyperlink(BNiagaraWbShell.java:316)
at com.tridium.workbench.shell.WbCommands$BackCommand.doInvoke(WbCommands.java:718)
at javax.baja.ui.Command.doInvoke(Command.java:303)
Environment
G3 (Niagara) station with px files, any revision level.
Cause
The px file did not copy correctly.
Resolution
There are three possible approaches to recover from this situation, as follows:
-
Try copying the file again.
-
Open the px file with a text editor. It might be possible to determine what was either not copied at all, or what might have been corrupted during the copying process. The example shown below is part of the BoilerRoom.px file from niagara-3.6.47 \ stations \ demo \ px \ plant.
Lines 489 through 495 contain 'closing tags' for the Canvas Pane, Scroll Pane, Border Pane, content, and px statements that were opened at an earlier point in the px file. If one or more of these 'closing tags' were not copied, or were somehow corrupted during the copying process, the error would result
. - If necessary, restore the px file from a backup.