On Dec 20, 2007 6:08 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
> For some reason, I'm unable to edit some entries that I have from
> February 2003. I get an "Unexpected Exception" from Roller and my logs
> have the following stacktrace:
>
> SEVERE: Servlet.service() for servlet default threw exception
> java.lang.NullPointerException
> at
> org.apache.roller.weblogger.ui.struts2.editor.EntryBean.copyFrom(EntryBean.java:363)
> at
> org.apache.roller.weblogger.ui.struts2.editor.EntryEdit.execute(EntryEdit.java:106)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> Any idea what could be causing this?
That is bizarre. Line 363 is this:
setAllowComments(entry.getAllowComments());
But I don't see how you could get there if entry is null.
You might have to break out the debugger for this one.
- Dave