Can not print with jdeveloper because of java exception!

Hi Gurus!
I've installed jdeveloper 11 on Fedora 8 Linux. See the installationparameters below:
JDEV_HOME=/usr/local/bin/middleware/jdeveloper
PATH=$PATH:$JDEV_HOME/jdev/bin:/usr/local/bin/middleware/jdk160_05/bin
JAVA_HOME=/usr/local/bin/middleware/jdk160_05/binThe installation completes successfully. After installation I've started jdeveloper. It throws the following java exception at startup but it starts.
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xd6c777]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xd6c8d1]
#2 /usr/lib/libX11.so.6(_XReply+0xff) [0xb8e12f]
#3 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x853018ce]
#4 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x852de067]
#5 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x852de318]
#6 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0x852de61f]
#7 [0xb5f2ce9d]
#8 [0xb5f25edd]
#9 [0xb5f25edd]
#10 [0xb5f23249]
#11 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7f3e96d]
#16 [0xb5f2ce9d]
#17 [0xb5f25d77]
#18 [0xb5f23249]
#19 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x621c40d]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xd6c777]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xd6c83e]
#2 /usr/lib/libX11.so.6 [0xb8d168]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb83d36]
#4 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x852dd319]
#5 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x852dd565]
#6 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x852de3c9]
#7 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0x852de61f]
#8 [0xb5f2ce9d]
#9 [0xb5f25edd]
#10 [0xb5f25edd]
#11 [0xb5f23249]
#12 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x621c40d]
#13 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x6310378]
#14 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so [0x621c2a0]
#15 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#16 /usr/local/bin/middleware/jdk160_05/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7f3e96d]
#17 [0xb5f2ce9d]
#18 [0xb5f25d77]
#19 [0xb5f23249]The real mess starts if I want to print something. If I click on File -> Print then jdeveloper throws the following java exception:
java.lang.NullPointerException: null attribute
        at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
        at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
        at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
        at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
        at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
        at sun.print.ServiceDialog.<init>(ServiceDialog.java:124)
        at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
        at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:856)
        at ilog.views.util.print.IlvPrintUtil14.e(Unknown Source)
        at ilog.views.util.print.IlvPrintUtil.c(Unknown Source)
        at ilog.views.util.print.IlvPrintingController.printDialog(Unknown Source)
        at ilog.views.util.print.IlvPrintingController.print(Unknown Source)
        at oracle.diagram.framework.print.DefaultPrintPlugin.print(DefaultPrintPlugin.java:98)
        at oracle.diagram.framework.action.handler.PrintHandler.handleEvent(PrintHandler.java:31)
        at oracle.diagram.framework.controller.ControllerChain.handleEvent(ControllerChain.java:39)
        at oracle.diagram.framework.controller.ControllerChain.handleEvent(ControllerChain.java:39)
        at oracle.diagram.framework.controller.ControllerChain.handleEvent(ControllerChain.java:39)
        at oracle.diagram.framework.controller.DiagramController.handleEvent(DiagramController.java:99)
        at oracle.diagram.framework.editor.IdeDiagramEditor$HostController.handleEvent(IdeDiagramEditor.java:1132)
        at oracle.diagram.framework.DiagramFrameworkAddin$PrintController.handleEvent(DiagramFrameworkAddin.java:349)
        at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
        at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
        at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5806)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4413)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4243)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2440)
        at java.awt.Component.dispatchEvent(Component.java:4243)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I don't know if I've done something wrong but I hope you guys could help me!
I'm looking forward to your answers.
yours sincerely
Florian W.

Hi Guys!
I've found the solution by my self. It's not a specific jdeveloper problem but it's a java problem. Then first exception
sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)point to a problem between java and cups. If someone is using "automatic rotation" an the job options tab for a print the java is not able to show a printer dialog. The only thing to do is change form automatic rotation to another value and java has no more problem.
May be this will help somebody else!
regards

Similar Messages

  • Can not print with HP LaserJet 6L since the upgrade to Mavericks.

    Can not print with HP LaserJet 6L since the upgrade to Mavericks. Any alternative driver for this printer?

    I have an HP LaserJet 5P and had the same problem. My LaserJet is connected to a D-Link ethernet print server, then to an Airport Express to support wireless printing.
    As recommended in earlier posts, I first downloaded the Gutenprint HP drivers at Sourceforge, version 5.2.9 That did not work. Then found the reference to the Apple kb here: http://support.apple.com/kb/dl907
    Downloaded these drivers. When setting up the printer, I got the autoselect option for Generic Postscript Printer and used that. Printer worked, but printed out garbage. I then deleted the printer, and this time selected the HP LaserJet 5P CUPS + Gutenprint v.5.2.9 THAT WORKED! I don't know if was the combination of downloading the drivers from Sourceforge and the Apple kb, or just the Apple kb that solved the problem, but I'm glad this is now sorted.
    I was a bit surprised when I hit this snag to begin with because the last upgrade I did from Lion to Mountain Lion, I did not have this issue. It was seamless.

  • Can not Print with HP LaserJet 5000 and Epson AcuLaser C9100

    I am using MacBook Pro 2.3 GHz Intel Core i7 with Mac OS X (10.6.6)
    I already install the latest print driver from the Apple Software Update website.
    The driver for HP is Ver. 17.5 & for Epson is Ver. 5.2
    I connect two of the printer to my Belkin Surf N300 wireless N Router with ethernet cable.
    The error when print to HP LaserJet 5000 is as follow:-
    Unable to get printer status (Not Implemented)!
    Network host 'x.x.x.x' is busy; will retry in 30 seconds...
    This error can stay forever if I do not delete the print job
    The error when print to Epson AcuLaser C9100 is as follow:-
    Printer not responding
    This error can stay forever if I do not delete the print job
    Previously I can print with my emac with OS X 10.4.10, but now I can not print with 2 of my printer.
    My 2 printer are in good condition, so this is not the printer problem.
    Please, do anyone know how to fix this problem fast, because I need to use this two printer for my business.
    Thanks in advance.

    That is not what Greg needs to know. That is just the way that the IP addresses are assigned to the printers.
    Your problem is probably that the printers were probably originally found by AppleTalk. AppleTalk is not included in Snow Leopard. If the printers support Bonjour, they should be found that way. Otherwise, you have to use other methods.
    How did you add your printers on the new computer? If you delete them from Print & Fax, how would you add them again?

  • Can not print with networked brother printer on my iMac

    I am not sure why but both of my printers on my wired network computers can not communicate with me any longer.
    Any suggestions?

    I have a very similar situation. Only the hardware changes.
    •Brother fax2820 attachced to the iMacG4 via USB which it wired to Linksys wireless router.
    •MacBook built-in airport connected to LAN via Linksys wireless router.
    Same symptoms - I can find and install the shared usb printer but it won't print.
    Can't, of course, use your solution - Linksys router doesn't have a usb port.
    So, what next?

  • Applet can not read from servlet because of java.io.EOFException

    Hi all,
    i try to communicate my applet with a servlet. i examine lots of codes from internet and i did lots of things to get a working sample but i couldn't sucess on this work for 2 days so if anyone can help me i will be very happy.
    Anyway, here is the code snippets :
    1- Applet side code to send data (serializabed object) to servlet :
       // Opening connection...
       URL urlServlet = new URL("http", "81.214.190.3", 8080, "/pwta/pwtax");
       URLConnection connection = urlServlet.openConnection();
       // Setting attributes...
       connection.setDoInput(true);
       connection.setDoOutput(true);
       connection.setUseCaches(false);
       connection.setDefaultUseCaches(false);
       connection.setRequestProperty("Content-Type",
                                                                  "application/octet-stream");
       OutputStream outputStream = connection.getOutputStream();
       ObjectOutputStream objectOutputStream = new ObjectOutputStream (outputStream);
       objectOutputStream.writeObject(islem);
       objectOutputStream.flush();
       objectOutputStream.close();
       // Receiving result from servlet...
      // Exception is thrown at line 71! Detail is written at bottom of message!
      InputStream inputStream = con.getInputStream(); // line 71 is here!!!
      ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
      returnValue = (Sonuc) objectInputStream.readObject();
      objectInputStream.close();
      inputStream.close();
    2- Server side code which read data and sendit after processing  to   applet  :
    // Reading requirement... Implementation is done in doPost() method!
        InputStream in = request.getInputStream();
        ObjectInputStream inputFromApplet = new ObjectInputStream(in);
        Islem islem = (Islem) inputFromApplet.readObject();
        inputFromApplet.close();
        // Doing the required job!
       setMapperAndDoTheJob(islem);
       // Writing the result to user...
       OutputStream outstr = response.getOutputStream();
       ObjectOutputStream oos = new ObjectOutputStream(outstr);
       oos.writeObject(sonuc);
       oos.flush();
       oos.close();
    //  *************************************************************************When i run my applet the following exception is thrown :
    java.io.EOFException
    at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)
    at tr.com.proksis.pwta.domain.PWTAProcessor.transferProcess(PWTAProcessor.java:71)
    Best Regards,
    eRoHaN

    get it working using a text transfer before you use and object transfer

  • I can not print with HP Officejet 6700 Premier from the USB cable

    Hi, I use a laptop and I want to print from USB cable. I don't understand why but it doesn't work. When i click on Print, i do not see the HP Officejet in the choice of printers. 
    Thank you very much for your help

    Hello @Kingkong352,
    Welcome to the HP Forums!
    I understand you cannot print from a USB cable using the Officejet 6700 Premium. I will do my best to assist you! First, I need to find out your operating system on your computer? Windows or Mac?
    Did you install the full feature software on your computer? I would run the Print and Scan Doctor to see if this fixes your printing issue. Please let me know if this tool detects any issues. I will be looking forward to hearing from you. Have a great night!
    I worked on behalf of HP.

  • Can not print with OKI B6500 since the upgrade to Mavericks.

    Hi everyone Before installing the updateMavericks everything was fine...,now Cannot conect to windows network, cannot print anymore... after mavericks Upgrade... what can i do? I need to print. I use the OKI B6500 printer. 

    Go to the Oki web site, get the latest driver software and install it.
    http://myokidata.com/PP-B6250dn.nsf?opendatabase

  • Photoshop can not print the maximum amount of data that can be spooled to a PostScript printer is 2G

    Hi all,
    This is the first time I've worked with the .psb (large format) size and I have gone to print a PDF of the file and I get the message:
    "photoshop can not print this document because the document is too large. The maximum amount of data that can been spooled to a PostScript printer is 2GB".
    The file itself is a 2700x1570mm 300dpi flatten .psb image that is 500mb in size.
    Not sure how I can get around this, where abouts do I see the image size information that is being spooled?
    Any help would be great

    There's no easy way to see the size of the image that's being spooled, but 2G limit is uncompressed, 4 bytes per pixel (either RGBX where X is a padding byte, or CMYK, depending on the image / printer), times about 1.6 because the image data is sent in ASCII85 format rather than binary.
    With your image at over 100 inches at 300 dpi, you're also perilously close to the 32k limit on the pixels in any one dimension (31,900 by my calculations) that PostScript can handle.
    The limits are 32767 pixels in either dimension, and 2GB of data total. The data that's sent at 4 bytes per pixel, and converted to ASCII85 so that it'll make it across any connection. ASCII85 gives about a 1.6 expansion factor, if I remember correctly.
    Do you really need a 10 foot image printed at 300 dpi? If not, changing down to 200 dpi will probably let this image print.

  • I can not print a pdf file that was sent in an email.  I get the error message that adobe could not

    I can not print a pdf file that was sent in an email.  I get an adobe error message that it can not print with an ok to check and when i do I get another adobe error message that says I did not select a page to print. I have downloaded the latest adobe download.  I forwarded the email to my husband and he printed the document just fine.

    This first question which comes to mind is how do you display the pdf file in the browser?
    For this the browser uses a plug in (e.g. adobe reader) which already has the ability to print the pdf file. Depending on the version of your plug in, printing is started differently.
    Timo
    Ps: which jdev version do you use?

  • I can't print a photo because the ICC profile is not installed.  What do I do?

    I can't print a photo because the ICC profile is not installed.  What do I do?

    Try from the Editor "Save As"
    Then choose jpeg with sRGB profile.

  • Can not print PDF file at all with Windows Vista

    I have Acrobat Reader 9.3.2.  I am working off of Windows Vista on my laptop to a network wireless printer (Brother MFC 9440).  I am unable to print pdf files.  About a week ago, we had problems with our printer printing anything.  I had to uninstall it and reinstalled it and it now works fine except the pdf files. I have had no problems printing any other files on any other programs but this one.  I am unsure what specific "updates" I ran while trying to figure out printers issue.  When in Reader, everything seems normal.  When I hit print, the printer box pops up as normal and then I hit ok, my printer icon at bottom pops up for about 5 secs and nothing happens.  I know that I am connected to printer due to all other programs can print.  I do not have access to another printer to see if pdf will print on another printer, but do know that the other two computers used in this office (mac laptop and mac desktop) both are able to print pdf files to this printer without a problem.  I have gone thru all the other help steps to try to resolve the situation:  it still will not print when I hit "print as image", made sure that my printer is marked as network and is default printer, made sure to check that I have all upgrades, etc.  I am not getting any error message, so am unsure what is wrong.  It just will not print.  Is there anyone that could give me some suggestions that I have not tried?  I would REALLY appreciate it! Thanks!

    Another user experience exactly the same issue with vista and printing from Adobe reader.
    http://forums.adobe.com/thread/642000?tstart=1  Its copied below as a reference.
    The problem was on my Auntys PC, and yes i did updated Adobe Reader to v9.3.2 and still the same issue underlned below.
    My Aunty lives 70 miles away so will not be trying anything else.
    The printer works fine with every other application only Adobe Reader files will print.
    May 19, 2010 7:31 AM
    Can not print PDF file at all with Windows Vista
    I have Acrobat Reader 9.3.2.  I am working off of Windows Vista on my laptop to a network wireless printer (Brother MFC 9440).  I am unable to print pdf files.  About a week ago, we had problems with our printer printing anything.  I had to uninstall it and reinstalled it and it now works fine except the pdf files. I have had no problems printing any other files on any other programs but this one.  I am unsure what specific "updates" I ran while trying to figure out printers issue.  When in Reader, everything seems normal. When I hit print, the printer box pops up as normal and then I hit ok, my printer icon at bottom pops up for about 5 secs and nothing happens.  I know that I am connected to printer due to all other programs can print.  I do not have access to another printer to see if pdf will print on another printer, but do know that the other two computers used in this office (mac laptop and mac desktop) both are able to print pdf files to this printer without a problem.  I have gone thru all the other help steps to try to resolve the situation:  it still will not print when I hit "print as image", made sure that my printer is marked as network and is default printer, made sure to check that I have all upgrades, etc.  I am not getting any error message, so am unsure what is wrong.  It just will not print.  Is there anyone that could give me some suggestions that I have not tried?  I would REALLY appreciate it! Thanks!

  • Can not print song lists for jewel case with windows

    I have PC with Windows 7 and have downloaded the latest version of I Tunes and still can not print out a list of songs that will fit into a jewel case.  The songs print all over one another in a garbled mess.  Any suggestions on how to fix this?  I have spoken to and emailed Apple Support but they can not offer assistance if I am not using an Apple device.  If I am purchasing music on ITunes it seems appropriate to have access to the same service as those who use MACS.  If I can not get this to work properly, I would like suggestions on how else to create my music CD's as easily as I can on ITunes.

    Aloha Mom,
    It is the same place it has always been:  with the playlist open, use the Print command under the File menu.
    The new thing is that the Menu bar is hidden by default.  So if you don't see the menu bar (File, Edit, View, etc), enable it by holding the CTRL key and pressing B.

  • My payslip gets emailed to me and opens with fire fox , i can not print it out have tried saving to doc but still opens will not print

    my payslip gets emailed to me and opens with firefox , i can not print it out have tried saving to doc, but still opens with firefox and will not print.
    The server i have to use for my pay is Explorer( i told them that this would have conflicting things on my computer, they said no i wont.( i can get it just can not print it?)

    Hi there morinallen,
    Try downloading and running the print and scan doctor located here to ensure there are no software conflicts:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • I can view a pdf, but can not print it out? (windows 7 32bit with adobe reader XI)

    With
    Problem signature:
       Problem Event Name: APPCRASH
       Application Name: AcroRd32.exe
       Application Version: 11.0.0.379
       Application Timestamp: 505fd19e
       Error Module Name: ZSR.dll
       Error Module Version: 6.20.1625.0
       Error Module Timestamp: 462fd713
       Exception Code: c0000005
       Exception displacement: 0001f979
       Operating System Version: 6.1.7601.2.1.0.256.48
       Locale ID: 3076
       Additional Information 1: a7aa
       Additional Information 2: a7aa91f17ea749d42a4de3b390fa5b3d
       Additional Information 3: a7aa
       Additional Information 4: a7aa91f17ea749d42a4de3b390fa5b3d
    Read our privacy statement online:
       http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0c04
    P.S only a few of pdf can not print out,and i have tried install Adobe reader IX, X and XI, but problems still exist

    Two things to try...
    Update to Reader 11.0.3
    Disable Protected Mode [Edit | Preferences | Security (Enhanced)].

  • Can not print pdf file with firefox 29.0 pdf preview plugin. Why?

    Can not print pdf file with firefox 29.0 pdf preview plugin. Why?

    Control V doesn't work here for a screenshot.

Maybe you are looking for