On 11/3/06, Mirko Stocker <[EMAIL PROTECTED]> wrote:
And it works so far, but I get this exception when the widget is used:
Exception in thread "org.rubypeople.rdt.internal.ui.text.RubyReconciler"
java.lang.NullPointerException
What is the right way to use this widget? Or am I using the wrong one?
I think the code looks all right - you can check out the preference page for the code formatter to see how I used it.
That error looks familiar to me - I saw it in older versions of the codebase, and I thought I had fixed it. It has something to do with RubyScriptPreview getting hooked into the parser reconciling process (so it reparses as you type) when it shouldn't be. I think the problem was that in the code formatting preview it tries to reconcile but there's no underlying RubyScript underneath it.
Are you using the version of RDT in your repository, or from our trunk? I thought I had fixed this in our trunk at some point in the past.
Thanks,
Chris
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Rubyeclipse-development mailing list Rubyeclipse-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development