Hi Folks,
I’m kinda desperate to
get https://bitbucket.org/lucee/lucee/issue/120/npe-with-web-service-method
fixed, so I’m looking into it myself. However, my Java Fu isn’t what it
once was (and it was never super great to begin with), so I’ve got issues,
and I doubt I’ll be able to fix my own ticket. I’m giving it a shot,
though, so I have some questions:
Question 1: How do I get line numbers out of Lucee classes in stack traces?
at lucee.loader.servlet.CFMLServlet.service(Unknown Source)
I’m just hacking, but this is what I thought to change to get more useful
information:
build-core.xml
<javac srcdir="${srcLoader}" target="1.6" destdir="${temp}/loader"
debug=“true” >
My environment:
$ echo $JAVA_HOME
/cygdrive/c/Program Files/Java/jdk1.6.0_45
Then I built with “ant all”, which yielded “BUILD SUCCESSFUL”
I then unzipped dist/bundles/lucee-4.5.1.007-jars.zip into /opt/railo/lib/
and restarted Lucee. However, I still have the “Unknown Source” issue in
the stack traces, so I’m doing something wrong.
Question 2: Restarting Lucee is required, right? Also, is there a fancier
way to develop Lucee? Some way that the changes go “live” to my server more
automatically?
Thanks,
Jamie
P.S. I would not be offended if someone else tried to fix my ticket while I’m
working on it, myself.