This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[Nb Build 200311251900, jdk1.4.2] Steps to reprosuce: ------------------- 1) right-click XML or XSL node and choose 'XSL Transformation...`, XSL Transformation dialog appears 2) click Browse... buton IDE throws:
Created attachment 12312 [details] NPE
Problem was in the obtaining icon for the file selector according the exception. But now I'm not able to reproduce this bug. I suspect that could be caused with the new windowing system.
Well NPE is not thrown any more. But this message appeared in my console after I click browse button: [Fatal Error] :1:1: Content is not allowed in prolog. CHYBA: 'Content is not allowed in prolog.' ZĂVAĹ˝NĂ CHYBA: 'Nelze kompilovat pĹedlohu se stylem' What do you think it might be? (reopening to be sure I get the answer:)
I'm using: Product Version = NetBeans IDE Dev (Build 200408041800) Operating System = Linux version 2.4.22-1.2115.nptl running on i386 Java; VM; Vendor = 1.5.0-beta3; Java HotSpot(TM) Client VM 1.5.0-beta3-b61; Sun Microsystems Inc. Java Home = /usr/local/java/jdk1.5.0/jre System Locale; Encod. = cs_CZ (nb); ISO-8859-2 Home Dir; Current Dir = /usr/local/home/delphym; /usr/local/forte/forte3/NBdev-last/netbeans/bin
Also a CancelUserException was thrown when I click on Cancel button on "Select XML Document" invokend by Browse button... rather entering new issue #46967
This printed message is fully reproductable with Adresses.xml document which I'm going to attach
Created attachment 16675 [details] Adresses.xml document which help to simulate UCE and the strange error message
Cannot reproduce (but I commented out DOCTYPE). INFORMATINAL exceptions do not appear in final build. Please report only if connected with disfunctionality. In such case it can help to reveal real cause.
Petre what you can reproduce? IMHO the UCE and the strange message [fatal error] is fully reproductable. Reopening (to get the answer from Petr:)
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer prints directly to console. Fatal Error] :1:1: Content is not allowed in prolog. ERROR: 'Content is not allowed in prolog.' FATAL ERROR: 'Could not compile stylesheet' JDK_1.5
hmmm... OK, verifying... NO NPE, and you probably can't fix the strange FATAL ERROR output in console..