LPX-00200: could not convert from encoding UTF-8 to UCS2 during

When doing an query with SQL/XML on a database with the following characterics
NLS_LANGUAGE -- AMERICAN
NLS_CHARACTERSET - UTF8
NLS_NCHAR_CHARACTERSET - AL16UTF16
Database version is 9.2.0.5.0
I get the following error on a text with special characters
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00200: could not convert from encoding UTF-8 to UCS2
I used the tip from another developer to use the convert function :
XMLForest(convert(train.programma, 'UTF8', 'WE8ISO8859P1') AS "programma"
Now at least I don't get the error but in the resulting all special characters (and there are a lot of them!) are garbled
So for example (hope this comes across during the post)
original : coördinatoren
in xml : coördinatoren
Any suggestions here? I'm not really allowed to change any database-parameters or doing an upgrade
Maybe using something else in the convert function?

Here's the complete query (with the convertfunction in it). Hope this helps
select XMLElement("lmsImport", XMLAttributes('LmsImportSchema.xsd' as "xsi:noNamespaceSchemaLocation",
'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi"),
XMLElement("trainingen",(
Select XMLAGG(XMLElement("training",
XMLElement("id", train.id),
XMLElement("code", train.code),
XMLElement("leverancier",
XMLElement("leverancier",
XMLATTRIBUTES(NVL(train.leverancier, 'vendr000000000001021') as "leverancierId"))),
XMLElement("status", (CASE when TRUNC(NVL(train.disc_from, sysdate)) >= TRUNC(sysdate) then
'Actief'
else
'Inactief'
END )),
XMLElement("naam", train.naam),
XMLForest(
XMLForest(Decode(train.afronding, 'Bewijs van Deelname', 'Instituutsdiploma', train.afronding) AS "afronding") as "afrondingen"),
XMLForest(
XMLForest(train.lesmethode AS "lesmethode") as "lesmethodes"),
XMLForest(
XMLForest(convert(train.programma, 'UTF8', 'WE8ISO8859P1') AS "programma") as "memos"),
XMLForest(train.lesduur AS "lesduur")).extract('/*'))
FROM (select cours.id id, cours.course_no code, cours.custom2 leverancier, cours.disc_from disc_from, cours.title naam, 'Training' lesmethode,
cours.desc1||cours.desc2||cours.desc3||cours.desc4 programma, ROUND(cours.num_days) lesduur, ddcus.str_value afronding
from tpt_courses cours
inner join fgt_domain domin
on cours.split = domin.id
left join (fgt_dd_custom ddcus
inner join fgt_dd_domain_to_attr ddoat
on ddoat.id = ddcus.attr_id
on ddcus.owner_id = cours.id
where (domin.name = 'Content' or domin.name like 'CT%')
and ddoat.attr_id = 'ddatr900000000000009'
union
select prdct.id id, prdct.part_no code, prdct.vendor_id, prdct.disc_from disc_from, prdct.name naam,
decode(prdct.equip_cat_id, 'eqcat000000000000005', 'WBT', 'eqcat000000000001006', 'Book', 'eqcat000000000001019', 'Training', 'eqcat000000000001037', 'Training') lesmethode,
prdct.desc1||prdct.desc2||prdct.desc3||prdct.desc4, null, custom7
from tpt_product_catalog prdct, fgt_domain domin
where prdct.split = domin.id
and (domin.name = 'Content' or domin.name like 'CT%')) train )).extract('/*')).extract('/*') from dual;

Similar Messages

  • XML: LPX-00200: could not convert from encoding UTF-8 to UCS2

    Hi,
    Greetings!
    I have special character(s) in a column and that character is chr(189) and because of that when i use the xml functions in my query it returns below error.
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00200: could not convert from encoding UTF-8 to UCS2
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    I am using sys_xmlagg and getting above error when i encounter the data as below:
    "Dixon¿s Chicago".
    Note: When ever It encounters the bold character string it fails ... Any help !!!
    And one more thing when i create another record with same data by copy and pasting it works fine and when i did a dump on that column data its different. see the below result of dump.
    Naveen.
    SQL> desc temp_xml;
    Name Null? Type
    TNO NUMBER(4)
    NAME VARCHAR2(255)
    SQL> select name,length(name),dump(replace(name,chr(189),'')) data_dmp from temp_xml;
    NAME LENGTH(NAME) DATA_DMP
    ¿s Chicago 10 Typ=1 Len=12: 239,191,189,115,32,67,104,105,99,97,103,111
    ¿s Chicago 10 Typ=1 Len=11: 194,191,115,32,67,104,105,99,97,103,111
    SQL>
    if you observe the above 2 rows the fist row shows length as 12 and second shows as 11. actually 2nd rows works fine but first gives error. I am not able to see where that hidden character is and not able to remove that character.
    Message was edited by:
    naveenhks

    Hi,
    I have a similar problem:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00200: could not convert from encoding UTF-8 to ISO-8859-1I'm executing the following Select when encountering this error:
    SELECT /*+ INDEX(resource_view XDBHI_IDX) */
               extract(resource_view.res, '/Resource/Contents/*').getClobVal()           AS Dokument
      FROM  resource_view
    WHERE resource_view.any_path LIKE '%PATH_TO_FILE%';I have 5 XML-documents and this error occurs at two ('A' and 'B') of them. When I transfer the same 5 documents from another PC the error occurs at document 'C' and not at 'A' and 'B'.
    Any clue or hint which could explain this behaviour? What NLS parameters can I check in order to help you understand the situation?
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • LPX-00200: could not convert from encoding UTF-8 to UCS2

    Dear Gurus,
    I am facing this error while I am parsing an XML File.
    My Database settings are
    NLS_LANGUAGE -- AMERICAN
    NLS_CHARACTERSET - AL32UTF8
    NLS_NCHAR_CHARACTERSET - AL16UTF16
    Database version is 10gr2. (10.2.0.3.0 )
    My XML File is having version encoding given below
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    If I convert encoding to UTF-8 Then the XML Parsing is doing fine, but the special characters are like Ö ß converted to some other Characters like öß, which I don't want.
    Appreciate any help.
    Regards
    Madhu K

    I have been across the this problem. I solve the problem that come to original ml file. '-' character cause this problem:
    <?xml version="1.0" ?>
    - <ROWSET>
    - <ROW>
    <DEPTNO>10</DEPTNO>
    <DNAME>ACCOUNTING</DNAME>
    <LOC>NEW YORK</LOC>
    </ROW>
    - <ROW>

  • Mediator To Spring Error-Could not convert from java interface to interface

    Hi,
    I have a requirement to using a Spring component and my composite application would be File Read -> Mediator -> Spring Component -> File Write.
    I have to read a file and using mediator map the same to the Spring input and write the Spring component output to a file.
    I have created a Java interface ( Package Name - transformtospring , Interface Name - TransformInterface) and also created a Java Class ( TransformImpl ) which implements the Interface in this package. Saved all these artifacts in SCA-INF/src folder of the application.
    My Spring Bean configuration file is as follows ( saved the file in the same folder as composite.xml )
    <?xml version="1.0" encoding="windows-1252" ?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd">
    <!--Spring Bean definitions go here-->
    <bean class="transformtospring.TransformImpl" name="TransformBean"/>
    <sca:service name="TransformService" target="TransformBean"
    type="transformtospring.TransformImpl"/>
    </beans>
    I have created a Spring Context which uses the above Spring Configuration. When i tried to map the mediator output to Spring , i'm getting an error shown below.
    " Could not convert from java interface to interface type wsdl . Exception=java.lang.ClassNotFoundException transformtospring.TransformImpl "
    Please do let me know where exactly i'm doing wrong.
    Regards,
    Sri.

    Hi All,
    I could able to work this one out now !!!
    But i'm having an issue mapping the input to this service. The method signature for the service is as follows:
    public byte[] processData(byte[] input) throws Throwable{
    So the input for this Service is a byte array. Now i'm mapping the data from a File Input ( Read File - opaqueElement ) to this service directly ( using mediator ).
    Now when i have looked into the message in the Enterprise Manager, following is the message structure from Read File input to the service.
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    </properties>
    <parts>
    <part name="parameters">
    <ns0:processCollaboration>
    <arg0>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bnMwOkFkZDJJbnB1dCAgeG1s bnM6eHNpPSdodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZScgeG1sbnM6 bnMwPSd1ay5jby5qZHdpbGxpYW1zLkFkZDJJbnB1dCcgeHNpOnNjaGVtYUxvY2F0aW9uPSd1ay5j by5qZHdpbGxpYW1zLkFkZDJJbnB1dCByZXF1ZXN0LnhzZCcPG5zMDpudW0xPjEwPC9uczA6bnVt MT48bnMwOm51bTI+MTY8L25zMDpudW0yPjwvbnMwOkFkZDJJbnB1dD4=+</arg0>
    </ns0:processCollaboration>
    </part>
    </parts>
    </message>
    and the corresponding response message ( No output ) back from the service is:
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="componentName" value="ProcessCollab"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    <property name="compositeDN" value="default/CollaborationToSpring!1.0*soa_a8da1da7-f98f-4935-8d20-da9e7bc003cc"/>
    </properties>
    <parts>
    <part name="parameters">
    <processCollaborationResponse>
    <return/>
    </processCollaborationResponse>
    </part>
    </parts>
    </message>
    I have included System.out statements in my Java class , but its not printing anything in the logs.
    I'm under the impression that the underlying infrastructure ( mediator ) transparently encodes and decodes data from base64Binary to java byte array. So could anyone help me on this !!!
    Regards,
    Sri.

  • Could not convert from java interface to interface type wsdl ??

    i have a problem wheni have a problem when i develop bpel using mediator and wire to ejb service. When the mediator wire to ejb service, i found the error : Could not convert from java interface to interface type wsdl.... How to solve the problem?

    I followed the case closely (with the same name of classes, methods, etc), but still get the error: “Could not convert from java interface to interface type wsdl.Exception=nl.amis.calculator.Calculator”. I created a Java class to test the lookup and function correctly. However, when I try to wire a Mediator to this Reference, I run into an Interface Conversion Error. I’ve included the line javaInterface = “nl.amis.calculator.Calculator” in file composite.xml, but still get error. Could you help me?

  • XML C++ Parser in Solaris 2.6 could not parse with encoding UTF-16

    I tried to use UTF-16 encoding in the XML C++ Parser in Solaris 2.6.
    xmlinit() fails and returns error 201 - i.e.Unknown encoding. Though the ORACLE documentation has many encodings including UTF-16. Quite a few of these encodings are not working.
    Can any one help about UTF-16.
    Thanks
    Vijay Kumar

    Do you have Oracle's NLS data files?

  • Adobe Media Encoder for CS4 error Could not read from the source

    Hello,
    I get an error when I try to export from Premiere CS4. It doesn't matter how I export. Seems like an easy fix, but I can't figure it out. Any help is appreciated:
    - Source File: C:\DOCUME~1\ARTWHI~1\LOCALS~1\Temp\extra and b roll.prproj
    - Output File: E:\Living Accused Movie Transfers\video\Cindy at table.avi
    - Preset Used: NTSC DV
    - Video:
    - Audio:
    - Bitrate:
    - Encoding Time: 16:10:34
    1/21/2009 9:50:25 PM : Encoding Failed
    Could not read from the source. Please check if it has moved or been
    deleted.
    Thank you
    Art

    When you attempt to encode media with Adobe Media Encoder CS4 on Windows, the following error message appears in the text file (AMEEncodingErrorLog.txt) that opens when you click the error icon: "Encoding Failed. Could not read from the source. Please check if it has moved or been deleted."
    If it's that correct, you removed an earlier version of Adobe Premiere Pro or Adobe Creative Suite on the same computer.
    Do one or both of the following solutions:
    Solution 1: Create a shortcut to the Premiere Pro executable file, rename the shortcut to Premiere, and move the shortcut to C:\Program Files\Common Files\Adobe\dynamiclink.
    Close all Adobe applications.
    In Windows Explorer, navigate to C:\Program Files\Adobe\Adobe Premiere Pro CS4. (If you installed Premiere Pro CS4 in a location other than the default of C:\Program Files\Adobe, then navigate to your custom installation location.)
    Right-click on Adobe Premiere Pro.exe (which might appear without the .exe extension) and choose Create Shortcut.
    Rename the newly created shortcut to just Premiere.
    Important: The name of the shortcut must be exactly Premiere with no other characters.
    Open a second Windows Explorer window, and navigate to C:\Program Files\Common Files\Adobe\dynamiclink.
    Move the Premiere shortcut that you created into the dynamiclink folder.
    Solution 2: Remove and reinstall all Premiere Pro CS4 components or all Adobe Creative Suite 4 components.
    Do one of the following:
    Windows XP: Choose Start > Control Panel > Add or Remove Programs.
    Windows Vista: Choose Start > Control Panel > Programs and Features.
    In the list of installed programs, select Adobe Premiere Pro CS4, Adobe Creative Suite 4 Production Premium, or Adobe Creative Suite 4 Master Collection.
    Click Change/Remove (Windows XP) or Uninstall (Windows Vista).
    Follow the on-screen instructions to remove all components of Premiere Pro CS4 (including Adobe Encore CS4 and Adobe OnLocation CS4) or to remove all components of your edition of Adobe Creative Suite 4.
    Re-install your Adobe software.

  • Media Encoder crash in CS6. Could not read from the source. Check if it has moved or been deleted.

    I'm having a problem getting Media Encoder to get past the dynamic link portion of encoding a time line sequence.
    I can send it over to Media Encoder, but it crashes consistently after the yellow bar saying something about dynamic link.
    I have CS6 installed in my computer here at work, it previously had CS5.5 installed on it.
    I read some answers about CS4 having this problem and tried to create a shortcut and put it in the dynamic link folder, but that didnt work.
    I would hate to have to reinstall the software here at work as the IT department is a pain- but I can't encode video on one of the computers we use here.
    Any ideas on what may be happening and how I can solve the problem?
    Thanks!
    Its a Dell Workstation with Windows 7 Ultimate installed dualE5620 processors at 2.4GHz. .
    only 6 GB RAM, and a RAID 5 hard drive setup with 3- one gb drives giving the C drive space of 1.8Gigs
    Its got an NVIDIA Quadro NVS 420 video card.
    I'm upgrading this computer to better work with editing video, so this is a good time to get this all cleaned up.
    Im adding RAM (24GBs)- replacing the video card to a GTX 780 3GB running 3 monitors.
    I'd also like to either split up the RAID (ugh)..or just add 2 internal SAS HDDs. to split up the video and the cache and the OS/programs as is usually done with editing video.
    Thanks for your help in advance...
    Mike

    ...more information...problem still not solved....
    After searching more in the forums, I tried a couple more things:
    I tried to restart AME and clearing the preferences. This didnt help.
    I also deleted the ...appData/Roaming/Adobe/AdobeMediaEncoder/6.0 folder and all subfolders   No help here either.
    I also tried to import the sequence via AME rather than export via PP. This worked. The sequence loaded immediately and processed perfectly.
    When I export via PP, I hit the queue button, it hangs for about 3 mins, then the yellow bar appears saying "Connecting to Dynamic Link server"
    it then hangs for approx 3 mins again and then I get the Failed alert.
    the error log reports:
    Encoding failed
    Could not read from source. Please check if it has moved or been deleted.
    any help available here????

  • Premiere Pro CS4 Export fails with Media Encoder CS4 "Encoding Failed"," Could Not Read From Source.

    There has never been a history of Adobe CS3 installation on the brand new MAC Pro I am using prior to installing Master Collection CS4, despite other posts claiming that chief cause of this issue is a previous CS3, Beta or trial installations of previous versions. I simply had a straightforward installation of CS4 and have had trouble since day 1.
    I have uninstalled and reinstalled Master CS4 three times, two times with the action script cleaner for CS4. I tried changing Adobe Cache folder locations to alternative drives. I ran shift start many times to correct any inconsistencies and corrected for permissions using disk utilities repeatedly. All updates have been installed and I am still getting the same error when exporting my timeline to Media Encoder CS4, be it a large High Definition project or a small one consisting of few stills.
    No matter what presets I chose, the job appears as one of the items in the render qeuee of Media Encoder CS4 and sits there with the status WAITING until i hit Start Queue. When I do, it still says WAITING under Status and at the bottom corner of the window it reads : Loading "project name.prproj" and after an average of about 6 minutes, a yellow caution sign appears. No render whatsoever takes place. When I click on the yellow caution sign, it reads a log of all errors in connection with each job, including the ones that have gone before it. Here is one:
    Start of the Error Paste
    - Source File:/users/myname/Library/Caches/TemporaryItems/test.prproj
    - Output File:/ users/my name/Documetns/Adobe/Premiere Pro/4.0/Sequence 01.mov
    - Preset used :NTSC DV
    - Video:
    - Audio:
    - Bitrate:
    0 Encoding Time: 00:33:01
    Sat Mar 21 17:12:25 2009 : Encoding failed
    Could not read from the source. Please check if it has moved or been deleted.
    END OF ERROR Paste
    Please any gurus out there know how to troubleshoot this damn thing on Mac, I really appreciate it. I have not yet encountered any posts of Mac owners with no previous CS3 installation having this issue. I am in the middle of 3 projects with tight deadlines and need your urgent help. THANK YOU!

    Hello There,
    I resolved the issue through a simple process of elimination. So simple in fact I wonder how I missed it. Since there has been no history of prior CS3 installation on this machine and every conceivable trick was applied to resolve the problem (refer to my original post earlier in the thread) ending in frustration, the problem had to reside in a factor or series of factors that were only present in this machine. Of the two remaining causes different in compare to other machines, I had to look into the possibility of any hardware and/or software conflicts. After all, this very same installation works perfectly fine on my colleague's Apple Macbook Pro and several Windows machines.
    It turns out that I had installed Pro Tools on this machine that comes with all kinds of optional plug-ins in the so called ignition pack. One of these optional plug-ins is called IZOTOPE (three varieties include Spectron, Trash and another one that escapes my mind). They were all lite version licenses that would automatically pop up on their own when you would start a program where they had been residing. One such program where an association existed was indeed the Premiere. An annoying dialogue box directing you to buy the full version when you would start the premiere would refuse to go away. Sometimes it would even start on its own culminating in a a permanent dialogue box.
    The cause of the problem was right before my eyes and I had overlooked it. Once uninstalled using IZOTOPE clean uninstaller on step 4, the problem was resolved. Projects are now loading very fast into the AME and encoding begins in earnest. I have never had any issues ever since.
    Long story short, if you have any plug-ins specially the ones that are loading upon the start of any program or the ones that reside inside the premiere or the ones that start on their own independently, they could be one of the highly probable causes of this error. I have seen other similar posts complaining of plug in folders inside premiere that needed to be moved to resolve the issue for instance the ones that needed to be moved to AE folders. If you are a plug-in admirer, I would suggest to look into them seriously.
    On the side note, many combination and causes may lead to the same error. I am not claiming that this is the solution for everyone.
    It must also be noted that I applied the trick of creating a shortcut of Premiere (and naming it exactly as such) and dropped it into the Adobe Dynamic LInk folder (even though this was suggested for windows)and have changed the adobe Cache locations to an alternative folder on a separate drive. I haven't been able to establish conclusively if the latter steps are also essential in fixing the error on MAC but I can confirm that since the latter steps were taken before the uninstalling of Izotope plug-ins and i still had issues, probably uninstalling those plug ins or finding a way to move them to a place where they don't interfere (if you absolutely need to keep them) is the one essential step that solved the problem.
    Hope this helps.

  • Media Encoder - encoding failed - could not read from the source

    Using PPCC, AME queued jobs all fail with the message "Encoding failed. Could not read from the source".
    But doing a simple export works perfectly.

    I recall quite a few other threads about this.  Do a forum search.

  • How do I open RAW images from DSC_RX100M3?  I downloaded Adobe DNG converter 8.4, but could not convert the images?

    How do I open RAW images from DSC_RX100M3?  I downloaded Adobe DNG converter 8.4, but could not convert the images?

    Small correction to what SSprengel wrote...
    The RX100M3 is supported only by version 8.5.  It sounds like you need a newer version.
    Photoshop Help | Digital Negative (DNG)
    -Noel

  • Encoding Failed- Could Not Read from the Source

    I have a quickly approaching deadline for the short film I am working on, and it would be greatly appreciated if anyone knew anything of my predicament.  Everytime I try to export anything from Premiere Pro (CS4 of course), when I start the queue it says "Could Not Read from the Source.  Please check if it has been moved or deleted."  The files, of course, have not been moved or deleted, and the raw footage for the film is in the same place as everything else.  All my scratch disks are set to the same folder, etc.  I don't understand, and it won't even let me export to my camera.  It says it does, but when I check my camera, it's nothing but blank tape.  Any (quick) help would be very much appreciated!
    Thank you.

  • CS4 Pr-Encoder: "Encoding failed/Could not read from the source..."

    When i start queueing it apears to be loading fine but then after a few minutes it gives me the yellow hazard triangle on the status column. I have tryied changing settings and still the same.
    "Could not read from the source. Please check if it has moved or been deleted."
    ...is what the details notepad displays
    This is my first Pr CS4 editing, Please help.
    Thanx!

    latest versions of CS4 and snow leopard 10.6.1.
    May have no part in your problem, but many are having real issues with almost anything Adobe with Snow Leopard. There has been a lot of chatter saying that Apple is aware of this, and is working on an OS update to be released soon.
    While I have not seen this particular issue with Snow Leopard, there have been so many more, that I'd certainly put the OS into the list of "usual suspects." In the Encore forum, some had great success by rolling back the OS to whatever was prior to Snow Leopard, just plain old "Leopard?"
    Wish I had a definite cure for your ills, but the best that I can offer is that it does not seem that you are alone.
    Good luck, and I hope that the Mac OS update does fix things for you.
    Hunt

  • ApEx BIP report using webservice: could not convert null to bean field

    Seems like a pretty straightforward problem but I don't manage to find a solution.
    I have a BI Suite implementation on one server.
    And a database with ApEx on another server.
    I want to call a BIP report from within my ApEx application using the webservices (runReport) available in BIP 11g.
    I used soapUI to test my webservice. Result : OK
    When called from within ApEx, ApEx gives me a succes message but the report isn't generated. Instead the console on the BIP server shows the following error:
    <Sep 12, 2012 10:28:37 PM BST> <Error> <org.apache.axis.encoding.ser.BeanPropert
    yTarget> <BEA-000000> <Could not convert null to bean field 'sizeOfDataChunkDown
    load', type int>
    'sizeOfDataChunkDownload' is a field of the webservice that is left empty.
    That indeed is the only difference between my soapUI test and the ApEx situation.
    In soapUI I removed all empty fields. In ApEx this does not seem possible...
    Some extra information:
    - the webservice is created on this WSDL : /xmlpserver/services/v2/ReportService?wsdl
    - it's defined as a SOAP v2
    - no basic authentication
    - the reports are defined in the BIP environment; not in ApEx
    Edited by: kcaluwae on 13-sep-2012 3:19

    I overlooked a not nillable field...

  • JRE 1.5 VS. JRE 1.6 - Could not convert socket to TLS

    I have an applet that is trying to send an email through an SMTP server. It works just fine 1.6 but on 1.5 it blows up and I'm kind of at the end of my rope. Any help here would be great.
    I've had to set up the DummySSLSocketFactory as described in the JavaMail readme but still no luck on 1.5.
    Here is the error:
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc.]
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG SMTP: trying to connect to host "mail.bluebottle.com", port 25, isSSL false
    220 fe0.bluebottle.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 28 Jun 2007 08:25:34 -0700
    DEBUG SMTP: connected to host "mail.bluebottle.com", port: 25
    EHLO CC-FRED
    250-fe0.bluebottle.com Hello 207-174-73-129.officepartners.us [207.174.73.129] (may be forged), pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-AUTH LOGIN PLAIN
    250-STARTTLS
    250-DELIVERBY
    250 HELP
    DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP: Found extension "PIPELINING", arg ""
    DEBUG SMTP: Found extension "8BITMIME", arg ""
    DEBUG SMTP: Found extension "SIZE", arg ""
    DEBUG SMTP: Found extension "DSN", arg ""
    DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
    DEBUG SMTP: Found extension "STARTTLS", arg ""
    DEBUG SMTP: Found extension "DELIVERBY", arg ""
    DEBUG SMTP: Found extension "HELP", arg ""
    STARTTLS
    220 2.0.0 Ready to start TLS
    javax.mail.MessagingException: Could not convert socket to TLS;
      nested exception is:
                    java.net.SocketException: com.cc.util.controller.email.DummySSLSocketFactory
                    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1230)
                    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:378)
                    at javax.mail.Service.connect(Service.java:275)
                    at javax.mail.Service.connect(Service.java:156)
                    at javax.mail.Service.connect(Service.java:176)
                    at com.cc.util.discovery.DiscoveryService.sendViaSMTP(DiscoveryService.java:422)
                    at com.cc.util.discovery.DiscoveryService.discoverSMTPService(DiscoveryService.java:378)
                    at com.cc.util.discovery.DiscoveryService.discoverPOP3Service(DiscoveryService.java:330)
                    at com.cc.util.discovery.DiscoveryService.checkEmailService(DiscoveryService.java:126)
                    at com.cc.applet.CCNonBlockingThread$1.run(CCNonBlockingThread.java:180)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.cc.applet.CCNonBlockingThread.processEventData(CCNonBlockingThread.java:178)
                    at com.cc.applet.CCNonBlockingThread.run(CCNonBlockingThread.java:139)
    Caused by: java.net.SocketException: com.cc.util.controller.email.DummySSLSocketFactory
                    at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
                    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:249)
                    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1226)
                    ... 12 moreHere is the code:
                   Properties props = new Properties();
                   props.put("mail.smtp.auth", "true");
                   props.put("mail.smtp.host", smtpServer);
                   props.put("mail.smtp.starttls.enable","true");
                   // the line below is for java 1.5
                   java.security.Security.setProperty("ssl.SocketFactory.provider","com.cc.util.controller.email.DummySSLSocketFactory");
                   // these are for java 1.4
                  props.setProperty("mail.smtps.socketFactory.class","com.cc.util.controller.email.DummySSLSocketFactory");
                  props.setProperty("mail.smtps.socketFactory.fallback", "false");
                   Session session = Session.getInstance(props, null);
                   session.setDebug(true);
                   // -- Create a new message --
                   Message msg = new MimeMessage(session);
                   // -- Set the FROM and TO fields --
                   msg.setFrom(new InternetAddress(from));
                   msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
                   // -- Set the subject and body text --
                   msg.setSubject(subject);
                   msg.setText(body);
                   // -- Set some other header information --
                   msg.setHeader("X-Mailer", "FuserDiscoveryProcess");
                   msg.setSentDate(new Date());
                   // -- Send the message --
                   Transport tr = session.getTransport("smtp");
                   tr.connect(username, password);
                   tr.sendMessage(msg,msg.getAllRecipients());
                   tr.close();
                   CCLogger.getLogger().log(Level.INFO, "Message sent OK.");

    new info it works on 1.5.0_10 but not 1.5.0_06 any ideas?

Maybe you are looking for

  • ERROR in number range in F-02, FB60 and all fininace postings

    HI All could you please  help us on this issue , ERROR in number range    got this error while posting all FI related , we cant able to post documents we are in ready for SIT but in unit testing got this error  . we don't have any clue , kindly share

  • VI01(shipment cost)

    hi to all..! can any one help me on "shipment cost"...(VI01)? what exactly shipment cost ? how it will work? thanks rodick

  • How do I reinstall Photoshop CC after I had to reinstall Windows 7?

    I had major virus and malware in my Sony VAIO PC with WIN 7 PROF and had Sony re install the OS. I bought the license for Photoshop CC several months ago. How do I download and install it w/o having to get a new license?

  • J2se tag with differents versions ????

    Hi, I am new to jnlp, in our jnlp file we have : <resources> <j2se version="1.4.2*" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="100M" max-heap-size="200M"/> the application work only with 1.4.2 and 1.5 but not with 1.6 , How ca

  • I had to replace HD, lost latest version of OSX 10.6.8

    How can I get it back? I was last with 10.6.8 and now I'm back to 10.4.11 My HD was dying, the "Genius" at apple told me to replace it and reinstall with the disk I got with the computer. I would upgrade and never kept the discs, is there any way to