> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brandon E. Myers
> Sent: Monday, April 10, 2000 4:29 PM
> To: Turbine
> Subject: Problems Starting turbine w/out logging
>
>
> Figured maybe someone could help:
>
> Everytime I attempt to use any app based on turbine I get this message:
> java.lang.NullPointerException
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled
> Code)
>         at java.io.FileWriter.<init>(FileWriter.java, Compiled Code)
>         at org.apache.turbine.util.Log.init(Log.java, Compiled Code)
>         at org.apache.turbine.util.Log.<clinit>(Log.java:102)
>           ....

If this message is just in a log file then ignore it.  It's just an
informative message.  If you look at the Log class it just prints the
exception and subsequent calls to Log will do nothing because isValid will
be false.

> It seems that when there is no log file defined, it crashes.. (bad)
> When I do specify a log file, it works fine (good).
>
> How do I setup the system to NOT use a log file?
> Is there a patch, or am I stupid and not doing something right?

You could add something to Log that checks a value in TurbineResources to
see whether or not to use logging.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to