Problem: Blättern im Acrobat Viewer für Java

Hallo,
ich benutze den Pdf-Viewer mit der Java-Version 1.3.1 . Mein Problem ist, dass ich beim Seitenwechsel über eigene JButton's [fac.viewer.execMenuItem(ViewerCommand.NextPage_K)] immer eine ClassCastException erhalte, obwohl das Blättern über die mitgelieferte Menüleiste funktioniert.
java.lang.ClassCastException: com.adobe.acrobat.BeanClientTransactionExecutionContext
at com.adobe.acrobat.gui.PVNavigationVerb.invoke(PVNavigation.java:257)
at com.adobe.acrobat.gui.CommandRegistry.executeCommand(CommandRegistry.java:77)
at com.adobe.acrobat.Viewer.execMenuItem(Viewer.java:754)
at fsdb.AdobePanel.cmdNext_actionPerformed(AdobePanel.java:322)
at fsdb.AdobePanel$2.actionPerformed(AdobePanel.java:439)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:3715)
Würde mich freuen wenn Ihr mir weiterhelfen könnt.
Danke Björn

Hallo Björn,
habe auch das Anliegen PDF-Dateien im Applet oder JavaApp anzuzeigen.
Vielleicht gibst Du mir ein paar Tips. Kann Dir bei Deinem Problem leider noch nicht helfen.
-Woher hast Du die Klassen (JAR-File) von Adobe und wie aktuell sind diese?
-Gibt es vielleicht direkt Beans für Java?
-Wie sieht die Performance aus beim Aufruf von PDF-Files.
Danke Frank

Similar Messages

  • Problem exposing Accessor Methods on View object (ViewRowImpl.java)

    JDeveloper 9.03
    I have a view link, ViewLinkSourceDest, that links two view objects Source and Destination. Each view object has its respective ViewRowImpl.java file created.
    I have selected "Generate Accessor in View Object" in View link Properties of the View Link Wizard for both source and destination view objects.
    The correct Accessor methods are available in both the source and destination ViewRowImpl files.
    When I access the Source accessor method from the DestinationViewRowImpl object I receive the following error:
              ORA-00904: invalid column name
              It is also is displaying the Source view object's SQL statement with the (:1 = Destination.ID) where clause.
    The error is occurring when trying to retrieve the view object using this type of method call:
              Row r = this.getSourceView();
    After further investigation I have found an example set of view objects in which the error does not occur. The difference was in the ViewLink.xml file.
    The ViewLink.xml file that accesses the Accessor with the error begins like this:
              <ViewLink     
                   Name="ViewLink"
                   Where=":1 = Destination._ID" >
    The ViewLink.xml file that accesses the Accessor with no error begins like this:
              <ViewLink     
                   Name="ViewLink"
                   EntityAssociation ="SourceDestAssociation" >
    suggesting that the use of an association would resolve this problem.
    I was not able to create a View link based on an association that would generate a ViewLink.xml file that ressemble the successful file above. I could however manually add the correct entry to the xml file that caused the error and sucessfully access the Accessor method in the source object. This is not the final answer because the IDE will regenerate the ViewLink.xml file to its original state even if created with the appropriate Association.
    Is this a bug?
    Is the way the ViewLink.xml file created different in JDev 9.03 than in 9.02
    Is there something I am missing that is causing the ViewLink.xml file to generate incorrectly?
    Any suggestions would be helpful.
    Rob

    Steps to recreate:
    1 Create SomeSuperEntityImpl.java extended by SourceEntityImpl.java and DestinationEntityImpl.java entity objects.
    2 Create SourceView and DestinationView objects
    3 Create SourceDestinationAssociation linking the entity object Source PK to Destination FK
    4 Create SourceDestinationView linking Source and Destination view using the SourceDestinationAssociation
    View the SourceDestinationView.xml file and you will see that the viewlink has Where=":1 = source.src_id"
    This is the scenario that causes the initial problem with the Accessor Methods.
    If the SomeSuperEntityImpl.java is removed as the super class and the same procedure is followed you will get the desired 'EntityAssociation = "package.SourceDestinationAssociation"' in the SourceDestinationView.xml file .
    Hope this is a little clearer.
    Rob

  • Automation error - No document is currently open in the Acrobat Viewer

    Hello
    We have a Visual Basic application that we use for automating tasks in Acrobat on a batch of files. This application calls a folder level javascript to perform most of the tasks and is invoked via an application menu item (to get around some of the security restrictions). This application runs fine in Acrobat 7. Recently we upgraded to Acrobat 9 and the application doesn’t work any more. The error that is being generated is
            No document is currently open in the Acrobat Viewer
    I have isolated the problem down to the piece of code that accesses the fields object of the AFormAut.App object. We use the fields object for executing the JavaScript methods. The FormsAutomation sample application that comes with version 9 of the SDK generates the same exception. I have seen references to this problem on various forums but there can’t find a definitive answer.
    avDoc = CreateObject("AcroExch.AVDoc")
    Dim file As String = System.Windows.Forms.Application.StartupPath & "\..\..\..\..\TestFiles\FormsAutomation.pdf"
    bOK = avDoc.Open(file, "Forms Automation Demo")
    'If everything was OK opening the PDF, we now instantiate the Forms
    'Automation object.
    If (bOK) Then
                formApp = CreateObject("AFormAut.App")
                acroForm = formApp.Fields
    Else
                System.Runtime.InteropServices.Marshal.ReleaseComObject(avDoc)
                avDoc = Nothing
                MsgBox("Failed to open PDF Document. Aborting...")
                End
    End If
    To get around the problem I have to display the document that is currently being processed. This doesn’t seem correct as we don’t an acrobat window open when our application is processing a batch of files. Has this method of automation been removed from Acrobat 9 deliberately or is it a bug?
    BTW I am not sure if this is the corrent forum to post this question. If there is a more appropriate forum for this query can someone point me in the right direction.
    Any help would be greatly appreciated.
    Thanks
    Paul

    Yes. I have applied all patches up to 9.3

  • Printing Problems with PDF - Adobe Acrobat

    Printer - HP Deskjet 3070A
    Laptop - Asus Zenbook running Windows 7 Home Premium
    Issue: Printing problems with PDF (Adobe Acrobat Reader)
    Dear All,
    Please help!
    My printer was working absolutely perfectly until my brother in law recently needed to borrow my printer. He plugged in his laptop running Windows 8 (awful thing that is). Since he did this to print his own PDF, I cannot print mine.
    Although all the text will appear on the page perfectly both in the document view and on actual printing, it appears that some of the transparent formatting stuff on a PDF - such as boxes you have to fill in and transparent areas (such as you find on glorious tax forms) are omitted completely. In fact, in their place I was getting a single black dot. Now, after uninstalling and re-installing updates for the printer, windows 7, adobe acrobat reader, etc.etc. I get squat. Just all the text laid out but none of the shading or boxes.
    I have tried fiddling with the printer settings; the  print as 'photo' option, dpi settings, greyscale - as much as I can think of and I am thoroughly stumped.
    In a desperate attempt, I even installed the Universal Printer Drivers - thinking it might have been that. No. All I got was a page of gobbledygook. Consequently, I uninstalled and reinstalled the normal drivers again.
    If there are any wonderful people out there with any fabulous ideas about how I can get my shading and boxes back; I'd  very much appreciate it. Sadly I have a tax return to fill out (which is already fabulously late) and need my printer to work!
    Much appreciation in advance x

    Hey there @Reverie!
    Thanks for posting on the HP Forums!
    I can see that the printer is no longer printing in the correct format after it was plugged into the Windows 8 computer!  You mentioned you have run the updates and uninstalled/re-installed the printer software.  Have you uninstalled and re-installed the Adobe software? Are you getting the same issue from other programs as well? Are you getting the same issues if you are logged in as a different user on the computer? 
    I have located the HP Update Software Utility that may be able to help.  You can download an run the utility.  It may be able to locate any other updates for the printer.
    I would also recommend running a disk cleanup on the computer to clear any temporary files and junk files that may be causing some performance or software issues. If you do not know how to run a disk cleanup on the computer please follow this document regarding Delete files using Disk Cleanup.  It is recommended to restart the computer after a disk cleanup. After the restart try the print job again!
    Let me know if that helped and thanks again for posting on the HP Forums!
    Cbert
    I work on behalf of HP.
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" at the bottom of this post to say “Thanks” for helping!

  • Using Acrobat Viewer as Bean

    Hi everybody,
    does anybody used Acrobat Viewer as bean in a Java app? There are some problems, I couldn't solve. It would be great if any body could give me some hints.
    I would like to open a document (works fine) and jump on a specific side (page number) of pdf document or jumping to a specific text phrase.
    It would be nice, to center a found page on screen.
    How do I configure the 'title bar buttons'.
    Any help is welcome,
    thanks
    Guenter

    You can get Acrobat Viewer at http://www.adobe.com/products/acrviewer/main.html
    Or, if that link doesn't work, then just go to www.adobe.com and search for it.
    I also have a problem with viewer (as a bean). I can view local pdf files without any problems using myViewer.setDocumentURL(), but when I put in a remote address like http://......something.pdf, it won't work. I am connected to the internet too. So, I'm confused. Anybody used this bean before and know how to solve this problem???

  • Problem with Digital Editions page view

    I used Digital Editions on two books just recently and was able to fit each page of the ebook to it's full height from top to bottom.
    I just downloaded my third book to DE, and I can't seem to find the button to fit each page to their full heights (top/bottom). Instead, it's stuck on dual-page view. The single-page view button option isn't even there on the third book, but IS there on the first two books. I downloaded a fourth book and it's experiencing the same problem; stuck in dual-page view with no single-page option.
    If I try to re-size the DE window to force it into a single page view, the page numbers are all messed up appearing at random spots of each page rather than at the top right where they are suppose to be.
    I re-installed DE but the problem still persists. Is this a problem with the books in specific? Or something else?
    Thanks

    http://visguy.com/vgforum/index.php?topic=5849.15
    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • He tenido un problema al descatrgarme adobe acrobat 9 pro extended en version de prueba para 30 días

    ¿alguien me puede decir cómo solucionarlo?
    muchísimas gracias

    Hola, acabo de revisar tu archivo y efectivamente me da un error. Me tome el tiempo de revisar los foros en ingles y encontre un problema similar al tuyo. En la cual determinan que el problema no es el Acrobat sino como fue creado el archivo 3d para el acrobat...
    Re: 3D data parsing error issue with Reader 9.3
    I have had similar problems using Microstation. I am using Microstation version 08.11.07.171.
    When creating the 3D PDF file from within Microstation using the print function, go to the 3D plotting settings and deslect "Convert wireframe geometry" and Convert annotations".
    Once I deslected those two options, then recreated the 3D PDF files I was able to open them with the data parsing error.
    Hopefully this will help for you too."
    En español por si no lo entiendes
    Yo tuve un problema similar usando el Microstation version 08.11.07.171.
    Cuando yo creo un archivo usando la funcion de imprimir, voy a los parametros de "ploteo" 3d y deselecciono la función de "convertir la geometria del wireframe" y convertir anotaciones.
    Una vez deseleccionadas genero mi pdf 3d y se abre sin problemas...
    Esta persona puso un pdf ya generado, yo lo bari con mi acrobat y no tuve problemas, te lo anexo por si acaso...
    Ya sabemos que no es el acrobat tan solo nos queda descubrir que causa el problema cuando generas el PDF...
    Yo uso el acrobat pro 9.3.1 para mac

  • Problem in creating Entity for view which has "INSTEAD OF " trigger

    Hi ,
    I have an entity based on a Non updatable Database view (DB_VIEW).this database view has an INSTEAD OF trigger which validates
    and save data into a table.
    And I have a BC4J view based on this entity.
    Problem :
    When I try to insert a record using bc4j view object,I get following error
    ORA-22816: unsupported feature with RETURNING clause
    Query sent by view Object is :
    BEGIN INSERT INTO DB_VIEW(COLUMN1,COLUMN2,COLUMN3) VALUES (:1,:2,:3) RETURNING ROWID INTO
    :4; END;
    I am not able to insert any record in that view.
    I tried removing rowID from my BC4J entity and View but problem is that in Databae view there is no
    column which can be set as a primary key other then ROWID.

    I had the same problem.
    Oracle 9.2 sadly does not support the RETURNING clause for database views with INSTEAD OF triggers.
    Here is Steves Solution:
    1. Create a custom entity def impl class for your entity on the Java panel
    2. override the isUseReturningClause() and return false
    That should work in 9.0.3.4, 9.0.4 build 1419, and 9.0.5.1 production.
    from How to disable generation of RETURNING clause?
    Hth, Markus

  • Problem in CR XI returning Views with PUBLIC synonyms

    I am having problem in CR XI returning Views with PUBLIC synonym.
    I can see the tables and stored procedures with PUBLIC synonym but not VIEWS.
    This is a simple View that has a PUBLIC synonym to it. I have granted the user SELECT access to the underlying Views.
    I checked the boxes in Report > Options for all the combinations possible one by one but to no avail.
    I connect CR to the instance as a specific user , password. But when I go to Views (and Tables) there is nothing visible.
    I tried PRIVATE synonyms and when I go to Views (and Tables) the views are visible, but now the Fields are not visible.
    In SQL+ and Oracle SQL Developer connected as the same user , password everything looks ok.
    Any help will be appreciated.

    Hi Wayne,
    Sorry for the delay. Not sure where this post came from.... must have been transferred from another forum.
    R1 is no longer support nor are updates available. You can upgrade to CR Xi R2 for free, it's end of life now also but has all of the latest patches included.
    Install with your XI R1 keycode and then test again.
    http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
    http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE
    Thank you
    Don

  • Having problems with texts width when viewed in Firefox

    I My site is OK when viewed in Chrome and Safari, but in Firefox, the width of paragraphs is becoming very long and all is displayed wrong.
    I need a clue where to look to fix. I have not , or very little knowledge of HTML code. So I rely on the DW CS5 interface.
    Thanks,D.

    Thanks Nancy ,
    I'll try,
    Should I just paste your info between the brackets, I guess.
    I am not so good with this but I need to spent a bit of time to fix this
    old web site while another one is being designed.
    Yes the images are too big, I'll reduce them, and optimize. This was
    done in a rush..
    D.
    Le 14-02-23 18:07, Nancy O. a écrit :
    >
          Re: Having problems with texts width when viewed in Firefox
    created by Nancy O. <http://forums.adobe.com/people/Nancy+O.> in
    /Dreamweaver support forum/ - View the full discussion
    <http://forums.adobe.com/message/6149874#6149874

  • Problems with desktop/app sharing/viewing through conference

    We have a problem with viewing shared desktop/app with external contacts in a conference. We're able to share/view desktop/app directly with an external users, but not in a conference. We get the error message: "Sharing failed to connect due to network
    issues. Try again later."
    If we're using the web app on the same computer where we have the problem, we're able to view the content in the conference.
    It's working fine internally, it's also working fine when users are outside of our office.
    All other functions in Lync are working fine.
    We have 1 standard Lync server and 1 Edge, we don't have a reverse proxy but multiple IPs with port forward to corresponding ports on each server.
    How does the Lync client connect the shared content?

    To Fix your issue, you can follow below steps
    A common root cause for this error occurs when required ports are not available. Begin troubleshooting by verifying required ports.
    Public --> Edge server:
    TCP/443
    UDP/3478
    TCP/50,000-59,999 (Outbound only)
    Determining External A/V Firewall and Port Requirements
    Topologies for External User Access
    From the Front End pool to the internal Edge:
    TCP/5062
    TCP/443
    UDP/3478
    From the internal Edge to the Front End Pool:
    TCP/5065
    TCP/49152-65335 (Inbound/Outbound)
    Ports and Protocols for Internal Servers
    From the internal Client to the internal Edge:
    TCP - 443
    UDP – 3478
    Also you can refer below link
    http://blogs.technet.com/b/nexthop/archive/2012/11/05/lyncmd-troubleshooting-lync-server-2010-application-sharing-internal-and-remote-scenarios.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • How to use acrobat viewer for java enabled platform

    i want to use any api which can generate automatically pdf files and whose control goes through the java program.
    i found that adobe is providing one zip file(acrobat viewer) for it.it contains some class files.but i dont know how to use it.
    can anybody help me?
    or if u can suggest any free api for this purpose?
    its urgent.i'll be thankful 2 u.

    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=792789

  • Accessing PDF with Acrobat viewer javabean

    I accessed a PDF Document with the Acrobat Viewer JavaBean and its totally working fine as given in :https://today.java.net/pub/a/today/2005/10/20/accessing-pdf-with-acrobat-viewer-javabean.h tml
    But I also wanted markup/annotations features in the same acrobat viewer. Is there a way to implement these features? The api given above in the link doesn't seem to provide all the updated features of acrobat. Any kind of help is appreciated.
    Thanks !

    Verify if you have the jar containing com/apple/mrj/MRJAboutHandler in your class path.
    It think it's called [MRJToolkitStubs-1.0.jar|http://mirrors.ibiblio.org/pub/mirrors/maven/mrj/jars/MRJToolkitStubs-1.0.jar]

  • Acrobat Viewer - How can I install?

    Hello.
    I am using a Unix OS with no Acrobat Reader to download.
    However there is this Java-Based Acrobat viewer I could download.
    I downloaded the all Java-enabled OS variant as well as the Windows variant.
    I tried to install
    - the all Java-enabled OS variant under Unix (JRE 1.5.1)
    - the all Java-enabled OS variant under Windows XP (JRE 1.4.2)
    - the Windows-only variant under Windows XP
    I called the installer with "root" rights (Unix) / from a user account with local administrator rights (Windows).
    In all three cases the installer failed; under Unix the installer simply hangs; under Windows both installers (all OS and Windows-only) give an error message.
    How can I install Acrobat Viewer ?
    Thanks.
    Martin

    You'll need to be more specific in your query. When you say, a Unix OS, what kind of an OS are you running? Are you aware that the Adobe Reader is now available on x86 Linux, SPARC Solaris, RISC HP-UX and AIX?
    I don't know if the Java based version is supported.
    -vc

Maybe you are looking for

  • How Do I Sync Photos With iPad Using iTunes?

    Since updating to OS X 10.10.3, iTunes 12.1.2.27, and Photos, I cannot sync any photos to any devices.  Previously, I would connect a device, choose photo albums in iTunes, and sync.  Now, I connect a device and no matter what I choose in the photos

  • How to remove en completely newly install a game app

    Hi, I was playing a game, but i want to delete it and reinstall to start all over again from the start. I did al the things on this site discussions (hiding, removing etc.), but to no avail. In the store to download the app there's allways the 'cloud

  • ExportI/Import Actual Work for each resourse day by day

    Hi all, this is my first post and I'm trying to export some data by Microsoft Project Project Professional 2010 32bit (version 14.0.7140.5002). I need your help in order to solve this issues : (Priority 1) export actual work for each resource of my P

  • Configure cache policy of a distributed cache

    How do I configure the cache policy of a distributed cache, e.g. eviction policy, high units, expiry delay etc? Should I use com.tangosol.util.Cache instead of com.tangosol.util.SafeHashMap as the backing map of the distributed cache?

  • PO History Changes Query

    Dears, I'm working on a query that help me to retrieve all changes that happened on a specific PO, but I couldn't find these tables. Can you help guys. Thanks Ahmed