Printing with SDK 1.4 - native code exc. this time

Hello,
We are trying send printer control codes to a printer. Actually we are able to send them and get the output. The code snippet is:
// sanity checks are stripped
DocFlavor doc_flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
PrintService print_services[] = PrintServiceLookup.lookupPrintServices(doc_flavor, null);
HashPrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
attr.add(MediaSizeName.ISO_A9);
PrintService default_service = PrintServiceLookup.lookupDefaultPrintService();
PrintService selected_service = ServiceUI.printDialog(
     null,
     100,
     100,
     print_services,
     default_service,
     doc_flavor,
     (PrintRequestAttributeSet) attr);
DocPrintJob print_job = selected_service.createPrintJob();
byte data[] = // filled with control codes
Doc doc = new SimpleDoc(data, doc_flavor, null);
try {
      print_job.print(doc, attr);
catch(Exception e) {
      e.printStackTrace();
}The problem is after [bold]print()[bold] is called. The process hangs there for a while (a couple of minutes) and gives an exception. Exception description is below.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D063636
Function=Java_sun_print_Win32PrintJob_printRawData+0x1BB9
Library=F:\jdk\j2sdk1.4.0\jre\bin\awt.dll
Current Java thread:
     at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
     at sun.awt.windows.Win32SurfaceData.<init>(Win32SurfaceData.java:335)
     at sun.awt.windows.Win32SurfaceData.createData(Win32SurfaceData.java:218)
     at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.java:321)
     - locked <02FD86E8> (a sun.awt.windows.WFramePeer)
     at sun.awt.windows.WComponentPeer.displayChanged(WComponentPeer.java:350)
     at sun.awt.windows.WCanvasPeer.displayChanged(WCanvasPeer.java:42)
     at sun.awt.windows.WPanelPeer.displayChanged(WPanelPeer.java:118)
     at sun.awt.windows.WWindowPeer.displayChanged(WWindowPeer.java:175)
     at sun.awt.SunDisplayChanger.notifyListeners(SunDisplayChanger.java:102)
     at sun.awt.Win32GraphicsDevice.displayChanged(Win32GraphicsDevice.java:333)
     at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:90)
     at sun.awt.windows.WToolkit$4.run(WToolkit.java:717)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Dynamic libraries:
0x00400000 - 0x00406000      F:\jdk\j2sdk1.4.0\bin\javaw.exe
0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0C000      C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
0x77E10000 - 0x77E74000      C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000      C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78046000      C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D442000      F:\jdk\j2sdk1.4.0\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000      C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000      F:\jdk\j2sdk1.4.0\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000      F:\jdk\j2sdk1.4.0\jre\bin\verify.dll
0x6D210000 - 0x6D228000      F:\jdk\j2sdk1.4.0\jre\bin\java.dll
0x6D320000 - 0x6D32D000      F:\jdk\j2sdk1.4.0\jre\bin\zip.dll
0x6D000000 - 0x6D0F6000      F:\jdk\j2sdk1.4.0\jre\bin\awt.dll
0x77800000 - 0x7781D000      C:\WINNT\System32\WINSPOOL.DRV
0x75E60000 - 0x75E7A000      C:\WINNT\System32\IMM32.dll
0x77A50000 - 0x77B46000      C:\WINNT\system32\ole32.dll
0x76020000 - 0x76053000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\UNIDRVUI.DLL
0x76EF0000 - 0x76F1B000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\UNIDRV.DLL
0x7A900000 - 0x7A92B000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\tec32u.dll
0x782F0000 - 0x7852F000      C:\WINNT\system32\SHELL32.dll
0x70BD0000 - 0x70C34000      C:\WINNT\system32\SHLWAPI.dll
0x71780000 - 0x7180A000      C:\WINNT\system32\COMCTL32.dll
0x76B30000 - 0x76B6E000      C:\WINNT\system32\comdlg32.dll
0x77820000 - 0x77827000      C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000      C:\WINNT\system32\LZ32.DLL
0x0B290000 - 0x0B2AC000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\tec32g.dll
0x4F500000 - 0x4F521000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\ps5UI.dll
0x4CE00000 - 0x4CE75000      C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
0x6B770000 - 0x6B783000      C:\WINNT\System32\mscms.dll
0x6D180000 - 0x6D1D0000      F:\jdk\j2sdk1.4.0\jre\bin\fontmanager.dll
0x6E420000 - 0x6E426000      C:\WINNT\System32\INDICDLL.dll
0x10000000 - 0x1000A000      F:\ORACLE\9ids\jdev\lib\jdevwheel.dll
0x72800000 - 0x72846000      C:\WINNT\System32\ddraw.dll
0x728A0000 - 0x728A6000      C:\WINNT\System32\DCIMAN32.dll
0x779B0000 - 0x77A4B000      C:\WINNT\system32\OLEAUT32.DLL
0x77920000 - 0x77943000      C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000      C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000      C:\WINNT\System32\PSAPI.DLL
Local Time = Wed Aug 28 17:03:33 2002
Elapsed Time = 1071
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#Is there any idea why this error occurs. Thanks.
Muzaffer Ozakca

Let me jump into the fray :-)
I am getting the same exception while I am printing TIF images. I am not exactly sure what causes it, maybe I need to have a listener for this specific event. In this particular instance I am getting the error immediately after a java.lang.OutOfMemoryError (which might be the reason I am getting this exception). My printing code is very similar (identical) to the one posted above.
java.lang.NullPointerException
at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironm
ent.java:88)
at sun.awt.windows.WToolkit$4.run(WToolkit.java:717)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Similar Messages

  • Failure with EWS via WWSAPI (native code)

    Failure with EWS via WWSAPI (native code)
    I'm trying to make a request against Exchange(*) EWS
    using WWSAPI (native code).
    Exchange replies with the error:
     "Cannot process the message because the content type 
     'application/soap+xml; charset=utf-8; 
      action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
      was not the expected type 'text/xml; charset=utf-8'."
    It seems the SOAP envelope is ill-formed.
    If I manually create the envelope (without WWSAPI) EWS gives no error.
    Is WWSAPI supported for EWS?
    I can provide all the code for testing.
    Thanks & regards
    josue
    On WebServices tracing I see the following events:
    Sending message - bin  (id: 1): 
    3C 73 3A 45 6E 76 65 6C 6F 70 65 20 78 6D 6C 6E 73
    3A 73 3D 22 68 74 74 70 3A 2F 2F 77 77 77 2E 77 33
    2E 6F 72 67 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70
    2D 65 6E 76 65 6C 6F 70 65 22 3E 3C 73 3A 48 65 61
    64 65 72 3E 3C 52 65 71 75 65 73 74 53 65 72 76 65
    72 56 65 72 73 69 6F 6E 20 56 65 72 73 69 6F 6E 3D
    22 45 78 63 68 61 6E 67 65 32 30 31 30 5F 53 50 31
    22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F 2F 73
    63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66 74 2E
    63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65 72 76
    69 63 65 73 2F 32 30 30 36 2F 74 79 70 65 73 22 2F
    3E 3C 2F 73 3A 48 65 61 64 65 72 3E 3C 73 3A 42 6F
    64 79 3E 3C 52 65 73 6F 6C 76 65 4E 61 6D 65 73 20
    52 65 74 75 72 6E 46 75 6C 6C 43 6F 6E 74 61 63 74
    44 61 74 61 3D 22 74 72 75 65 22 20 43 6F 6E 74 61
    63 74 44 61 74 61 53 68 61 70 65 3D 22 49 64 4F 6E
    6C 79 22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F
    2F 73 63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66
    74 2E 63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65
    72 76 69 63 65 73 2F 32 30 30 36 2F 6D 65 73 73 61
    67 65 73 22 3E 3C 55 6E 72 65 73 6F 6C 76 65 64 45
    6E 74 72 79 3E 43 6C 65 62 65 72 3C 2F 55 6E 72 65
    73 6F 6C 76 65 64 45 6E 74 72 79 3E 3C 2F 52 65 73
    6F 6C 76 65 4E 61 6D 65 73 3E 3C 2F 73 3A 42 6F 64
    79 3E 3C 2F 73 3A 45 6E 76 65 6C 6F 70 65 3E 
    Sending message        (id: 1): 
    <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
      <s:Header>
        <RequestServerVersion Version="Exchange2010_SP1" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/>
      </s:Header>
      <s:Body>
        <ResolveNames ReturnFullContactData="true" ContactDataShape="IdOnly" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
          <UnresolvedEntry>Cleber</UnresolvedEntry>
        </ResolveNames>
      </s:Body>
    </s:Envelope>
    Error occurred: 0x803D0000 - The input data was not in the expected format or did not have the expected value.
    Error occurred: 0x0 - The format of the HTTP request was not supported by the server.
    Error occurred: 0x0 - The server returned HTTP status code '415 (0x19F)' with text
    'Cannot process the message because the content type 'application/soap+xml;
    charset=utf-8; action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
    was not the expecte
    Error occurred: 0x0 - There was an error communicating with the endpoint at 'https://gpe-exc2k10/EWS/Exchange.asmx'.
    WsCall API failed by 0x803D0000
    (*) Microsoft Exchange 2010 SP3 with Update Rollup 7

    Thank you for the tip. I was using SOAP 1.2. After changing to SOAP 1.1 it worked fine.
    WS_ENVELOPE_VERSION soapVersion = WS_ENVELOPE_VERSION_SOAP_1_1;
    Thanks and regards,
    Josue

  • HT4095 I've rented an SD movie from iTunes but cannot download it. Message reads "download error" followed by a small window with message "movie cannot be downloaded at this time. I have been billed by iTunes. What next?

    I've rented an SD movie from iTunes but cannot download it as I normally do to my iPad 2. Message reads "download error" followed by a small window with message "movie cannot be downloaded at this time". I have been billed by iTunes. What next?

    Hi, Kenny. 
    Thank you for visiting Apple Support Communities. 
    There are a couple things that I would recommend trying.  Try closing all open applications and power cycle the device.  Next, go through the section labeled Troubleshoot issues on an iPhone, iPad, or iPod touch in the second article below.  If the issue persists, try completely signing out of the iTunes Store on the iOS device and sign back in.  Be sure to test downloading an application after each step. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Cheers,
    Jason H. 

  • Printing with SDK 1.4

    Hi,
    I have a couple of questions regarding the new print api that comes with JSDK 1.4, JPS.
    1. We have a barcode printer, which we'd like to print using Java JPS. Our attempts are shown here:
    DocFlavor doc_flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
    PrintService print_services[] = PrintServiceLookup.lookupPrintServices(doc_flavor, null);
    DocPrintJob print_job = print_services[0].createPrintJob(); // 0 is the barcode printer
    ShapesPrint data = new ShapesPrint();
    Doc doc = new SimpleDoc(data, doc_flavor, null);
    try {
       print_job.print(doc, null);
    catch(Exception e) {
       e.printStackTrace();
    }We could print, with this code, using our laser printer. However, while trying to print via the barcode printer, we received:
    java.lang.ArrayIndexOutOfBoundsException
    at sun.print.Win32PrintService.getDefaultAttributeValue Win32PrintService.java:786)
    at sun.print.Win32PrintJob.printableJob(Win32PrintJob.java:413)
    at sun.print.Win32PrintJob.print(Win32PrintJob.java:342)
    at print.printtest.<init>(printtest.java:39)
    at print.printtest.main(printtest.java:50)We decompiled sun.print.Win32PrintService to see what went wrong. What we noticed that it may be something with defPaper value. Then, we checked in our debugger, the value of printservices.defPaper, which showed 261. Is it something we do wrong, or is it related with the printer driver?
    2. How does JPS gather information about print services (PrintServices)?
    Thanks in advance.
    Muzaffer Ozakca

    Hi again,
    We found a workaround by adding:
    HashPrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
    attr.add(MediaSizeName.ISO_A9);
    // and
    PrintService selected_service = ServiceUI.printDialog(
         null,
         100,
         100,
         print_services,
         default_service,
         doc_flavor,
         (PrintRequestAttributeSet) attr);So, instead of requesting a default paper, we set it to a known value avoiding an exception.

  • If you cannot print with OS 10.6.8 update read this--- It works!

    I was having printing issues......
    This worked for me.....
    Reed
    Posted a fix on my blog, check it out here:
    http://vcboy.com/mac-users-after-updating-to-10-6-8-getting-paused-printer-messa ge-fixed/
    Download from:
    http://s.vcboy.com/fixprinters

    OK. Here is the scoop. After updating to OS 10.6.4 via DVD. i used software update to get to 10.6.8. That included updated HP printer drivers, but still could not print.
    I update the firmware in the printer itself to the latest and greatest from HP. Still no go. Note - HP does NOT have software drivers on it's site for the HP2430N - only the firmware update.
    Because my OS is new, I figured Apple should help. I called Apple. The assistant directed me to the HP site update. I told him that the update he pointed me to was a fitmware update, not a driver and that I had already done that.
    The assistant had me delete the printer so we could add it back. the only problem saw that once deleted, it did not reappear in the add printer list.
    The HP2430N is a network printer - connected to the mac and the other macs around via ethernet through a router - hardwired, not wifi. After a little research, the assistant finds out and tells me t6hat apple NO LONGER SUPPORTS NETWORK PRINTERS!
    The assistand had me cycle the router. no luck - the printer did not appear in the add list.
    The assistant said that if I could connect the printer directly via USB we may be able to configure it and then get it back on the network configured and working with the new OS.
    I connected the prointer directly with a USB cable and the OS saw it right away. I configured and printed. I disconnected the cable and the printer disappeared. The ethernet connection was active the whole time.
    BUT, after cycling the router, the printer did now appear in the add list. I selected and configured and now it prints. I deleted the USB version of the printer from the list.
    The solution for NETWORK printers boiled down:
    connect printer DIRECTLY (via USB), select and configure.
    cycle router and disconnect direct connection
    make network connections
    re-select printer in add window, configure.
    delete USB version of printer from list.
    My thanks to those who offered to help

  • TS1702 My Facebook app froze so I deleted the app and reinstalled it.  I've done this before with no problem in the past, but this time it says Facebook is installed, but there's no icon on my iPad. I can't delete it again because there is no icon.  HELP!

    My Facebook app froze so I deleted it and reinstalled it.  I've done this several times in the past with no problems.  This time, the app store says it's installed, but there is no icon.  I can't delete it again, because there is no icon to delete and the app store has it listed as installed.  The updates page says it is updated.  I have shut my iPad down completely and restarted with no luck.  I don't know what else to try. Suggestions?

    Try resetting your device.  Hold down the power button and the Home button on your iPad, ignore the slide to power off message, continue to hold both buttons until you see the white Apple logo. After it restarts try download the Facebook app again.

  • Embedding .mp3 with merged .jpeg - what is code for this?

    In iWeb '08 I like the feature of embedding an .mp3 soundfile with a merged .jpeg into a webpage. I like being able to drag the .mp3 file onto the webpage and inserting a .jpeg in the "Drag image here" box. That's nice!
    But I am finding that some PC users experience brief dropouts and glitches when they try to play some of my files.
    I have an example here of what I am referring to:
    http://www.heliotown.com/RadioSun/200811032245UTAshcraft.html
    (See the "Listen, turn up the volume" file midway down the page.)
    So I am wondering if there is some sort of .html or other web protocol code that I can use in a basic webpage maker like Netscape composer so I can embed a soundfile with merged .jpeg ?
    Many thanks in advance for your help.
    Thomas

    QuickTime Pro is the tool you need.
    You don't need "Stereo" (half as big in file size). You don't need an .mp3 file (MPEG-1 Layer 3 format) for your "noise" even though it is ten times smaller than CD quality.
    You can use iTunes (free) to "crunch" your sound captures into AAC encoded files as mono and lower the data rate to 64 bit (half, again, smaller than the standard 128 bit).
    Your audio (crunched and added to an image file via QuickTime Pro):
    http://homepage.mac.com/kkirkster/.Public/noise.mov
    One quarter the file size (audio) of your source.

  • HT4623 I can not download iOS7.1 to my mum's ipad when it says Install Now, I tap it, Agree to terms and conditions, and then it come up with Software Update is not available at this time. Try again later.I have tried and its still not allowing me to upda

    Having trouble downloading iOS 7.1 to an ipad. Latest itunes has been downloaded onto laptop to help, but still no go. Not really computer savvy, but know the basics.

    Hello, Owen. 
    Thank you for visiting Apple Support Communities. 
    Here is the best troubleshooting article to go through when experiencing issues updating your iOS device over-the-air. 
    Resolve issues with an over-the-air iOS update
    http://support.apple.com/kb/TS4431
    You can also update this iPad via iTunes on a computer as an alternative. 
    Update your device using iTunes
    If you can’t update wirelessly, or if you want to update with iTunes, follow these steps:
    If you use your device's Personal Hotspot for your computer's Internet connection, update your device wirelessly or connect your computer to another network.
    Install the latest version of iTunes on your computer.
    Plug in your device to your computer.
    In iTunes, select your device.
    In the Summary pane, click Check for Update.
    Click Download and Update.
    If you see an error message while updating your device, you can learn how to resolve iOS update errors in iTunes.
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    Cheers,
    Jason H. 

  • I get an error code (13041, this time) when I try to download Adobe Reader version 10.1.0

    My system is still using Windows XP. My banks and epost insist that I must use Adobe Reader, so finging a way to install it without error codes hampering the installation would be appreciated.

    This error stands for extract files memory error.
    Do not use EXE version - search this forum for FTP link, download and install MSI version of Reader 10.1 installer.

  • HT4847 I'm trying to delete (my stolen) iPhone 4s from my iCloud back up listing. But when i try although both the stolen and my new phone are listed if i try to delete the old one it comes up with a message 'cannot delete backup at this time'

    When i try to delete my stolen 4s from the icloud back u list i get a message saying 'ths cannot be deleted at this time' . This is taking up 2.2gb of space. How can i delete the device? I have unregistered the device and sent a remote wipe message to the phone.

    I did get rid of a few after I set the iphone to not show music which was in the cloud but I still have 2 albums that won't go away.  Any more suggestions?  Thanks for your help.

  • Signed Applet and native code

    Hi all,
    I have an application which I deploy with webstart and includes native code. This all works perfectly with webstart. I now want to deploy it as an applet. This works accept for the native code. I have done heaps of searching and cannot determine the most appropriate way to make the native code visible to the applet.
    Ultimately I am at the point where i recieve a UnsatisfiedLinkError when calling loadLibrary(...) for the native code. Currently i have the native code (dll's for windows, so's for Solaris etc) in independent jars which are also signed (as needed for webstart).
    Could anyone give me some advise or a reference to more info on this topic.
    I am using Java 1.5 and am happy to use 1.6 if neccessary.
    Thanks,
    Dave

    Andrew - of course you were correct about the signed cert - I misspoke when the CA signed applet didn't show a warning. (You were also right that I must have checked 'always accept' the certificate on the server I had the CA signed cert on).
    I think you guys are on to something about the privileged actions. It would explain where one popup has the icon and the other doesn't. We have Javascript making calls into the applet and we do use JNI (although I don't think there are any calls back). We do wrap these calls in privileged actions but maybe we missed something. What I've seen before is a security exception is thrown if we don't wrap them - but maybe there are areas where we don't and it doesn't throw an exception or it does and we eat it somehow (and for whatever reason doesn't cause anything noticeable).
    Now that I know it could likely be the applet code and not necessarily a build issue with signing the jars, I have another place to look...
    I'll check it out and let you know what I find.

  • Can't print to HP LaserJet Prof. P1102w_1 wireless printer with my iPad.

    I cannot print to HP LaserJet Prof. P1102w_1 wireless printer with my iPad although it appears that this is a compatible printer.  My computer prints to this printer.  All other components of my wireless options and router are working.

    Hi,
    Did you updated the printer firmware?
    The P1102w only support AirPrint with the latest firmware, not with the version shipped with the device.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03128524&cc=us&dlc=en&lc=en &product=4110396&tmp_track_link=ot_search
    If you have any issues after updating the device please clarify your router brand and model.

  • SDK: Uncaught exception thrown in native code

    We are using java and the DQM SDK, our XML validates and while we are trying to create a MultiRecordTransform, we get the following exception with no information to help diagnose the issue.
    com.sap.emdq.EmdqException: Uncaught exception thrown in native code
    We are using the dquractransformu shared object and have NCOALink enabled.  We have successfully used the URAC transform without NCOALink.  We receive no other errors or logs when starting up, and if we turn off NCOALink, it gets past creating the MR transform.
    Is there any other information we can get to help us determine what the issue is?

    FYI: We found our setting in the XML that enabled NCOA processing to begin ( <PROVIDER_TYPE> ), but it would be much easier if the error indicated what was missing, instead of the generic "Uncaught exception thrown in native code".  Maybe there is a config setting to get more informative exception messages?

  • How to run 64-bit native code with Java Web Start

    This question has probably been asked many times, but I couldn't find anything in my searches.
    How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5) to run a java application that includes a 64-bit native code library? The application downloads fine, including the jar file that has the native shared object, but when the native library is loaded by the java application, I get a "wrong ELF class: ELFCLASS64" error.
    I assume that is because Web Start is invoking the 32-bit java VM, which can't load a 64-bit library. I tried configuring Java Web Start to use the 64-bit VM (by setting the path to java to ".../jre/bin/sparcv9/java" in the javaws console) but then I get an error that says "Can't load library: .../jre/lib/sparcv9/libdeploy.so".
    Does Java Web Start support 64-bit native code, and if so, what do I need to do differently?
    Thanks.

    No it can't. On the Sun download page of the JRE it says that 64 Bit systems need to use the 32 Bit JRE to execute Plugins - this might be the same for Web Start apps.

  • How does the SDK and Reader handle printing with orientation?

    I have a document that I want to print, and it contains a portrait page on Page 1, and a landscape page on Page 2.  Acrobat Reader correctly prints these pages (with a single print job), and I'm assuming it's because of the auto-rotate option on the print dialog.  Is this a feature of Reader, the API, or how the printer handles the request.  I've tried printing this PDF just using the JAva API, but the orientation remain portrait for all pages.  How does the Adobe Acrobat API deal with mixed orientation pages?  Ignore the fact that I did my test printing with Java, because my question is whether or not the auto orientation is a feature of the UI, the SDK, or the printer (or a combination).

    Same as the current Ipod Video or "Classic" there is an option under settings to toggle between original aspect ratio or Full Screen.
    Kenal0

Maybe you are looking for

  • Search help

    How to use a search help exit in module pool.

  • Launching a URL from a published htm

    I am sure this is a very basic question but I can't seem to find the answer.  I created a Captivate 5.5 tutorial.  At the end, I want the user to click a link to an webpage if they desire to take an on-line survey at Survey Monkey.  It works fine whe

  • EAN13 barcodes not printing from viewer

    I have designed a Crystal report and have set the printer as the Zebra, and the font as the printer font. While the font display oddly in the designer preview, it prints fine to the Zebra printer. When importing the report into SAP Business One and r

  • Need to make Partner maintanance mandatory in installed base.

    Dear CRM Folks, My requirement is..I need to make partner data mandatory at installed base if not maintained system should give error. Currently we can save installed base without Partner data maintained. I have checked all the BADI's given in IMG bu

  • Restrict Goods Recipient Field in MIGO "MSEG-WEMPF" to 10 Characteristics

    Hi Experts, The field length of "Goods Recipient field - MSEG-WEMPF" in GR (MIGO Transaction) is 12. I need to restrict the user to enter only 10 characteristics for Goods Receipent field. If User Enters more than 10 characterisics system should thro