Hi,
what is my problem.
When I am logged in as a user which is in Jira internal directory and I click on my name (or Profile in menu) I can see my profile.
But when I am logged in as a user located in Delegated LDAP authentication directory and I click the same, I see error page where is http error 500 written.
But called URL is the same and in one case it is working well, in other case not
Does anybody know what to do to eliminate this problem?
Jaroslav
error on window:
An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getFragmentHtml' in class com.atlassian.jira.user.profile.ActivityUserProfileFragment threw exception class com.atlassian.gadgets.GadgetParsingException : org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:251) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230).......................
log:
2012-01-25 15:23:54,273 http-10.217.179.27-63512-4 ERROR xxxxxxx 923x2672x1 16feb7n 10.217.116.42 /secure/ViewProfile.jspa [velocity] Method getFragmentHtml threw exception for reference $activityStreamFrag in template templates/plugins/userprofile/summary-panel.vm at [43,13]
2012-01-25 15:23:54,273 http-10.217.179.27-63512-4 ERROR xxxxxxx 923x2672x1 16feb7n 10.217.116.42 /secure/ViewProfile.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.gadgets.GadgetParsingException: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500
com.atlassian.gadgets.GadgetParsingException: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500
at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:154)
......................
Oki, problem solved. After adding user to some project everything works good. So problem is only with users located in Delegated LDAP authentication directory which have no project.
Thanks
Moved your comment down and marked it answered so it would pay out your karma. Thanks for posting your solution!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With my setting of directory (Delegated LDAP Authentication) I dont have read only....read/write config possibility, it is only if I use clean ldap.
I checked base URL, it it really good
and yes, it happens for all users delegated from ldap :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would be curious to know which LDAP configuration you are using "Read Only", "Read Only, with Local Groups" or "Read/Write". If you are set to Read Write do you know if you have permission?
Second thing I would check is that your dashboard is working properly - Gadget's not retrieving xml might mean your base URL is wrong in the General Config - but I suspect you would have caught on to that... :)
Does it happen for all users from the Delegated Directory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.