Invalid conversion using Transformer in 1.5 (did work in 1.4.2)

This bit of code used to work in 1.4.2 but ever since switching to 1.5 i am receiving this error:
transformer.transform(new StreamSource(path + file), new StreamResult(new FileOutputStream(path + "transformed-" + file)));the error:
ERROR:  'Invalid conversion from 'com.sun.org.apache.xalan.internal.xsltc.dom.SimpleResultTreeImpl' to 'node-set'.'
Exception in thread "main" javax.xml.transform.TransformerException: java.lang.RuntimeException: Invalid conversion from 'com.sun.org.apache.xalan.internal.xsltc.dom.SimpleResultTreeImpl' to 'node-set'.Anyone have any ideas?

This bit of code used to work in 1.4.2 but ever since switching to 1.5 i am receiving this error:
transformer.transform(new StreamSource(path + file), new StreamResult(new FileOutputStream(path + "transformed-" + file)));the error:
ERROR:  'Invalid conversion from 'com.sun.org.apache.xalan.internal.xsltc.dom.SimpleResultTreeImpl' to 'node-set'.'
Exception in thread "main" javax.xml.transform.TransformerException: java.lang.RuntimeException: Invalid conversion from 'com.sun.org.apache.xalan.internal.xsltc.dom.SimpleResultTreeImpl' to 'node-set'.Anyone have any ideas?

Similar Messages

  • Error 1603 - key invalid for use in specified stat...

    cannot use skype, cannot re-install Skype
    get: error 1603
    and window stating: key invalid for use in specified state
    Skype was working fine up to yesterday (Sept 15 2014)

    ruwim escribió:
    Try to uninstall Windows Security update KB2918614.
    http://community.skype.com/t5/Windows-desktop-client/Error-Key-not-valid-for-use-in-specified-state/​...
    I personally whould not recommend that, because uninstalling the update KB2918614 places the Windows Installer service back to its original design, but also leaves it vulnerable to the reported security issue https://technet.microsoft.com/library/security/MS1​4-049
    more info about this here: http://windowsitpro.com/security/bug-or-feature-kb​2918614-alters-windows-installer-behavior
    so, the right way to solve this this, is fixing user credentials and permissions, that could be corrupted by a virus.
    1 - Reset File Permissions: http://www.tweaking.com/content/page/reset_file_pe​rmissions.html
    2 - Reset Registry Permissions: http://www.tweaking.com/content/page/reset_registr​y_permissions.html
    3 - Repair MSI (Windows Installer): http://www.tweaking.com/content/page/repair_msi_wi​ndows_installer.html
    after that, you can try uninstall KB2918614 and then install KB2918614 again from Windows Update in Control Panel.

  • Acrobat X - You have created an invalid conversion job.."

    I recently purchased a new computer with Windows 7 and have upgraded all my software. I have MSOffice 2010 and the download (trial) version of Acrobat X.  When I prepare a document in MSWord (in either .doc or .docx format) and click on the Create Acrobat icon, I get the message "You have created an invalid conversion job..."  If I try to Print to Acrobat, the program goes into non-responisve mode until I use Task Manager to terminate it.  Thus for all practical purposes a full version of Acrobat X is useless and as a work-around, I transfer the documents to my laptop, which still has an earlier version of Acrobat which works.  I purchased the full Acrobat X and am waiting for delivery of my disk to get a serial number to convert my trial to a registered version.  Is this a problem with the trial version, is my install incorrect, or what?

    I have just finished over four hours of support sessions with Adobe and Microsoft support and I think the problem is finally solved.  On Monday  and Wednesday I spoke with two Adobe support personnel and in the second case, I felt that I was teaching him Acrobat. They seemed to want to start at the beginning and after an hour, they finally got to my problem. By that time on Wednesday, I was really frustrated.  I called Adobe support today and got an agent who appeared to be able to start with my description of the problem and investigate from there.  It appeared to be a permissions problem and as a matter of fact when he had me create a second account on the computer, I was able to generate pdf. Why it didn't work with mine, I had no clue.  He did a few things and asked me to uninstall both Office and Acrobat and reinstall.  I got them both uninstalled, and then found that what I thought was my Office installer had a problem which directed me to MS support.  After some time trying to find the correct support, I found someone who downloaded a complete install of Office (not just the install stub) and installed Office and stuck around while I installed Acrobat to see that I got that working, which this time it did.
    There was more to the problem than just joboptions files and although I watched each person operate, I couldn't say whether it was an Adobe or Microsoft problem and who or what really solved it.  But it's solved Thanks.

  • How to insert a blank value in not nul column using transform activity

    can anyone help me on how to insert blank values in a not null column using transform activity or however possible..This is a requirement in my project ..

    vidya
    In DB adapter or-mappings.xml , did you made any changes. If not the open that file in any notepad editor and change the following
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>You can try to add this:
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <null-value></null-value>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>Refer below link for details
    Re: Insertion of Blank value to a Not Null varchar column in SQL server table
    Thanks
    AJ

  • URGENT :::: Prepared Statement : Invalid Conversion Error

    Hi,
    I have prepared statement to update a database record. It is working fine but sometime it throws follow. SQLException. I checked the data I'm passing to the prepared statement. Everything works fine on the desktop but sometime it throws the foolow. exception on the websphere server.
    Error = SQL ERROR -99999 [IBM][CLI Driver] CLI0102E Invalid conversion. SQLSTATE=07006 In Method = performBulkOperation Of Class = com.bbh.actionworld.bulksql.BulkProcessing
    Its an urgent problem. Could you please help me ?
    thanks in advance.

    Hi
    I am using a prepared statement to insert records into an RDBMS. I am using JDK 1.4.1. I use setTime to set the date fields.
    My statement is
    pstmtAddFC.setTime(15, Time.valueOf("00:00:00"),
    Funcs.getCalendar(mydate));
    Where getCalendar sets the calandar to the date specified in mydate.
    I am using the JDBC:ODBC driver to connect to the database.
    This works fine with Oracle but gives
    java.SQL.Exception: [IBM][CLI Driver] CLI0102E Invalid Conversion. SQL STATE =07006
    Any suggestions? Thanks
    Regards
    Lakshmi

  • Error 10123 Invalid paramID used

    Hello,
    I am using ComponentWorks to create a buffered event counting application in Visual Basic.
    When configuring the counter to be gated on a PFI line, I get the following error: "error 10123: configuring gate properties, invalid paramID used".
    I would like to use PFI31 as a gate for counter 2, and my code is posted below.
    Can you help, please?
    Thank you
    CWCounter.Device = 1
    CWCounter.NMeasurements = N
    CWCounter.BufferMode = cwctrContinuous
    CWCounter.GateSource = cwctrPFIGS
    CWCounter.GateSignal = 31
    CWCounter.Counter = 2

    Apparently, it's the driver.  In general, DAQmx makes it easier to route timing signals, handling more of the grunt-work behind the scenes.  It also has extended the range of routings allowed, such as the case you've discovered.
    An old trick I used to use in traditional NI-DAQ was to explicitly route a signal up onto a RTSI line and then configure my task to use that RTSI line as a Source or Gate or whatever.   When I did it, I was typically routing a pulse train output or an analog sample clock signal.  I'm not certain, but there *may* be a way for you to do such a routing from PFI to RTSI even on an input pin.  I recall that this indirect routing allowed me to program some things I couldn't have routed directly, but I'm not sure if I ever routed an input PFI to RTSI.  I can only vouch for routing counter outputs.
    If you explore your device under MAX, there's a tab or menu option somewhere to define valid and invalid routing combos.
    -Kevin P.

  • Time offset in Conversion or Transformation

    Hi Gurus
    I have a question, I can generate time offset in conversions or transformation? for example a function to load data 2011 and that automatically be save as 2012, but dynamic, without script logic?
    something like this
    *MAPPING
    TIME=TMVL(12, 0FISCPER)
    thanks and
    regards
    Edited by: Nayadeth jeldres on Dec 5, 2011 10:52 PM

    As far as i know , we can not use TMVL in transformation or conversion file. Its a script logic keyword

  • "Invalid IP used" message when visiting a website?

    I've visited http://www.pretty-scary.net/ plenty of times in the past without difficulty (I'm also a contributor there), but recently when I try to go there I get a white page with "Invalid IP used" in the upper left hand corner of the window. I don't get this message with any other website I've visited. I'm still able to visit the website and log into the forums at other people's houses on their computers.
    Right now I'm using my iBook with 10.3.9 and the problem occurs in Safari, Firefox, and Internet Explorer. I have the same problem on my iMac DV.
    The site adminstrators said they don't have any IPs blocked. I spent time on the phone with Roadrunner trying various things: clearing history, cache, cookies, PINGing the site (no problem there), creating a new location in the Network System Preferences and deleting the old one, installing the latest version of Macromedia Flash, but to no avail.
    Any idea of why this might be happening, what I could try doing, or what I could suggest to the site's maintainers to try? Thanks!

    Did the ISP have you unplug the cable box, wait 30 seconds, then restart?
    Also, look in your library (main or user) >preferences> ByHost folder. Remove any networkconnect items. Restart Safari. If no change, move these items back into their original location.
    Post back with results.

  • In my first iPhone 5, the speaker didn't work and people could not hear me on Speaker phone when I used it. When I used the video recording it did not record sound at all only a hissing/static sound, no voice.

    In my first iPhone 5, the speaker didn't work and people could not hear me on Speaker phone when I used it. When I used the video recording it did not record sound at all only a hissing/static sound, no voice. I wished for a software fix. I did a hard reset, nothing. I did a full restore to factory settings not putting my backup on and the problem persisted.
    i have been provided with this info
    You can find troubleshooting tips, how-to articles, and moderated
    > > discussion forums on our support website:
    > >
    > > www.apple.com/support
    > >
    > > iPhone: Basic troubleshooting
    > > http://support.apple.com/kb/HT1737
    > >
    I did every step in the link that i have been provided with (thank you), but I’m
    still experiencing the same issue. My experience with Apple has been
    excellent and this has been the first time I have experienced something
    like this with an Apple product. I hope we can find a quick solution.
    In order to get the iPhone 5 as soon as it launched (being a major fan of
    Apple products!), I purchased my iPhone 5 from the UK through a friend of
    mine who lives there.
    My question is: can I have the faulty device replaced within Saudi by one
    of the official resellers here (we have 3: STC, Mobily and Zain)? I want to
    avoid the disruption, complication and expense of sending it back to the
    UK.
    Could you advise whether this is possible or not, and if not how should I
    go about having the device replaced?
    Thank you in advance for your cooperation.

    Nice try! Take a hike.

  • My Ipad did work on my wireless at home and works on other wireless but no longer at home. My IPhone works at home and others can use the wireless Confused that it did work and now does not?

    My Ipad did work on my wireless at home and works on other wireless but no longer at home. My IPhone works at home and others can use the wireless> Confused that it did work and now does not?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Turn Off your iPad. Then turn Off the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    On your iPad go to Settings > General > Reset > Reset network settings and see if that enables you to connect.
     Cheers, Tom

  • SQL Data Sync - column type invalid for use as a key column

    Hello,
    our sync group is failing to do the sync. Here's a tracingID:
    For more information, provide tracing ID ‘e3e568b5-140a-4ae5-a4c8-c178c6bf805d’ to customer support.
    I must say, that the column in DB is not a PK or INDEX-ed, it was initially VARCHAR(MAX), after some reading I changed it to VARCHAR(200) and later to TEXT, but the result of syncing is still the same.
    Thank you,
    Bojan

    Hi Bojan,
    The error “column type invalid for use as a key column” could be due to the existence of unsupported data types or column properties when implementing the synchronization. I recommend you check your database according to this article:
    SQL Database Data Types supported by SQL Data Sync.
    Besides, before you design and implement a data synchronization plan, please check the following articles about system requirements for SQL Data Sync and so on.
    System Requirements for SQL Data Sync
    https://msdn.microsoft.com/en-us/library/azure/jj127278.aspx
    Known SQL Data Sync Limits
    https://msdn.microsoft.com/en-us/library/azure/jj590380.aspx
    SQL Data Sync Best Practices
    https://msdn.microsoft.com/en-us/library/azure/hh667328.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Payment_method_lookup_code in supplier conversion using api

    The conversion is from 11i to R12. I am working on supplier conversion using API. The AP_VENDOR_PUB_PKG create_vendor or create_vendor_site does not have Payment_method_lookup_code to update into apps. How can i update the Payment_method_lookup_code for a supplier?
    Any help will be appreciated.
    Bhargavi

    You could use AP_VENDOR_PUB_PKG.create_vendor_Site and pass the vendor_site_rec fields along with the following addition.
    p_vendor_site_rec.ext_payee_rec.default_pmt_method := 'EFT';
    This would create the Default Payment Method in IBY_EXTERNAL_PAYEES_ALL.
    Hope this helps.
    -Geetha K

  • JMS Adapter Content conversion using Webspear MQ

    Hi All,
    I have a scenario  where I have to pick a flat file from WebSpear JMS Q.In turn I should convert flat structure into xml structure to parse to the RFC structure(YOTCS_I090_INV_S) and map to the traget structure.
    Below is the Source structure:
    Messages
    ->Message1
    -->YOTCI_I090_INV_SYNC
    --->YOTCS_I090_INV_SYNC
    >item
    >ZDATE
    >TIME
    >TZONE
    >WERKS
    >MATNR
    >LGORT
    >CHARG
    >SOBKZ
    >INSMK
    >LIFNR
    >ZMENGE
    >ZMEINS
    >LOT_NUMBER
    >CODE_DATE
    Source file look's as below:
    YOTCS_I090_INV_S                                                                                4928
    YOTCS_I090_INV_S                                                                                3
    YOTCS_I090_INV_S                                                                                3
    YOTCS_I090_INV_S                                                                                1
    I am doing the file contact conversion as below in JMS Adapter:
    Module Key      ParameterName                           ParameterValue
    Plain2XML        Transform.Class                           com.sap.aii.messaging.adapter.Conversion
    Plain2XML        Transform.ContentType                 text/xml;charset=utf-8
    Plain2XML        xml.conversionType                      StructPlain2XML
    Plain2XML        xml.documentName                      YOTCI_I090_INV_SYNC
    Plain2XML        xml.documentNamespace            urn:sap-com:document:sap:rfc:functions
    Plain2XML        xml.item.fieldFixedLengths           8,8,6,4,18,4,10,1,1,10,13,3,10,8
    Plain2XML        xml.item.fieldNames ZDATE,TIME,TZONE,WERKS,MATNR,LGORT,CHARG,SOBKZ,INSMK,LIFNR,ZMENGE,ZMEINS,LOT_NUMBER,CODE_DATE
    Plain2XML        xml.processFieldNames             fromConfiguration
    Plain2XML        xml.recordsetStructure               item,*
    Can any one help me in configuring the Content conversion? Hope you got my issue.
    Thanks in Advance.
    Best Regards,
    Jose

    Joseph,
    Go thru the Below Link
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Cheers
    Agasthuri Doss

  • Order Import failing with error "The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory."

    Hi All,
    I am getting this error while importing an internal sales order.
    “The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory.”
    I have tried to set mentioned profile as ‘Yes’. But still getting same error.
    Also, provided subinventory is present and active in given inventory organization.
    Please share if anybody encountered this before and have a solution.

    Hi 2878342
    Please refer the following metalink note, it should resolve your problem.
    Order Import Interface.Error Message Specified Subinventory Is Invalid To Use (Doc ID 406411.1)

  • How can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    how can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    As has been mentioned Adobe Reader cannot export PDF page content. Nor can it create PDF or manipulate PDF page content.
    What you can do is use one of Adobe's online subscription services. Two provide for PDF  to Word export.
    There's ExportPDF and PDF Pack.
    Be well...

Maybe you are looking for

  • Can I connect to two wireless networks at a time?

    I am using an iMac currently connected wirelessly to a Verizon Mifi mobile broadband on one network. I also have a Linsys router connected to the same iMac via an ethernet cable so that I may stream my itunes content to my Apple TV third gen. Lets ca

  • Syncing iTunes with iPhone 4

    i recently synced my iphone 4 and lost all the music on my phone.  all of the music on my phone disappeared, but is still available on my computer.  I believe I synced the music to icloud, and it is not recognizing the music i downloaded prior to tha

  • My daughter's MacBook was stolen today in OKC and she didn't remember setting up find my Mac. Does this come already set up in the default settings?

    My daughters MacBook was stolen today in OKC and she doesn't recall setting the find my Mac to "on".  Is it set to on as a default?

  • !!!Duplicate folio appearing in viewer!!!

    We recently had an app approved in the app store. Upon distributing our first folio, we noticed an error in the content, fixed it and pushed out an update. iPad 1&2 users that previously downloaded the app received a notification that an update to th

  • ABAP in Duet

    Hi All,        Iam new to Duet. I worked on SAP Web Services using SOAMANAGER transaction and creating RFC function modules. But regarding DUET, Please clarify me 1.whether SAP Webservices are used to enable end users to access sap services through G