Plz help me out of this problem

Hey guys i dont know where to post this topic questions,
I am using JasperReports and IReport to desgin jrxml. I am having a problem while executing the java program which generates the html file to the local folder as per the design. It was worked well yester day. But When working today with some other data it shows exception. The code is
import net.sf.jasperreports.engine.*;
import net.sf.jasperreports.engine.data.*;
import net.sf.jasperreports.engine.fill.*;
import net.sf.jasperreports.engine.export.*;
import net.sf.jasperreports.engine.util.*;
import net.sf.jasperreports.view.*;
import java.sql.*;
import java.util.*;
import java.io.*;
import java.net.*;
public class CountryTest{
public static void main(String arg[]){
String filename = "f:/iReport-0.4.1/iReport-0.4.1/countrynew.jasper";
String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
String connectString = "jdbc:odbc:abcddf";
String user = "sfddf";
String password = "sfsdfdddd";
HashMap param = new HashMap();
try{
     Class.forName(driver);
     Connection conn = DriverManager.getConnection(connectString, user, password);
JasperExportManager.exportReportToHtmlFile(JasperFillManager.fillReportToFile(filename,param,conn));
File reportFile = new File("f:/iReport-0.4.1/iReport-0.4.1/Country.jasper");
System.out.println(reportFile);
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());
System.out.println(jasperReport);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,param,conn);
System.out.println(jasperPrint);
catch (Exception e)
     e.printStackTrace();
     //System.exit(1);
The same code is worked fine yesterday(23/02/2005). But the same is shows some exception when i execute today (i just change the jasper file product.jasper instead of Country.jasper). The exception is
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadCalculator(JRDefaultCompiler.java:192)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:370)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:126)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:118)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:111)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:291)
at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:182)
at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:138)
at JustTest.main(JustTest.java:27)
reply me immedtly
san

i'm already over this issue, now i'm face to face with the next:
java.lang.NoSuchMethodException: Unknown property 'appat'
at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1175)
at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801)
at net.sf.jasperreports.engine.data.JRBeanArrayDataSource.getFieldValue(JRBeanArrayDataSource.java:148)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691)
at net.sf.jasperreports.engine.fill.JRFillSubreport.run(JRFillSubreport.java:427)
at java.lang.Thread.run(Thread.java:534)
NESTED BY :
net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : appat
at net.sf.jasperreports.engine.data.JRBeanArrayDataSource.getFieldValue(JRBeanArrayDataSource.java:160)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691)
at net.sf.jasperreports.engine.fill.JRFillSubreport.run(JRFillSubreport.java:427)
at java.lang.Thread.run(Thread.java:534)
any idea to solve it???
sorry about my english, i know isn't good enought

Similar Messages

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Hi,I have 4s,I have a problem since 2days that the ring tone,lock sound,password sound,volume button and slide,calls flash,all sometimes working and sometimes not,plz help me to solve this problem.thanks

    HI
    i have iPhone 4s with iOS 8.1.3 , since 2 days I'm facing a problem that the ring tone,lock button sound,password sound,volume buttons,slide volume and incoming call flash,
    all these not working properly , sometimes it will work and sometimes it will not, I tried to restart the phone many times but I didn't fix the problem
    plz help me to solve this problem

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • Plz help me in solving this problem

    Hi all
    i am facing a problem with calculation of billing amount,late/delayed payment surcharge(DPS),and arrear.the problem is there is no any particular field in DFKKOP table where the value against these fields are stored and rest 2 fields value DPS AND ARREAR comes from FPL9 SAP IS-U standard report ,it comes calculated from there and directly print on bill from script.can any body tell me is there any way to find out the value of DPS/ARREAR through FPL9 or by bill.all the fields are required in report.the billed amount is in DFKKOP-BETRW.
    plz show me some way to solve the issue
    thank.
    gaurav

    HI MANOHAR
    thanks for your help,but plz elaborate on
    1. how to use ST05 on fpl9 is there any procedure so plz tell me how to analyse the performance,and how to identify the problem area
    2.FPL9 is having entries against many heads(clearing reasons) around 35 through which the ARREAR is calculated how to identify which head is useful for ARREAR calculation.
    3.DFKKOP table having HVORG/TVORG/AUGRD fields these fields having entries against amount field but no field is maintained for arrear it's calculated value through HVORG/TVORG/AUGRD combination.,can u help me in identifying which combination is used for arrear calculation.

  • Plz help me out in this

    Does any one know the standard SAP script or form name to generate FI invoice??
    Please let me know.
    Awaiting for ur response.

    Correct.
    This has never been a feature of iphone/ipod/ipad

  • HT5012 I cannot download the apps as it showing you cannot use the Singapore store u must switch to Indian store. So please help me out in that problem

    I cannot download the apps. It's showing that u cannot use the Singapore software, you must switch to Indian store please help me out on this problem.

    Settings > iTunes & App Stores > tap your Apple ID: > View Apple ID > Country/Region
    If you find that it is set to the correct region, log out of your iTunes Store account, restart your iPhone, and sign into your account again.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out.

    hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out. i do have the internet on but it keeps giving me the same problems .. thanks..

    Hi Young Prada,
    If you are having issues connecting to the iTunes Store, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    - Brenden

  • In my mac i dont create icloud keychain but it is asking password please help me to get out of this problem

    In my mac book pro i don't create icloud keychain. But it is asking password.Please help me to get out of this problem.In OS X Mavericks

    Hi, nportillo,
    The next time you attempt to reach Skype Customer Service, try again using a different web browser and choosing a different path through the various drop-down menu options presented.  Do not choose the obvious - you have already established that path is not working.  Also, look to approve a pop-up dialogue box which would connect you to start an instant message chat with a customer service agent. If you have pop-ups blocked in your browser settings, this will also impede reaching an agent.
    Skype is aware of problems reaching their customer service unit via the website, however people are getting through.  I have flagged your report for follow-up by those to whom I report.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    Sorry i mistakenly made this question. It was alright. No Problem At ALL

  • HT3743 plz help me out plzzzzzzzzzzzzzzzzzz (( i have this eror 1015

         plz help me out plzzzzzzzzzzzzzzzzzz (( i have this eror 1015

    That error is the result of jailbreaking/hacking the phone. Jailbreaking voids the warranty and forfeits all rights to support from Apple and on these forums. Jailbreaking and Jailbroken devices can not be discussed here per the terms of service.
    You're on your own.

  • TS3694 its showing error 2003 when i restore my iphone 3g.pls help me to get out of this problem

    Its showing error 2003 when i m restoring my iphone3g.pls help me to get out of this problem.as soon as possible

    Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on)
    If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software. If the errors persist on another computer and known-good USB cable, the device may need service.
    The "device may need service" means a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.

  • My MACBOOK PRO NEVER LETS ME OPEN AUTOTRADER AND WHEN I TRY TO OPEN IT GETS FROZEN AND IT FREEZES OTHER WINDOWS AS WELL. Please help me to sort this problem out asap. Thanks

    MY MACBOOK PRO NEVER LETS ME OPEN AUTOTRADER AND WHEN I TRY TO OPEN IT GETS FROZEN AND IT FREEZES OTHER WINDOWS AS WELL. Please help me to sort this problem out asap. Thanks

    To prevent this being accidentally activated in the future go to SystemPreferences>Keyboard>Keyboard Shortcuts>Universal Access and uncheck all the boxes.

  • Itunes 64 bit wont install on my Dell XPS due to Windows Installer problems. Can somebody help me out with this?

    I have Windows 7 home premium, running on a Dell XPS 15, with 64 bit OS, and when i went to install itunes for my new phone, it would almost install, but then say that it couldn't install due to issues with windows Installer. has anybody had this happen to them? can anybody help me out with this?

    Many thanks.
    "There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor".
    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • PLZ help me out here...URGENT....

    Here, actually i need to request the program to ask the user howmany lines does he wants by asking him to input the number of lines and at the same time write the whole text line that he requested to anew file. PLZ help me out here. So, the program shud display the text files that it read line by line after the user enters the number of lines he wants....DO i need to manipulate the loop or wat???..plz help me out here guys...thanks in advance....
    here is the code...
    import java.io.*;
    class FileReadTest3 {
    public static void main (String[] args) {
         FileReadTest3 f = new FileReadTest3();
    f.readMyFile();
    void readMyFile() {
    DataInputStream dis = null;
    String record = null;
    int recCount = 0;
    int EnterNum = 0;
    System.out.println("Please enter the number of lines: "+EnterNum);
    try {
    File f = new File("aliran.txt");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis);
    dis = new DataInputStream(bis);
         for(int recCount = 0; recCount <= 10, recCount++)
    recCount++;
    System.out.println(recCount + ": " + record);
    } catch (IOException e) {
    // catch io errors from FileInputStream or readLine()
    System.out.println("There was a problem for finding the file!" + e.getMessage());
    } finally {
    // if the file opened okay, make sure we close it
    if (dis != null) {
         try {
    dis.close();
         } catch (IOException ioe) {
    }

    1.) Actually perform some user input of any kind. Right now, the user has no choice.
    2.) Read from your file, for that's why you opened it.
    3.) Don't use a DataInputStream unless you know what you're doing. Use a BufferedReader instead if it's simply text.
    4.) Insert a condition check for the number of lines -- yes, you need to manipulate the loop or what.
    P.S.: Multiple posting, no use of code tag, the word "URGENT" in subject, calling people "man" ... this is like wearing a shirt that says "shoot me!".

  • Is there anyone who can help me out in this!!!!

    Trying this for the fourth time........
    Hi gurus,
    I have posted this thread earlier also but didnt get any response, so I was just wondering did I ask something unrealistic?
    Hi gurus,
    I am working on an interface where I will be getting the production order number and then based on this order number I need to update some fields in transaction code ... CO11N...such as Quantity produced, reason of variance, batch number and posting date. So what I believe is first I need to pass the order number to the BAPI_PRODORD_GET_DETAIL to get the details of the production order and then update the production order by using the BAPI_PRODORDCONF_CREATE_TT, but my problem is I am new to ABAP I got to know what should be the process but I am not being able to implement it. So basically the program needs to pick the data from the internal table and copy it in SAP. My internal table looks liks
    data : BEGIN OF it_input occurs 0,
    order_no like afko-aufnr, "Order Number
    opr_no like afru-vornr,
    quant like afru-lmnga,
    varian like afru-grund,
    budat(10) type c,
    matnr like caufvd-matnr, "Materials
    erfmg like cowb_comp-/cwm/erfmg,
    charg like mcha-charg,
    END OF it_input.
    So can you please help me out in this..I mean step by step or if there is any other suitable way.
    Thanks,
    Rajeev .......

    Rajeev,
    Based on your post, just may not be clear what you are asking for then.
    I think your general approach that you have described is correct.  Without knowing the source of your data for the internal table, it is hard to completely provide an answer but a typical interface might look something like this:
    1.  Selection screen with parameters for the file name (If a file is the source of your data)
    2.  Load data from the file into your internal table.
    3.  Loop at your data
    4.  Call the Get Detail BAPI
    5.  Using the data returned from the get detail BAPI and your internal table create the importing, exporting, tables parameter for your Create BAPI.
    This step might need some more clarification.  I am not sure if you are using the right BAPI for what you are trying to accomplish.  First this appears to be a Create function and not a change, second, it appears that this is for Time Ticket information against a production order.  I haven't used any BAPIs for production orders before so I can't give you a definite answer.  If you cannot find an appropriate BAPI, you might also try creating a BDC/Call transaction update.
    6.  Review the error messages/return code from your production order change
    7.  Output some type of report to the user regarding successful updates, errors, etc.
    I hope this helps provide some guidance.
    Best Regards,
    Chris H.

Maybe you are looking for

  • How to delete a folder in Documents To Go.

    I've created a folder in Documents To called Song Lyrics. In that folder I have several 100 songs with lyrics. Now I want to delete the folder but there is no delete button. I can delete each song individually but that doesn't delete the folder itsel

  • Is it possible to change the number of rows while printing a contact sheet in Iphoto? Please help

    Hi guys, I am struggling to find out how to change the number of rows on a contact sheet on Iphoto , i have selected my photos and i want it to print 6 photos on each page however I am not able to do it.      Please help me out, im a Art student and

  • How do I transfer contact from outlook on a pc to new I-phone s without i-Cloud

    I just bought a personal i-phone 5s and want to transfer my personal contacts in Outlook on a PC to my personal phone without using i-cloud. Is there a way to do this?

  • Spry Accordion Widget hiccups and more

    Hi, I am using the Spry Accordion Widget on my website and have the following problems: 1. Is there a way for the accordion movement not to affect the images that are placed below it. For example, I have the accordion placed on top of 3 different log

  • WS adapter and SAML

    Hi All, Has anyone used the WS adapter in the following synchronous scenario, where the WS adapter was the Sender adapter:  non-SAP system -> PI 7.1 -> ECC 6.0. We are keen on using SAML to authenticate the non-SAP system to PI 7.1 but I am getting c