Getting crazy with new Xalan J 2 3 1!!! HELP!

I am using the following code with new Xalan for XSL Transformations:
public static String transform (Node xmlNode,Node xslNode)
throws XPTOException{
StringWriter writer = new StringWriter();
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer;
StreamResult result = new StreamResult(writer);
try {
transformer = tFactory.newTransformer(
new DOMSource(xslNode));
transformer.transform(new DOMSource(xmlNode),
result);
}catch (TransformerException e) {
String s= ServletUtils.getStackTraceAsString(e);
throw new XPTOException (res.getString("Msg_3"),s);
return writer.toString();
My XSL is ok, at least it always worked with old version of Xalan:
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" />
</xsl:stylesheet>
So I declare output method...
But I got this error:
java.lang.NullPointerException
     at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1003)
     at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:934)
     at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1083)
     at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
     at xpto.util.XSLTEngine.transform(XSLTEngine.java:93)
that by my research seems to be related with the output method for xsl....
I don't know what's going on!
Help!

How did you solve this problem?

Similar Messages

  • Open PO did not get updated with new price.

    A mass price change was updated in SAP for one of the supplier . All open orders did not get updated with this new prices.
    Can anyone tell me the reason why ?
    -Amol

    hi
    i think u have to do it manually
    logically if u see u can use diffrent prices in diff po
    if ur price is inr 100 in 1st po and u done gr ur rice will get updated in mm suppose it is 105
    next time u create the po of 110 rs  and done gr
    suppose ur price updated is 108 rs inmm
    so it is not happening that 108 is get updated in ur 1st po
    right so i think u have to update pos manually
    if i am wrong plz let me know
    regards
    kunal

  • Can't get internet with new Macbook pro

    As the title says I can't seem to get internet with my new Macbook Pro.  I get wifi fine, use the password on my router and that works, but I still can't get connected to the internet.  I know the router works, as I can use another laptop on it.  Any ideas on what to do? (other than call Apple which I'm doing when I get out of work.)

    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.
    Do not confuse moving your whole folder and library with moving just media files as in
    iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/HT1449
    which is what I think you did.

  • KONV not getting updated with new condition type value

    Hi,
    I have created a new condition type for a pricing procedure. But table KONV-KAWRT is not getting updated with any value. Can anyone help me this.
    Thanks
    Shweta

    Hi Vasu,
    It was created in the same way then I have assigned calculation formula . For invoice it is comming fine but for the intercompany billing it is not showing any value in Contition tab for this particular condition type. For this when I checked in KNOV table it is showing condition type but the value (KONV_KAWART) is comming out zero and due to this reason it is not showing value in intercompany billing ->condition. Do I need to write code for this?
    Thanks,
    Shweta

  • Email alert to apple ID after sim card gets changed with new number

    Hi , i would like to know that if i will get an email alert  when my sim card gets changed with the new number, to the apple ID or email ID that i  registered with Apple.

    I would try a few things along the lines of:
    Resetting the iPhone (not just shutting it down)
    Going to Settings>Carrier> this refreshes the carrier list
    Check to make sure it's on automatic or that the 3G AT&T network is selected
    Turning Airplane mode on then off to try to kick start the phone and along the same vain Flicking 3G on and off in Settings>General>Network
    Then a restore
    Then contact AT&T, double check the SIM is 3G enabled, and even if it is still get a replacement SIM
    If none of this worked i would then contact AppleCare or go in to see a genius at an Apple store cause maybe the 3G chipset is stuffed

  • Sorry I do not understand I neeed to get started with elements 10 and so far no help received

    I am trying to get started with Adobe elements 10 and selected organise so as to transfer my many files over
    this I have been unable to do.
    Being asked for ID name ( already registered) which mena scoming out of one page hunting in fact its all very frustrating.. HELP
    Post message sorry how do I get help?????????

        Hi casheasy!
    I sure don't want our first month with you to start off on the wrong foot! I'd be happy to review the charges on your first bill and make sure all is correct. I have followed you in the forums. Please accept my request and follow me back. Then, please send me a DM with your name and mobile number and I'll check it out for you!
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • Youtube videos loads but after 2-4 sec the player area gets blank with ivory white colour... Help

    Youtube videos loads but after 2-4 sec the player area gets blank with ivory white colour..
    == This happened ==
    Every time Firefox opened

    Why are you using such an old version of Firefox. The older versions have known security issues. Consider upgrading to the current version. (Help > Check for Updates)
    <u>'''''Adobe Flash'''''</u>
    You are using a <u>'''very old'''</u> version of Flash Player. Updating Flash Player may solve your problem
    <u>'''Install/Update Adobe Flash Player for Firefox'''</u>: your ver. 10.0 r10; current ver. 10.1 r53 ('''important security update 2010-06-10''')
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.13; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 and above; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • What do you recommend to get started with Dynamics Marketing? Book, You Tube, help searches, etc.? Please advise.

    Trying to get started with marketing using dynamics and tutorials, help searches and you tube seem to be fruitless. What do you recommend to get started? Buy a book to walk thru setting up company settings and creating campaigns? Need some easy steps on
    not what the software is capable of but how to do it with easy 1-2-3 steps.  Please share you thoughts!!

    Hi cb,
    I would recommend a few articles here. There are videos, walkthroughs and ebooks that you can take a look at the have
    a better understanding of not only what the product is capable of, but how to actually configure and work with it.
    Help & Training - Videos and ebooks
    TN Articles 

  • Getting warnings with new GCC

    The new GCC complains about classes with virtual functions but without virtual destructors. This results in an abundance of warnings when compiling Qt and KDE software, to the point that it completely clutteres the compiler's output.
    Is this a known issue?
    Elad

    dibblethewrecker wrote:
    elahav wrote:I have encountered what, from my point of view, is a regression in Archlinux.
    I fully understand that it is not Arch's fault that these warnings appear.
    I'd quit while you are behind, mate.
    It's getting a bit tiresome to explain myself, so I'll try to do it once and get it over with. Anyone still thinking I am behind, contradicting myself, or simply a complete moron, is entitled to do so.
    I am a software developer, running Archlinux on my computers. Today I have upgraded my work machine, using pacman, following the move to GCC 4. As a result of this upgrade, I get an abundance of warnings every time I try to compile any piece of code using the Qt and KDE libraries.
    The warnings are a result of bugs made by Qt and KDE developers. Not having a virtual destructor for a class containing virtual methods is bad C++ programming. Arch developers are in no way to be blamed for this.
    However, as an Archlinux user I have experienced a regression. A regression is a change for the worse in the behaviour of a product. This change was not the result of a modification in the Qt/KDE code, but rather in Archlinux (the move to GCC 4).
    If you take a look at some packages, you will often find that the Archlinux developers have included fixes to bugs in the package's own code. This does not mean that the Arch developers are responsible for the bug, but they do take on the responsibility of fixing it in order to make a better final product (the Archlinux distro as a whole).
    Since many other distros have made the move to GCC 4, and since software using the Qt and KDE libraries is quite common (to say the least), I was simply wondering if this is a known problem that has perhaps been fixed elsewhere. It would be strange if no one else has noticed it.

  • Have 3g reception but cannot get online with new 4s.

    I just got a new 4s and whilst using it this weekend in Cork city centre with full 3g coverage shown I couldn't get online. Resetting it worked briefly but then stopped and wifi is working fine.  Any ideas? Thanks. Oliver

    Hi Minnamumu:
    In the Airport Admin Utility, configure the airport with the following:
    Airport Tab: Wireless Mode: Create a Wireless Network (Home Router)
    Internet Tab: Connect using: ethernet
    Network Tab: Make sure the Distribute IP addresses is NOT checked.
    Have a go at that, if that get's you up and running, then I would suggest going back under the airport tab and turning on some form of wireless security. (I recommend WPA2)
    Let us know if that helps you out and get's you online!

  • Since new version i get spambed with popups dispite restricted settings, i need help because i cant use the internet properly any more due to constant barage.

    Sine the new version downloaded ive had nothing but problems, at first it was faster and smoother, then every time i clicked on something or stayed on a page for more than a few minutes it would redirect me to another page to do with a game or other spam or it would just open a new window.
    Ive been an abid user of Firefox for years now and this is the first serious problem ive ever had, id really like it sorted or directions on how to restore everything back to how it was in the last version. I just cant do anything on the internet any more because of it.
    Thank you for your asistance.

    Can you send me your troubleshooting information from the Firefox installation that's having issues? This is a good part in troubleshooting.
    *Navigate to <code>about:support</code> via Address Bar
    *Click the button that says <code>Copy text to clipboard</code>
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Starting to get upset with new FX5600

    OK - I bought a FX5600 yesterday and things seemed OK with a bit of crashing which I figured were teething problems, maybe with drivers (apart from the software thing I've whinged about on another thread). Then I found out that there were these new Detonator drivers out (44.03) so I got them. Then the brown stuff really hit the spinning thing. I can't play anything for more than 30 minutes without a crash now. 'Daikatana' now plays worse than it did with my old GeForce2, even though when I first installed the new card I was bossing UT2003 with full effects. I can't even revert to the old drivers because the install program doesn't recognise my GeForceFX as an NVIDIA chip!!
    I figure it might be to do with IRQ type scary stuff. This is what my device manager shows (repeated lines e.g. IRQ 5 are just as they are shown on screen):
    00 System Timer
    01 Standard 101/102 keyboard
    02 Programmable interrupt controller
    03 Communications port (COM2)
    04 Communications port (COM1)
    05 Conexant PCI modem enumerator
    05 VIA TECH 3038 PCI to USB Universal Host Controller
    05 ACPI IRQ Holder for PCI IRQ Steering
    05 ACPI IRQ Holder for PCI IRQ Steering
    06 Standard floppy disk controller
    07 EPSON Printer Port (LPT1)
    08 System CMOS/real time clock
    09 VIA TECH 3038 PCI to USB Universal Host Controller
    09 VIA TECH 3038 PCI to USB Universal Host Controller
    09 ACPI IRQ Holder for PCI IRQ Steering
    09 SCI IRQ Used by ACPI Bus
    10 VIA USB 2.0 Enhanced Host Controller
    10 CMI8738/C3DX PCI Audio device [my onboard sound]
    10 ACPI IRQ Holder for PCI IRQ Steering
    11 VIA TECH 3038 PCI to USB Universal Host Controller
    11 NVIDIA GeForce FX 5600
    12 PS/2 Compatible Mouse
    13 Numeric data processor
    14 VIA Bus Master PCI IDE controller
    14 Primary IDE controller (dual fifo)
    15 VIA Bus Master PCI IDE controller
    15 Secondary IDE controller (dual fifo)
    Whew. That took a long time to type. Now, I don't understand IRQ stuff beyond what an interrupt is. I certainly don't know which things are safe to be on the same IRQ slot. But it seems to me that all those repeats can't be right - can they? Mainly though, the graphics card is sharing an IRQ with two other things - is this bad?
    I would really appreciate it if someone could help me out with this. Is there a problem with my IRQs and if so, what on earth do I do to fix it?
    Many, many thanks in advance.
    Ross
    AMD XP 2100+
    ASUS A7V333
    512MB PC2700
    MSI FX5600 VTDR128
    PSU - 400W (brand new)

    Ross,
    APIC is enabled in the BIOS. You do not want to enable since it would mean you would need to install your OS again in order for it to function correctly. On Motherboards with APIC the default is usually enabled. Seeing you do not have it enabled and I am guessing you did not disable it in your BIOS. this makes we wonder if you are running Win98SE or WinME since they do not use APIC? (The only thing you missed listing above in your first post.)
    Here is a little more info direct from Microsoft on APIC:
    Key Benefits of the I/O APIC
    Take Care,
    Richard
    P.S. My wife is from Weybridge in Surrey, so you might find me at your door one day, waiting to head to your Local for a pint.

  • How to get started with new smart iPhone?

    OK, we are new to smart phones and just ordered the Verizon iPhone. We are Mac users for years. We have a few songs in iTunes, lots of photos in Aperture and a large calander of events and a large phone book on the Mac. The phones we have are essentially empty, nothing in there to keep, nothing.
    What do we do to get pictures and our large list of addresses from AddressBook and other programs into the new phone when it get here?
    aehaas

    They are designed to sync via iTunes. Follow the steps in this article - http://support.apple.com/kb/HT1386

  • Older mac 2009 getting slower with new updates

    Hi
    This may be obvious - but does installing 6 years of updates onto my 2009 iMac result in the computer getting slower? Response times for searching in safari get longer etc and generally taking a few minutes to work fully is getting longer as the years go by. It could be old age I suppose.
    Thanks

    How much RAM do you have installed? Apple menu>About this Mac>Memory will show this information. 2gb of RAM and the Mac will work, but likely perform like a slug, 4gb is better, but in my experience performance is still not great. 8gb and the Mac should perform well. I recently upgraded an early '09 Mac with 4gb of RAM to 8gb and the difference is like chalk and cheese - no more spinning beachballs or fans working overtime.
    Macsales and Crucial are good places to buy RAM, and it's very to do the upgrade yourself on 09 Macs:
    http://uk.crucial.com/gbr/en
    http://eshop.macsales.com/shop/apple/memory/iMac

  • Yahoo! mail cannot get mail with new account setup

    Hi:
    Trying to set up mail. I just set up a new account with yahoo and i wanted to know if there is any type of grace period i need before i try to set it up with my iphone. otherwise, why woundnt it work. I wanted to set up my school mail but i can so i am going to have to forward it.\
    Thanks

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u>
    Please report back to say if this helped you!
    Thank you.

Maybe you are looking for