After upgrading to 4.7 my LoggedInUserAttribute_ are missing.

Greetings,

I've upgraded from JasperServer 4.5.1 to 4.7, and I've noticed that the individual LoggedInUserAttribute_ entries in the parameter map appear to have vanished. As a result, my reports are now giving me a:

net.sf.jasperreports.engine.JRRuntimeException: Parameter "LoggedInUserAttribute_market_tag" does not exist.

error message when I attempt to run them.

Anyone else experienced this issue?

 

spierepf's picture
145
Joined: Jun 8 2012 - 6:41am
Last seen: 9 years 7 months ago

3 Answers:

 I'm having the same problem, did you find any fix for this issue yet?

javi_123's picture
764
Joined: Aug 21 2008 - 1:15am
Last seen: 6 months 1 week ago
For us, the problem was using the parameter in an input control, and removing the "Always prompt" flag.

I'm convinced that this is just a bug. Jasper support is aware of the issue. If you've got a support contract, I'd suggest you open your own case, so that the devs can get a sense of how serious a problem this is for their customer base.
spierepf's picture
145
Joined: Jun 8 2012 - 6:41am
Last seen: 9 years 7 months ago

They have submitted the case as a defect enhancement, lets see how long will it take to fix this problem.

I think i have found another problem unless i'm doing something wrong, actually i upgarded from js 4.2.1 to 4.7 which was successful and then i tried to export the contents of the repository from js 4.7 which failed using the following command:

./js-export.sh --uris --everything --output-zip everything.zip

Have you tried to export the repository resources in js 4.7?

Error message

==================== 
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'this_11_.maxValue' in 'field list' 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
 
 
2012-07-11 12:49:02,097 ERROR BaseExportImportCommand:45 - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalProfilingState' defined in file [/opt/jasperserver/buildomatic/conf_source/iePro/applicationContext-profiling.xml]: Invocation of init method failed; nested exception is com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalProfilingState' defined in file [/opt/jasperserver/buildomatic/conf_source/iePro/applicationContext-profiling.xml]: Invocation of init method failed; nested exception is com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query 
=======================================================================<br type="_moz" />
javi_123's picture
764
Joined: Aug 21 2008 - 1:15am
Last seen: 6 months 1 week ago
Feedback