infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16152) Login to Apache Blogs site fails with Velocity template error
Date Mon, 19 Mar 2018 23:35:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405587#comment-16405587
] 

David Johnson commented on INFRA-16152:
---------------------------------------

I created a blog with username "jiri" and full name of "Jiří Kovalský" and it worked well
(see the attached image cursor_and_testblog); I was able to login and create a post.  The
template code that is failing ( weblog.vm[line 674, column 34] ), looks like this:
 
32  #macro(showAuthorMenu $vertical)
33  
34  #set( $authorMenu = $menuModel.authorMenu )
35  #if( $authorMenu )
36      #if( $vertical )
37          #foreach( $menu in $authorMenu.tabs )
38            <ul class="rMenu">

Is it possible to get a log with the stack trace from this failure? or, is it possible for
me to get access to the VM that is running blogs.apache.org so that I can further investigate?




> Login to Apache Blogs site fails with Velocity template error
> -------------------------------------------------------------
>
>                 Key: INFRA-16152
>                 URL: https://issues.apache.org/jira/browse/INFRA-16152
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Blogs
>            Reporter: Jiří Kovalský
>            Assignee: Chris Thistlethwaite
>            Priority: Major
>         Attachments: Cursor_and_testblog.jpg
>
>
> For some reason I cannot login to Apache Blogs site [1] due to Velocity template error
[2]. Tried with anonymous mode with same result. My username is "jkovalsky". Can you please
help me? Thanks!
> [1] https://blogs.apache.org/roller-ui/login.rol
> [2] Exception Velocity template error : standard
> Message 	Invocation of method 'getAuthorMenu' in class org.apache.roller.weblogger.ui.rendering.model.MenuModel
threw exception java.lang.NullPointerException at weblog.vm[line 674, column 34]
> Type 	2c8995ce-ea14-4c95-a539-35091a206f32
> Exception 	org.apache.velocity.exception.MethodInvocationException



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message