{"id":2762,"date":"2022-08-30T15:27:34","date_gmt":"2022-08-30T15:27:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/08\/jasper-report-in-grails-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:27:34","modified_gmt":"2022-08-30T15:27:34","slug":"jasper-report-in-grails-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/jasper-report-in-grails-collection-of-common-programming-errors\/","title":{"rendered":"jasper report in grails-Collection of common programming errors"},"content":{"rendered":"<p>I use jasper plugin to get report in pdf .I am trying to get report using this example(http:\/\/grails.org\/plugin\/jasper).To get particular id information in pdf format used below codes.<\/p>\n<pre><code>    \n                \n                    \n                    \n                    \n                \n            \n            \n\n\n<\/code><\/pre>\n<p>I used above code in show.gsp page to get particular id report.<\/p>\n<pre><code> \n\n    \n    \n    \n    \n    \n    \n    \n\n\n\n\n\n        \n\n    \n    \n\n    \n        \n    \n\n\n\n    \n        \n            \n                \n                \n                \n            \n        \n    \n    \n        \n    \n    \n        \n        \n                \n                \n                \n            \n\n            \n                \n                \n                \n            \n            \n                \n                \n                \n            \n\n        \n    \n    \n        \n        \n                \n                \n                \n            \n\n            \n                \n                \n                \n            \n            \n                \n                \n                \n            \n\n        \n    \n    \n        \n    \n    \n        \n    \n    \n        \n    \n\n<\/code><\/pre>\n<p>I use above code in web-apps\/report folder use.jasper.<\/p>\n<pre><code>Error 500: Executing action [index] of controller [org.codehaus.groovy.grails.plugins.jasper.JasperController] in plugin [jasper] caused exception: null\nServlet: grails\nURI: \/inventoryManagment\/grails\/jasper.dispatch\nException Message: invalid stream header: 3C3F786D \nCaused by: invalid stream header: 3C3F786D \nClass: Unknown \nAt Line: [-1] \n<\/code><\/pre>\n<p>But i am getting error that is invalid stream header: 3C3F786D. So please guide me to solve this problem.<\/p>\n<ol>\n<li>\n<p>It looks like you are refering to the subreport using the .jrxml file. But, you should be using the compiled version .jasper.<\/p>\n<p>I hope that works!<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-02-08 16:01:53. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I use jasper plugin to get report in pdf .I am trying to get report using this example(http:\/\/grails.org\/plugin\/jasper).To get particular id information in pdf format used below codes. I used above code in show.gsp page to get particular id report. I use above code in web-apps\/report folder use.jasper. Error 500: Executing action [index] of controller [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2762"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2762\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}