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.
Using Java 1.5.0_05, Tomcat 5.5.15, Netbeans 5.0 or 5.5 beta. When profiling the following code, javax.xml.transform.TransformerFactory factory = TransformerFactory.newInstance(); log.debug("loading stylesheet " + url.toExternalForm()); is = url.openStream(); Source xslSource = new StreamSource(is); xslSource.setSystemId(url.toExternalForm()); translet = factory.newTemplates(xslSource); templates.put(url.toExternalForm(), translet); I get the following errors on the attached server console, at which point the server hangs. DEBUG [15:19:37] - loading stylesheet file:///D:/config/transform/internal/probl em-map.xsl Profiler Agent Warning: JVMTI classLoadHook: class name is null. Profiler Agent Warning: JVMTI classLoadHook: class name is null. Profiler Agent Warning: Failed to lookup cached class problem_map Any help would be greatly appreciated.
I used your code fragment to create a small test class but I wasn't able to reproduce the problem. Could you send us your MESSAGES.LOG file?
Created attachment 31420 [details] As requested :)
Still no luck in reproducing the bug. Do you, by any chance, use any kind of bytecode modifying framework (like AOP, ORM etc.)? Also, the "problem_map" class is a normal class or something generated by a framework from the XSL file? Could you, plz, send us the corresponding tomcat logs? For a time being you could give a try to the latest NB5.5 + Profiler 5.5 q-builds; there was an issue with classloaders fixed - might help.
*** Issue 76506 has been marked as a duplicate of this issue. ***
Created attachment 31635 [details] MESSAGES.LOG from profiler Q-Build 200606151230
Created attachment 31636 [details] Tomcat Log files
As requested, I have tested this with the latest q-build and it still fails for me. I have also included the Tomcat logs, but they don't appear to be terribly informative. Would it be possible for you to attach the code you have been using to reproduce the issue so I can test it locally?
This issue is duplicate of #84002
*** This issue has been marked as a duplicate of 84002 ***
Closing old issues