Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3623

NCDFE Could not initialize class java.util.Currency in UsecasesTestCase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • jbossws-cxf-4.2
    • None

    Description

      As a consequence of having excluded some tests and having hence changed the tests sequence, the org.jboss.test.ws.jaxws.endpoint.jse.UsecasesTestCase started failing with the following weird error:

      Exception in thread "pool-3-thread-1" java.lang.NoClassDefFoundError: Could not initialize class java.util.Currency
      at java.text.DecimalFormatSymbols.initialize(DecimalFormatSymbols.java:566)
      at java.text.DecimalFormatSymbols.<init>(DecimalFormatSymbols.java:94)
      at java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:157)
      at java.text.NumberFormat.getInstance(NumberFormat.java:767)
      at java.text.NumberFormat.getIntegerInstance(NumberFormat.java:439)
      at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:664)
      at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:585)
      at org.jboss.sun.net.httpserver.ExchangeImpl$1.initialValue(ExchangeImpl.java:77)
      at org.jboss.sun.net.httpserver.ExchangeImpl$1.initialValue(ExchangeImpl.java:75)
      at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
      at java.lang.ThreadLocal.get(ThreadLocal.java:150)
      at org.jboss.sun.net.httpserver.ExchangeImpl.sendResponseHeaders(ExchangeImpl.java:233)
      at org.jboss.sun.net.httpserver.HttpExchangeImpl.sendResponseHeaders(HttpExchangeImpl.java:86)
      at org.jboss.ws.httpserver_httpspi.HttpExchangeDelegate$1.onFirstWrite(HttpExchangeDelegate.java:143)
      at org.jboss.ws.httpserver_httpspi.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:82)
      at org.apache.cxf.transport.http_jaxws_spi.HttpServletResponseAdapter$ServletOutputStreamAdapter.write(HttpServletResponseAdapter.java:237)
      at java.io.OutputStream.write(OutputStream.java:116)
      at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
      at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:143)
      at com.ctc.wstx.sw.BufferingXmlWriter.flushBuffer(BufferingXmlWriter.java:1366)
      at com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:499)
      at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:469)
      at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:979)
      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:941)
      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:839)
      at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:976)
      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:941)
      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:839)
      at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:976)
      at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:817)
      at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:805)
      at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:995)
      at org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor.java:129)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      at org.apache.cxf.transport.http_jaxws_spi.JAXWSHttpSpiDestination.serviceRequest(JAXWSHttpSpiDestination.java:147)
      at org.apache.cxf.transport.http_jaxws_spi.JAXWSHttpSpiDestination.doService(JAXWSHttpSpiDestination.java:121)
      at org.apache.cxf.transport.http_jaxws_spi.HttpHandlerImpl.handle(HttpHandlerImpl.java:61)
      at org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerDestination$Handler.handle(HttpServerDestination.java:154)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: