Hi Eric,
You are seeing a stupid bug in the debug statement in the
OMDrawingToolLauncher. There's no way that code ever worked, so I'm
kind of surprised it's there.
As for the output, that worked for me. How are you setting up the
Debug output stream to your log file? There is an option to have the
stream directed to the standard output for that initialization. Also,
Debug.output and Debug.error statements get handled differently, and
Debug doesn't capture anything sent to the standard output stream
directly.
- Don
On Saturday, June 15, 2002, at 11:32 AM, Eric Dickner wrote:
> Hello All,
>
> When I use debug.<keyword here> everything works fine. I have it
> configured
> to go to a file instead of the screen and I get a nice little file to
> printout and work thorugh as I figure out how OpneMap works.
>
> When I try debug.all, though two things happen; first instead of going
> to
> the file it goes to the console, and then there is this error below.
>
> *********
> %JAVABIN% -mx64m -Dopenmap.configDir=%OM_HOME%\share -Ddebug.all
> com.bbn.openmap.app.OpenMap
>
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
> at
> com.bbn.openmap.tools.drawing.OMDrawingToolLauncher.getContent
> (OMDrawingTool
> Launcher.java:185)
> at
> com.bbn.openmap.tools.drawing.OMDrawingToolLauncher.resetGUI
> (OMDrawingToolLa
> uncher.java:411)
> at
> com.bbn.openmap.tools.drawing.OMDrawingToolLauncher.findAndInit
> (OMDrawingToo
> lLauncher.java:335)
> at
> com.bbn.openmap.MapHandlerChild.childrenAdded(MapHandlerChild.java:106)
> at
> java.beans.beancontext.BeanContextSupport.fireChildrenAdded
> (BeanContextSuppo
> rt.java:1176)
> at
> java.beans.beancontext.BeanContextSupport.add(BeanContextSupport.java:408)
> at
> com.bbn.openmap.PropertyHandler.createComponents(PropertyHandler.java:515)
> at com.bbn.openmap.app.OpenMap.<init>(OpenMap.java:70)
> at com.bbn.openmap.app.OpenMap.main(OpenMap.java:111)
> *********
> The FAQ's seem to say you are supposed to use the option like debugall
> with
> no dot, but that doesn't work either.
>
> Thanks,
>
> ejd
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Jun 17 11:16:16 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT