Eclipse client not starting correctly

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Eclipse client not starting correctly

Postby Gordon » Fri Jan 02, 2009 5:49 pm

Hi

Firstly happy new year to everyone !!!

There appears to be an issue on the Mac version of 4.1 Final where by the client will not start from developer, or at least starts as a blank page with no menus/solution. This problem is intermittent and can be fixed by re starting the computer, which in turn re starts Sybase, so I suspect its a db/repository issue. I have not been able to isolate exactly what causes the problem in the first instance, but would be interested to know is anyone else has experienced this issue before escalating further.

Cheers
Gordon
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: Eclipse client not starting correctly

Postby IT2Be » Fri Jan 02, 2009 6:04 pm

This is an old issue that comes back on and off because there is an issue with one or more editors on mac os x.
At least that is my experience.
When you close all editors and restart it should work again.
My latest observation is that is happens when I have a globals.js file open but could be a co-incidence...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Eclipse client not starting correctly

Postby Gordon » Sat Jan 03, 2009 11:54 am

Hi

Thanks for the confirmation Marcel, its good to know its not a local issue.

I have found a fairly reliable way of clearing the problem which is to activate another solution, start the client, close the client and then re activate the solution that was not working. I hope that makes some sense and that Servoy sort this issue out asap as development blind is always a lot harder in my experience.

Gordon
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: Eclipse client not starting correctly

Postby IT2Be » Sat Jan 03, 2009 12:00 pm

Have you created an issue report in the Support System
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Eclipse client not starting correctly

Postby Gordon » Sat Jan 03, 2009 12:25 pm

I will send one in now, as the results are boradly the same with 10.5.6, I suspect the Apple route to a fix will be a long time coming.

Gordon
Gordon McLean
Click Digital Media Ltd
SAN Developer
www.clickdigital.com
User avatar
Gordon
 
Posts: 265
Joined: Thu Mar 17, 2005 8:05 pm
Location: UK

Re: Eclipse client not starting correctly

Postby jcompagner » Tue Jan 06, 2009 12:32 am

You should look when it exactly what kind of editor is open when you start eclipse when it does happen

Somehow that editor triggers something internally which causes that something gets started to early on the mac.
if you can figure out what kind of js file (or other kind of editor) is causing that that we can look into that a bit further.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Eclipse client not starting correctly

Postby IT2Be » Tue Jan 06, 2009 1:47 am

Johan,

Attached is the complete logging of the startup of one of my Servoy 4.1 instances.
'logging_for_johan.txt' is the logging on startup of developer.
'logging_for_johan_part_2.txt' is the logging when closing developer.

A previous session was closed with 2 global method .js files opened and one form file opened.

There are 3 timestamps added:
- startup of developer
- startup of solution, first default login window
- after entering the password

Another thing I noticed is that there are many errors throws due to a missing server.

Hope this helps...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Eclipse client not starting correctly

Postby jcompagner » Tue Jan 06, 2009 12:03 pm

i see quite a few:

Jan 6 00:38:28 Macintosh servoy[6194]: *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x52f53e40> '(null)') unlocked when not locked
Jan 6 00:38:28 Macintosh servoy[6194]: *** Break on _NSLockError() to debug.

thats most of the time not a good sign on the mac.
There can be a some but not to much.

it could be related to:

--- STARTUP OF SOLUTION --- dinsdag 6 januari 2009 00:39:22 Europe/Berlin
Jan 6 00:38:31 Macintosh [0x0-0x2d02d0].org.eclipse.eclipse[6194]: java.lang.NullPointerException
Jan 6 00:38:31 Macintosh [0x0-0x2d02d0].org.eclipse.eclipse[6194]: at com.servoy.j2db.scripting.PluginScope.get(PluginScope.java:24)
Jan 6 00:38:31 Macintosh [0x0-0x2d02d0].org.eclipse.eclipse[6194]: at com.servoy.eclipse.debug.script.FormDomProvider.resolveIds(FormDomProvider.java:206)

so can you narrow it down to 1 js file editor?

I guess it touches something like a plugin that is causing the above errors.
If we have that file and the plugins that is used in the js file (plugins.xxxx.yyy) then we can hopefully reproduce it better and see what is causing the early load.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Eclipse client not starting correctly

Postby IT2Be » Tue Jan 06, 2009 12:35 pm

Any hint you can give about that 'PluginScope' issue?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Eclipse client not starting correctly

Postby jcompagner » Tue Jan 06, 2009 12:42 pm

thats a javascript file that has a plugin reference in it like:

plugins.marcelsgreatplugin.doGreatStuff()

so if you have a js file that causes that null pointer then please send it to me with the plugin that is referenced by the js file
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 10 guests

cron