Jump to content
We've recently updated our Privacy Statement, available here ×

lukmanars

Members
  • Posts

    11
  • Joined

  • Last visited

lukmanars's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Alhamdulillah,, thanks God.. thanks before for 3 people who care and view to my error... :) thanks to my working partner,, finally i can solve this ******* error,, after one month++ doing this thing,, the error log of java often make me confuse because it's often no correlation between error log say and it's real error,, the solution of my error is very very simple >________< it's error only because the Jasper Report software that i use to modify report isn't same version with library that i use in ADF after i change the librarry to same version, 4.1.1. all my report run well :') :') i hope the error log shoul not like : java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at net.sf.jasperreports.engine.fill.JRFillTextField.getFormat(JRFillTextField.java:706) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:394) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:368) blablablablablbabalblablablalbalba....... but change it to,, please use the same version library with your jasper report version. thankz before
  2. Help,, may someone explain to me why it's happen?? i stack in here for one month++ the report can downloaded and display if i didn't using subreport,, but if i use subreport, it's 0 byte if i donload the report and ind ADF Log there is error statement like this : java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at net.sf.jasperreports.engine.fill.JRFillTextField.getFormat(JRFillTextField.java:706) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:394) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:368) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2016) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:757) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:269) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:127) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:938) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:608) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205) at java.lang.Thread.run(Thread.java:619) help >___<
  3. i ever had this trouble, when i develop program using ADF in linux, in linux, all report that i build can be downloaded as PDF using method that i make in my JSPX program, after i change my OS, it, can't be downloaded anymore, the error log says : "Can not find subreport in /home/reports" try to check your parameter, if you use parameter subreport (not static), than should be a parameter named "SUBREPORT_DIR" in your report project, click parameter "SUBREPORT_DIR", than on the properties, change the Default Value Expression, Example, if you use windows, the default value expression should "D:\\project\\reports\\" change it to where you place your report in linux, ex : "//home//project//reports//" i hope it can help ypu solve your problem, :) regards Lukman
  4. i have already donwloaded your attachment file, i think the problem is your subreport doesn't have parameter,, try to give parameter. so your subreport will be linked each other, to give parameter, click your subreport, in the properties, search properties parameter, fill that using primary key that can pass to your sub report,, hope it can help you,, :) thank you,, Lukman
  5. i think your data isn't duplicate, it look like duplicate, but in column transport there's data that make your data different from before Driver Destination Transport carl new york motorcycle carl new york car i think the problem is in your queries, regards Lukman
  6. click the text field that show the value 47975054.35 than in the properties - text field properties - pattern, click button with text ... in ringht side of pattern than choose category number, check the check box use 1000 separator hope this can help you, ^_^ Regards Lukman
  7. i want to make a report that have one or more page/report so that, i'm using group band, and its grouped with field "nosys" that i created in database the report must show like this: Example : i create detail report using customer_id = 111 NO | NAME | PRICE -------------------------- 1 egg 1500 2 rice 5000 3 bowl 3000 ------------------------- page 1 of 2 NO | NAME | PRICE -------------------------- 1 meat 3500 2 apple 200 3 orange 150 ----------------------- Grand Total 13350 page 2 of 2 the problem is i want make the column "NO" to still be an increment value from column "NO" in the page one and i want the detail in page 2 show like this : NO | NAME | PRICE -------------------------- 4 meat 3500 5 apple 200 6 orange 150 ------------------------ Grand Total 13350 page 2 of 2 now i use variable $V(column_count) Evaluation Time = now java.lang.Number Print When Detail OverFlow = true please help me to solve this problem,, :( regards, Lukman Post Edited by lukmanars at 08/09/2011 08:13
  8. whoa.. thank you very much Matt. your answer is very helpful /tools/fckeditor/editor/images/smiley/msn/thumbs_up.gif the first i use code : new SimpleDateFormat("EEEE, dd MMMMM yyyy",new java.util.Locale("id")).format(F${TGL_IN}) with Expression Class is "java.util.Date" i got error : Cannot cast object 'Kamis, 16 Juni 2011' with class 'java.lang.String' to class 'java.util.Date' after that i change the expression class to "java.lang.String" Because i think that code like to_char() in SQL, that convert Date, into String and change the language.. and than it can show, the result is "Kamis, 16 Juni 2011" once again, i want to say, thank you very much Matt.. ^_^ Regards, Lukman
  9. i'm using this code, but it didn't work,, i want to change Word "Wednesday" to "Rabu" Code:DateFormatUtils.format($F{TGL_IN},"EEEEE").equals("Wednesday")? "Rabu":"Bukan Rabu"
  10. i have a problem like this, i make a text Field : $F(date_in) Expression Class = java.util.date Pattern = EEEE dd MMMMM yyyy if i run my report, it should be like : Tuesday, 02 augustus 2011 the problem is my boss want to display date in Indonesian language, it must be like : Selasa, 02 Agustus 2011 Sunday --> Minggu Monday --> Senin Tuesday --> Selasa Wednesday --> Rabu Thursday --> kamis Friday --> Jumat saturday --> Sabtu the problem is i dont know how to convert that default day into indonesia language,, anyone know how to resolve this problem?? :( Thanks,, Lukman
  11. hi... it's simple solution, if before get the error you place the subreport in the header band, now just place it over to details band, so that your main report will be run well ^__^ Post Edited by lukmanars at 07/29/2011 09:36
×
×
  • Create New...