sorry, my mail seems to just be trickling in now so i am just seeing this.
again, this makes me think there is either something that was wrong with
your specific upgrade path, or possibly as you mentioned there was
something incorrect about the specific build :/ In any case, this makes
me weary about any change to the lastmodified column default value.
-- Allen
Matt Raible wrote:
After updating website.lastmodified to now(), I get the following error:
java.lang.NoSuchMethodError:
org.apache.roller.ui.rendering.util.WeblogPageRequest.getWeblogPage()Lorg/apache/roller/pojos/WeblogTemplate;
org.apache.roller.ui.rendering.velocity.deprecated.ContextLoader.setupContext(ContextLoader.java:132)
org.apache.roller.ui.rendering.model.ModelLoader.loadOldModels(ModelLoader.java:55)
org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:344)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Matt
On 10/24/06, Dave <[EMAIL PROTECTED]> wrote:
On 10/23/06, Dave <[EMAIL PROTECTED]> wrote:
> The problem:
> java.lang.NullPointerException
>
org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:168)
>
> Looks like a 3.0 bug, your website is has a null lastmodified date.
> You can work around the problem by setting lastmodified date to some
> non null value, perhaps now() would work.
The root problem is that we create the new lastmodified column with
default to null.
alter table website add column lastmodified $TIMESTAMP_SQL_TYPE
default null;
What we ought to do is to set the default to now() like so:
alter table website add column lastmodified $TIMESTAMP_SQL_TYPE
default now();
So we need an RC5. Does anybody else have Roller 3.0 RC4 feedback?
- Dave