All of a sudden my method editor screen comes up completely blank. The last thing I remembered doing was to start the debugger. I think the method editor may not have ben running when I enabled debugging. I have closed and reopened Developer, and even re-started Windows (2000 Server) all result in the same blank window.
Hey, this is something I noticed sometimes too after doing multiple finds or search and replaces (both global) on the mac.
Was it something like that what you did?
what do you see in the .log.txt file?
Johan, sorry. I forgot to look at it (will do so the next time) and report it until I saw this message. Next time I see this you will have that .log.txt I promise.
I get the following .log.txt file when I launch Developer, open the solution, go into design mode and then launch the method editor:
Starting Servoy R2 2.0 rc9 build-268 on Windows 2000 using Java 1.4.2_03java.lang.NullPointerExceptionjava.lang.NullPointerException
at com.servoy.j2db.develop.debugger.c.int(Unknown Source)
at com.servoy.j2db.develop.debugger.c.do(Unknown Source)
at com.servoy.j2db.develop.debugger.c.(Unknown Source)
at com.servoy.j2db.develop.debugger.l.p(Unknown Source)
at com.servoy.j2db.develop.debugger.l.n(Unknown Source)
at com.servoy.j2db.develop.debugger.l.if(Unknown Source)
at com.servoy.j2db.develop.debugger.l.k(Unknown Source)
at com.servoy.j2db.develop.debugger.l.compileFunction(Unknown Source)
at com.servoy.j2db.scripting.f.(Unknown Source)
at com.servoy.j2db.develop.debugger.l.(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.getScriptEngine(Unknown Source)
at com.servoy.j2db.FormManager.if(Unknown Source)
at com.servoy.j2db.develop.z.if(Unknown Source)
at com.servoy.j2db.FormManager$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
same here. that happens to me every other day…
FWIW
Hey, this is something I noticed sometimes too after doing multiple finds or search and replaces (both global) on the mac.
Was it something like that what you did?
Now that you mention it I was doing multiple finds, but for data in a large table (not doing a find and replace in Method Editor).
Also, when this breaks, it breaks the whole solution. The Method editor cannot be closed. The only recovery possible is to re-build the solution from a backup. Does this also happen to you? patrick? IT2BE?
No, and from the looks of it I should be happy. I NEVER experienced that breakdown that you describe. It is only (and nothing more) that I can not go on working with developer. Either closing/opening the solution or a restart solves the thing…
I have had situations where the method editor could not be closed anymore up to a point where I needed Task Manager to get out of Servoy. But when I re-opened, everything except my last changes was fine…
does anybody have a reproduceable testcase (solution) where you did get that nullpointer when you go to the method editor when in design mode?
Johan, I just sent you the output of my terminal.
After performing several undo’s (button clicks) my method editor went blanc again.
in the stack you send me there is no code from us. It is purely a repaint action of the system libs themselfs..
so i really need exactly a reproduceabl test case.
It seems something to do with a text string that is getting removed and the system still things something is there and tries to rendere a text lengt that is negative.
Johan, I can’t reproduce it except that it occurs sometimes under the described circumstances. Sorry…
Johan:
I sent you via private message an exported solution with example data. Did you get it? Is that something you can work with?
i didn’t get anything yet (through my normal email or forum private mail)