🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() throws Exception

#1495
From: Hans Georg Frey
Date: Wed, 14 Nov 2001 18:50
39 lines
2517 bytes
Hi,

i get in the following code

         javax.xml.parsers.DocumentBuilderFactory dbf =
javax.xml.parsers.DocumentBuilderFactory.newInstance();
         javax.xml.parsers.DocumentBuilder db =
dbf.newDocumentBuilder();

the Exception

sealing violation
java.lang.SecurityException: sealing violation
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
 at
org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:98)

 at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:87)

 at cosima.components.gateway.bluetooth.Main.main(Main.java:67)

Does anybody know why? I only get this Message using JBuilder.
using CommandPrompt and JDK1.3.1 everything works fine.

I use Xerces in different Versions. With each of them I get the same
result. I already have checked file Manifest and found no Sealed: true
entry.

Thanks
Hans Georg
Technical Details
Message-ID: <3BF2BCE6.83883153@t-online.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,64fb43755a457b6f,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-11-14 10:51:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: Hans Georg Frey <HGFrey@t-online.de>
Newsgroups: borland.public.jbuilder.java.api
Subject: javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() 
 throws Exception
Date: Wed, 14 Nov 2001 19:50:14 +0100
Organization: T-Online
Lines: 40
Message-ID: <3BF2BCE6.83883153@t-online.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1005763725 03 27401 ZGHvTJsGSXAREx 011114 18:48:45
X-Complaints-To: abuse@t-online.com
X-Sender: 320017950701-0001@t-dialin.net
X-Mailer: Mozilla 4.75 [de] (Win98; U)
X-Accept-Language: de