chris-twiner/scalesXml — Issue #1: scala.collection.immutable is sealed, so MutableVectorLike can't be loaded
Author: greenrd
Created: 2012-01-03 18:00:33+00:00
State: open

java.lang.SecurityException: sealing violation: can't seal package scala.collection.immutable: already loaded
at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:395)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:417)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.scala$tools$nsc$util$ScalaClassLoader$$super$findClass(ScalaClassLoader.scala:86)
at scala.tools.nsc.util.ScalaClassLoader$class.findClass(ScalaClassLoader.scala:51)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.findClass(ScalaClassLoader.scala:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.scala$tools$nsc$util$ScalaClassLoader$$super$loadClass(ScalaClassLoader.scala:86)
at scala.tools.nsc.util.ScalaClassLoader$class.loadClass(ScalaClassLoader.scala:57)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.loadClass(ScalaClassLoader.scala:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at scales.xml.MutableVectorLikeStrategy$class.beginSubTree(OptimisingStrategies.scala:189)
at scales.xml.QNameAndSpeedierStrategy$.beginSubTree(OptimisingStrategies.scala:202)
at scales.xml.XmlParser$Handler.startElement(XmlParser.scala:147)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:506)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3063)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:881)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
at scales.xml.XmlParser$$anonfun$loadXml$1.apply(XmlParser.scala:29)
at scales.xml.XmlParser$$anonfun$loadXml$1.apply(XmlParser.scala:27)
at scales.xml.XmlFactories$DefaultSAXParserFactoryPool$$anon$1$$anonfun$loan$1.apply(XmlFactories.scala:40)
at scales.xml.XmlFactories$DefaultSAXParserFactoryPool$$anon$1$$anonfun$loan$1.apply(XmlFactories.scala:40)
at scales.utils.SimpleUnboundedPool$class.loan(Resources.scala:163)
at scales.xml.XmlFactories$DefaultSAXParserFactoryPool$.loan(XmlFactories.scala:28)
at scales.xml.XmlFactories$DefaultSAXParserFactoryPool$$anon$1.loan(XmlFactories.scala:40)
at scales.xml.XmlParser$class.loadXml(XmlParser.scala:26)
at scales.xml.package$.loadXml(package.scala:3)

etc.