Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6782044

Regression with URL specs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      Java Web Start 1.5.0_16
      Utilisation de la version JRE 1.5.0_16 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      Since the last upgrade in 1.5.0_16, my application doesn't work anymore.
      This application just use log4j 1.2.13 and a file log4j.xml

      The loading of this file worked in 1.5.0_12 and all previous versions.

      Is there a modification on the url specification ?


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just use log4j and a log4j.xml file in a java webstart application


      ERROR MESSAGES/STACK TRACES THAT OCCUR :

      log4j:ERROR Could not parse url [jar:log4j.xml].

      log4j:ERROR Could not parse url [jar:log4j.xml].
      java.net.MalformedURLException: no !/ in spec
      at java.net.URL.<init>(URL.java:601)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:968)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:184)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
      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:148)
      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
      at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:612)
      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:711)
      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
      at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
      at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
      at org.apache.log4j.Logger.getLogger(Logger.java:104)
      at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
      at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
      at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:664)
      at fr.sgf.tools.log.common.LogHelper.getInstance(LogHelper.java:158)
      at fr.sgf.wit.client.helper.LogConfigurer.initJdkLogger(LogConfigurer.java:62)
      at fr.sgf.wit.client.application.ApplicationPrincipale.<init>(ApplicationPrincipale.java:187)
      at fr.sgf.wit.client.application.ApplicationPrincipale.main(ApplicationPrincipale.java:152)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1175)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1122)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:965)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:518)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
      at com.sun.javaws.Launcher.run(Launcher.java:165)
      at java.lang.Thread.run(Thread.java:595)

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 5.0u7
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Release Regression From : 5.0u7
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: