java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource
Daniel Kvasnička
daniel.kvasnicka.jr at gmail.com
Mon Mar 15 16:08:25 PDT 2010
Hi people,
I'm trying to get GlassFish v3 running on OpenJDK 7 (compiled today,
Mac PPC) and when I try to load the admin console it dies on:
Caused by: java.lang.UnsupportedOperationException: Cannot create
XMLStreamReader or XMLEventReader from a
javax.xml.transform.stream.StreamSource
at
com
.sun
.xml
.internal
.stream
.XMLInputFactoryImpl
.jaxpSourcetoXMLInputSource(XMLInputFactoryImpl.java:283)
at
com
.sun
.xml
.internal
.stream
.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:109)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:104)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:100)
at
org
.glassfish
.admingui.plugin.ConsolePluginService.init(ConsolePluginService.java:
121)
at
org
.glassfish
.admingui
.plugin
.ConsolePluginService.getIntegrationPoints(ConsolePluginService.java:
423)
at
org
.glassfish
.admingui
.common
.handlers.PluginHandlers.getIntegrationPoints(PluginHandlers.java:160)
at
org
.glassfish
.admingui
.handlers
.ThemeHandlers.getThemeFromIntegrationPoints(ThemeHandlers.java:98)
I've found a pretty similar issue here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6909759
It says it's been fixed and delivered somewhen in February. Are fixes
like these added to OpenJDK 7 as well? Would it be possible to port it
there or should I patch it and compile myself?
Thanks,
Dan
--
http://www.danielkvasnicka.net -- webdesign, programování
internetových a intranetových aplikací | web applications development
& design
http://blog.danielkvasnicka.net/ -- blog
More information about the bsd-port-dev
mailing list