🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
1 messages
1 total messages Started by George Francis Wed, 24 Jul 2002 07:08
Output method is xml could not load output_xml.properties
#890
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads