"The document has no pages" message in JasperReport

Hello,
I'm new to using JasperReport and have been trying to display a very simple report, which has been generated and compiled in iReport. Although there are no errors reported the JRViewer is empty and displays the dialog stating that there are no pages.
Hope someone can offer some insight into what is going on. I don't know if its an issue with my java code, or the report (.jasper) file?
Cheers,
Dave.
try {                              
                         JasperReport report = (JasperReport) JRLoader.loadObject("templates\\NW-OrderAck.jasper");                         
                         HashMap <String, String> map = new HashMap<String, String> ();
                         map.put("name", "Mr Cake");                         
                         JasperPrint print = JRFiller.fillReport(report,map);                         
                         JRViewer viewer = new JRViewer(print);
                         tabs.add("Report", new JScrollPane(viewer));
                    } catch (JRException e) {
                         // TODO Auto-generated catch block
                         e.printStackTrace();
                    }

Too bad that this is not a JasperReports support forum.

Similar Messages

  • When I try to open any kind of links, the page first shows me "the document has moved" and then goes on to some advertisement page.

    When I follow any kind of links or try to open something in another window or new tab, the browser first shows the white page with text "the document has moved", and then moves to advertisement page of some sort. Usually in the small box where the page description is it says "Jump". I don't know how to disable it, it is really irritating.

    Sounds like Malware.
    Install, update, and run these programs in this order. '''''(Not all programs detect the same Malware.)''''' They are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • My InDesign document has two page 1s and I can't get the page numbers to work.  Help!

    My InDesign document has two page 1s and I can't get the page numbers to work.  Help!  How do I fix this?

    Do you mean the first section is starting at page one?
    And the second one now is starting at page two?
    So I would ask why you would need sections at all?
    Did you set the controls for Automatic Page Numbering?
    If you select the particular page where section two is starting in the Pages Panel, you could untick the Start Section option in the numbering and section dialog. That would remove the section. You cannot do that with the very first section, but you should set the first section to Automatic Page Numbering if you ever want to use your document with an inDesign book file.
    Uwe

  • Getting "The Document has not been opened" message on one environment

    Hey, before I begin, here is some basic information that the sticky asked me to provide...
    Version of Crystal Reports or BOE used in your development project = Business Objects Enterprise XI 3.1. Specifically, the CrystalReportViewer that we are using is in CrystalDecisions.Web 12.0.1100.0
    The development language and the version of the development language = C# .NET 3.5 using ASP .NET
    The database you are connecting to = Microsoft SQL 2008 Database
    The database connection type (OLE DB, ODBC, etc.). = OLE DB
    Does the application work on your development computer? Yes, it works on all our environments (DEV, QA, Acceptance (a further level of QA) except for the newest pre-prod install that was done.
    Okay, so we have a web application that involves running of crystal reports, which works great in most environments. Essentially a user chooses a report to run, configures their criteria and clicks generate then a non-modal popup window is opened with the CrystalReportViewer in it that actually displays the report to the user. We've recently deployed this app to our pre-production environment for final user-testing before it goes to full production.
    However, what's happening is when the crystalreportviewer pop up appears, it just merely displays in simple text "The document has not been opened". If I hit refresh on the popup then the report actually does generate, but only after clicking refresh...which is a behavor not experienced anywhere else.
    Any help on this would be greatly appreciated (the only thing I found through googling is that that error can be generated if the server does not have the Microsoft C++ Redistributable package installed...our server has this, identically to all our other working servers)

    Hi Scott,
    Use ProcessMonitor from Microsoft and look in the logs to see if there are any Access Denied errors. Also look in the IIS logs and Event viewer to see if anything there is being logged.
    Anti-virus software logs is another place to look....
    Pop up blocker in the Browser maybe or possibly adding the new server name to the trusted list.... Domain permissions possibly...
    If you browse the App from the Server does that work?
    Don

  • I get the "firefox has stopped working" message after closing browser

    Hello.
    My problem is that when I close the FireFox browser I get the "FireFox has stopped working" message. It's pretty annoying. I've read some other posts here that described a similar problem and have tried some of the suggestions in them including:
    A clean install, a browser reset, running in safe mode, unchecking hardware acceleration, disabling extentions and plugins one at a time, uninstalling my antivirus (avast), rolling back to version 23.01 and checking run in compatibility mode that someone claimed helped them. None of this was effective.
    It seems like after a computer restart the browser will be ok for 2-4 closings and then it will start with the message on every closing. Also, after I uninstalled avast it was good for 6 closings. Rolling back also gave me about 6 message free closings. But then the messages start and doesn't stop.
    Is there anything else I can try? Thanks in advance for any suggestions.

    One thing is for sure, and that is if the only page i visit is the Google homepage (not logged in) or this site (mozilla forum), the problem does not occur, ever. I can't make it happen.
    If i visit yahoo.com (not logged in) (or ighome.com, logged in), as examples, it happens every time.

  • I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content

    I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content turned into symbols.  What is going wrong?

    You select the printer properties and set the appropriate page size (I think there is a place to set it in PDF Maker too, but not sure). In the printer, this is equivalent to putting the proper paper in the printer.

  • This document enabled extended features in Adobe Reader. The document has been changed...

    I am trying to distribute an interactive order form to approx. 50 recipients with Acrobat X Standard which I purchased recently.  Computer is Windows 7.
    I can go through the form editing and distribution as usual, but when I (or a recipient) opens up the distributed form with Adobe Reader, they get the message: “This document enabled extended features in Adobe Reader. The document has been changed and use of extended features is no longer available. Please contact the author for the original version of this document.”
    Oddly enough, sometimes is does work, but 90% of the time it doesn’t.
    And I have another, older XP computer with Acrobat X installed, and it works fine 100% of the time – weird....can anyone help?

    Hi Ken
    We have so many people who have not updated they are trying on 9. I might just have to tell them we can’t support under reader 10.
    Thanks
    Tania
    Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity. -General George S. Patton
    Tania Lindenmayer \ Manager Organisational Shared Services \ Jabiru Community Youth & Children’s Services Assoc (Inc) \ Ph: (07) 3269 0044  Fax: (07) 3869 0675 \ [email protected]<mailto:[email protected]> \

  • How do I copy a document from pages into email (not pdf) and have color and format the same as the document created in pages?

    How do I copy an entire document from pages into email (not pdf) and have color and format the same as the document created in pages?

    Pages ’09 v4.3 and Pages v5.2.2 are entirely different document architectures. Consequently, copying and pasting a table from Pages ’09 circumvents the customary translation process  that would occur if you opened that Pages ’09 document in Pages v5.
    Make a backup copy of the Pages ’09 document that has the table in it, and then open this document in Pages v5.2.2. The table is translated into Pages v5 document format and displayed correctly. You can even select this Pages v5.2.2 table, and then copy/paste it into another Pages v5.2.2 document with accurate results.

  • Error " the document has moved "

    on updated mozilla firefox 25 i go to my yahoo home page, every other thing i click on sending me to new page, ends up with error at top left, blank white page, says: the document has moved.
    then i am forced to click on the link to go to page, so its an extra step i did not have to do until i updated, seems something is wrong with mozilla, does not happen in explorer.
    i have windows 7 home premium on lenovo laptop

    You're welcome.
    Thanks for reporting which extension caused it.

  • Accessing old versions if the document has been moved off of iCloud?

    Can older versions of a Pages document be accessed if the document has been moved off of iCloud?

    Well you can try this, but I'm not sure it's going to work if this is an entirely new ID.
    Go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How can I prevent "the connection has timed out" message.

    Sorry, this is a duplicate. Can't determine how to delete. Mike.
    Frequently takes a full minute to get to first page. Happens on IE as well as FF, also on my email client. After an hour or so, Thunderbird can no longer reach my email,with an error. To recover I have to reboot.
    Occasionally "try again" button works on the "connection has timed out" message
    Some tools which access the web take a long time to “update”,
    is hard to recreate have not proven or disproven the firewall is a problem. Don't think WinXP firewall is on.
    Tried refresh of Adobe Flash Player per suggestion in Firefox Support forum, no help.

    Hello there, FloridaAce.
    The following Knowledge Base article offers up some practical first steps for troubleshooting Wi-Fi connectivity issues with an iOS device:
    iOS: Troubleshooting Wi-Fi networks and connections
    If going through the initial recommended steps doesn't yield a resolution to your issue, you may want to run through this section as well:
    Wi-Fi disconnects or signal strength is less than expected
    Move closer to the Wi-Fi router (access point).
    Check for sources of potential interference.
    Remove any case, stand, or other accessories from your iOS device and see if signal strength improves.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad?

    Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad? I'm trying to set up a document with quick check boxes to tick and a date to choose rather than type? I know it possible to do it on pages on a mac but i haven't been able to find anything on the ipad to create such a thing, and I don't know if it will work on the ipad if I create it on the mac

    RGA,
    Unfortunately, I do not believe that it is possible for a DAQ board to generate an AI Start Trigger from an analog trigger, but not be triggered itself until it receives a digital trigger.
    Spencer S.

  • How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text?

    How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text? Please help! I'm technologically challenged.

    Most forms (99% or more) are created for simple text input, where you cannot change anything.
    The creator of the form could allow Rich Text input (which allows you to change font, text size, color, etc.), but frankly I have never seen such a form, and I wouldn't know how they look.  But I'm sure they would show some kind of controls to alter the text appearance.

  • TS1277 copied 11 out of 12 discs to itunes, but the 12 has an error message ,i do not have write access for itunes media folder or a folder within it

    i copied 11 out of 12 discs to itunes, but the 12th has an error message
    i do not have write access for itunes media folder or a folder within it

    Quit iTunes.
    Go to My Music folder.
    Select the iTunes folder, right click > Properties.
    Click the Security tab and make sure you have full Read/Write privileges.

  • Determine the number of times the document has been printed

    Hi all,
    I have a form here ( SAPSCRIPT), there is certain field to show how many times the document
    has been printed, i use NAST-ANZAL, but it seems to display no correct value.
    Am I using the riht field anyway? Or missing something?
    Thanks ,,
    AUD

    Hi,
    Check for the field NAST-VSTAT.
    IF NAST-VSTAT = '1' meaning that document  is printed.
    Refer below example from NAST entries.  4000010000 document is printed 4 times.
    OBJKY                          KSCHL SPRAS PARNR      PARVW USNAM        VSTAT
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                              1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    Rgds,
    Arun

Maybe you are looking for

  • I have a program that runs in Java Console. I need to run multiple copies of the program. I can't do this with tabs. Can I do it with separate windows/processes

    The program in question was implemented as a Java applet that runs in a browser. The developer says it must run under the Java Console and that I cannot run more than one copy of it in a given browser technology (e.g., Firefox); but I can run multipl

  • Another iPhoto 6 bug

    Amusing but yet another iPhoto 6 bug (6.0.2). Boy, does this program need some work. I created a new library, set alias on so it loads from my iView MediaPro layout, and am busy importing. In the information tab on the bottom left, it tells me its bu

  • Can't see what's on my iPhone

    I'm having multiple issues today with iTunes and my phone.  Let's focus on one. Yesterday, I was able to connect my phone to iTunes.  I then was able to select my phone and the choose "what's on my phone" and was able to see everything currently on m

  • Downloading new services

    The first Mac I bought for my regular use came with Leopard.  I've upgraded along the way and now have Mountain Lion. I noticed the menu entry called Services, but never took the time to investigate them. Then I learned about "The Automator" (sorry,

  • Publish subscribe model with plsql

    Hi, I did not find any sample that shows how to use the publish subscribe model with plsql. Enqueueing is possible and know how to do it, but how can I subscribe to a topic with plsql. All samples I found are for Java JMS. Thanks Günther