no method editor --repost

Hello,

I’m posting this question again since I have not been able to solve the problem, I am using Servoy Dev R2 1.2 and all of a sudden I cannot view the method editor. I click on the Method Editor button once and nothing happens, click a second time and I get the method editor window and title bar, but the windows is completely empty, just gray. I have to quit servoy to get it to close. Any ideas how to fix this?

smokey

Most of the time this is a plugin problem. The first time a plugin or something that is displayed in the Tree structure has an error.

Do you see anyting in the console if you start Servoy with:
java -DSTACKTRACE=TRUE -jar servoy_developer.jar

im sorry, i dont think i can do that from a PC can I? Is there a PC equivilant to starting servoy like that?

Yes Smokey, you can do that via the ‘run’ menu item in your start menu… Don’t forget to navigate to the correct directory!

ok i ran this from my command prompt and there is a LOT of stuff that comes up when i do that, i kept it open while i tried to open method editor and noted what it said:

java.lang.NoClassDefFoundError: org/quartz/SchedulerException
at com.servoy.r2.plugins.scheduler.SchedulerPlugin.getScriptObject

there are a bunch of messages after that, let me know if you need them

thanks for the help

smokey

No that is enough..
in the “SERVOY\plugin”
dir you have a scheduler.jar?

But you also should have a
“SERVOY\plugin\scheduler”
dir with a jar file “quartz.jar”

Do you miss that file?
It should be installed by default..

I do have a servoy/plugins/scheduler.jar

I do not have a servoy/plugins/scheduler/quartz.jar

This used to work, I don’t know how those files would have been removed- how should i proceed?

thx
smokey

email me then i will send you de jar that must be placed in that dir.

very strange that suddenly that dir (and content) is gone!!

badabing, worked like a charm-

thanks!

hmm… I do have a quartz.jar but the same “problem” once in a while. I restart and I am fine. But this also happens to the whole application once in while (in my case). You see a grey screen, you can resize the window etc., the menus are selectable but without action. I put the blame on some other process or on java but maybe there is a glitch…

I fixed in rc7 the problem if plugins are not complete..
they wont ‘crash’ the method editor anymore and do display the plugin with a warning icon