🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #890

Output method is xml could not load output_xml.properties

#890
From: George Francis
Date: Wed, 24 Jul 2002 07:08
104 lines
4131 bytes
Hello,
When I run some code that uses Transformer transformer =
tFactory.newTransformer();
I get the following exception:
org.apache.xml.utils.WrappedRuntimeException: Output method is xml could not
load output_xml.properties (check CLASSPATH)


The interesting thing is that I only get this exception when running this
code in an applet.  If I run the same code in an application, it's o.k.
I've looked into the apache Xalan source, and it's loading properties files
from a stream - the same jar file that OutputProperties.class is in
(org/apache/xalan/templates/).
If someone can help me on this they'd really be saving me - Im at my wit's
end.
Full trace follows:
java.io.IOException: Stream closed

 at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)

 at java.io.BufferedInputStream.read(BufferedInputStream.java:270)

 at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404)

 at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442)

 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)

 at java.io.InputStreamReader.read(InputStreamReader.java:167)

 at java.io.BufferedReader.fill(BufferedReader.java:136)

 at java.io.BufferedReader.readLine(BufferedReader.java:299)

 at java.io.BufferedReader.readLine(BufferedReader.java:362)

 at java.util.Properties.load(Properties.java:192)

 at
org.apache.xalan.templates.OutputProperties.loadPropertiesFile(OutputPropert
ies.java:213)

 at
org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(Outpu
tProperties.java:321)

 at
org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:131
)

 at
org.apache.xalan.transformer.TransformerIdentityImpl.<init>(TransformerIdent
ityImpl.java:104)

 at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:804)

 at com.dytech.devlib.PropBagEx.GenXML(PropBagEx.java:206)

 at com.dytech.devlib.PropBagEx.GetXMLSubtree(PropBagEx.java:236)

 at
com.dytech.assembler.gui.ActivityPanel.enumerateCurriculae(ActivityPanel.jav
a:172)

 at com.dytech.assembler.gui.ActivityPanel.init(ActivityPanel.java:114)

 at sun.applet.AppletPanel.run(AppletPanel.java:341)

 at java.lang.Thread.run(Thread.java:536)

org.apache.xml.utils.WrappedRuntimeException: Output method is xml could not
load output_xml.properties (check CLASSPATH)

 at
org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(Outpu
tProperties.java:366)

 at
org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:131
)

 at
org.apache.xalan.transformer.TransformerIdentityImpl.<init>(TransformerIdent
ityImpl.java:104)

 at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:804)

 at com.dytech.devlib.PropBagEx.GenXML(PropBagEx.java:206)

 at com.dytech.devlib.PropBagEx.GetXMLSubtree(PropBagEx.java:236)

 at
com.dytech.assembler.gui.ActivityPanel.enumerateCurriculae(ActivityPanel.jav
a:172)

 at com.dytech.assembler.gui.ActivityPanel.init(ActivityPanel.java:114)

 at sun.applet.AppletPanel.run(AppletPanel.java:341)

 at java.lang.Thread.run(Thread.java:536)
Technical Details
Message-ID: <3d3e5272_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,94024dc0464d86dc,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-07-24 00:35:49 PST
From: "George Francis" <george_f@(no spam)hotmail.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: Output method is xml could not load output_xml.properties
Date: Wed, 24 Jul 2002 17:08:36 +1000
Lines: 109
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.55.103.198
Message-ID: <3d3e5272_2@dnews>
X-Trace: dnews 1027494514 203.55.103.198 (24 Jul 2002 00:08:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews