🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #80

SecurityException in Designer under FC3 Linux (failed to create live...)

#80
From: Daniel Browning
Date: Mon, 09 May 2005 18:51
45 lines
2799 bytes
When I attempt to design a new default application in JBuilder 2005
update 4 on Linux (Fedora Core 3), it throws:

   java.lang.SecurityException: System.exit() not allowed

And displays the following in the message pane:

   Failed to create live visual subcomponent contentPane (BorderLayout)
   as JPanel contentPane;. Creating using default constructor
   javax.swing.JPanel

Here are the stack trace and -verbose log:

   http://www.kavod.com/db/jb_security_exception_stack_trace.txt
   http://www.kavod.com/db/jb_security_exception_verbose_log.txt

After the exception, I'm still able to interact with the Designer, but
nothing retains any properties.  For example, if I add a JButton, set
the text property, switch to Source view, switch back to Design view,
then the text property disappears.

My environment:

   JBuilder 2005 Foundation for Linux, Update 4 (11.0.320.0), stock conf.
   Installed in /usr/local/JBuilder2005 as root
   Fedora Core 3 on Athlon-2700, 1 GB RAM.  EN_US locale, nothing fancy.
   Sun Java 1.5 update 3 in /usr/java/latest, stock conf.

The changelog for update 4 notes a very similar bug for Macs:

   [216094] Attempting to design a new default application on Macintosh
   throws java.lang.SecurityException: System.exit() not allowed and
   displays Failed to create live value from JPanel in the message pane.
   The design surface is red.  You can use the designer (structure pane,
   palette, inspector), but you don't see design objects in the design
   surface.

I've tried changing the JBuilder JDK to my system's /usr/java/1.4.2_08,
re-installing, switching users, rebooting, and electro-magnetic
shielding, but the problem persisted.  :)

Does anyone know what the source of the problem is or how I can work
around it?  Thanks in advance for your response.
--
Daniel Browning <db@kavod.com>
Technical Details
Message-ID: <427fb129$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,402b221f3d02542a,start
X-Google-Attributes: gid107590,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 09 May 2005 11:51:22 -0700
From: Daniel Browning <db@kavod.com>
User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.linux
Subject: SecurityException in Designer under FC3 Linux (failed to create live...)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.20.180.237
Message-ID: <427fb129$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115664681 24.20.180.237 (9 May 2005 11:51:21 -0700)
Lines: 45
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail