Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Thread Lock on Instantiate JFrame on Virgo(Weird problem!!)
Thread Lock on Instantiate JFrame on Virgo [message #884854] Tue, 12 June 2012 00:24 Go to next message
Eduardo Frazão is currently offline Eduardo FrazãoFriend
Messages: 123
Registered: January 2012
Senior Member
Hi all!.

Im experiencing a weird problem with Virgo + Eclipse Indigo + Windows XP SP3 (x86).

When I create a new bundle, and try to create a JFrame for example, my thread locks on the object creation. The constructor never returns. Nothing is reported on virgo logs.

Im importing all javax.swing classes.

The most strange, is: If I export the bundle, and put it inside the Pickup directory, and run virgo outside eclipse, it works normally Shocked .

On linux, the same code runs inside eclipse, normally.

Im running Virgo 3.0.3 and Sun JDK 1.6.0.32.

How can I debug a problem like that?
Re: Thread Lock on Instantiate JFrame on Virgo [message #885511 is a reply to message #884854] Wed, 13 June 2012 06:43 Go to previous messageGo to next message
Hristo Iliev is currently offline Hristo IlievFriend
Messages: 156
Registered: May 2010
Location: Sofia, Bulgaria
Senior Member

Hi,

Do you have the sun/apple packages imported as mentioned in Virgo's FAQ [1] ?

Is this reproducible on newer versions of Windows as well?

Regards,
Hristo Iliev

[1] http://wiki.eclipse.org/Virgo/FAQ#How_can_I_get_a_graphical_application_to_work_in_Virgo.3F
Re: Thread Lock on Instantiate JFrame on Virgo [message #885803 is a reply to message #885511] Wed, 13 June 2012 16:19 Go to previous messageGo to next message
Eduardo Frazão is currently offline Eduardo FrazãoFriend
Messages: 123
Registered: January 2012
Senior Member
Hi Iliev! Thanks for help!
I will have time to check the boot delegation tonight!

But, a question anyway. Why the application run normally, on the same machine and the same virgo config, outside eclipse?
Re: Thread Lock on Instantiate JFrame on Virgo [message #885959 is a reply to message #885803] Wed, 13 June 2012 23:52 Go to previous message
Eduardo Frazão is currently offline Eduardo FrazãoFriend
Messages: 123
Registered: January 2012
Senior Member
Hi Iliev.
Adding the com.sun.* to boot delegation does not solve the problem. In fact, it was already setted. But, i put it on the config file anyway.

Its strange. ive created a new thread, only with a JFrame x = new JFRame(), and it locks the thread. Never returns.
On Eclipse, my Thread stalls in "Stepping".
If I run the same virgo instance, outside eclipse, with the application as a Bundle, it works.!
Can it be some kind of bug of the tooling in running in Win32?

On Windows 7 Professional N x64, I can't reproduce. All works as expected.

[Updated on: Thu, 14 June 2012 01:37]

Report message to a moderator

Previous Topic:Virgo-maven-plugin with external local maven repository
Next Topic:Installing spring security
Goto Forum:
  


Current Time: Thu Apr 25 17:26:35 GMT 2024

Powered by FUDForum. Page generated in 0.03541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top