Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6828

Network Server don't start in czech localized enviroment due missing key DRDA_MissingNetworkJar.S

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.11.1.1
    • 10.13.1.0
    • Windows 7 Profesional SP1 64bit (localized CS),
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
    • Low
    • Known fix, Workaround attached
    • Crash

    Description

      Network Server don't start in czech localized enviroment due missing key DRDA_MissingNetworkJar.S in file org/apache/derby/loc/drda/messages_cs.properties

      Exception:
      Thu Jul 23 15:56:24 CEST 2015 : null
      java.lang.NullPointerException
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.getTextMessage(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.localizeMessage(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.localizeMessage(Unknown Source)
      at org.apache.derby.drda.NetworkServerControl.installSecurityManager(Unknown Source)
      at org.apache.derby.drda.NetworkServerControl.main(Unknown Source)

      Missing key is called in file org.apache.derby.drda.NetworkServerControl.java at line 818.

      Reproduce under windows in console run:
      set DERBY_OPTS=-Duser.language=cs
      startNetworkServer.bat

      Workaround:
      Run derby server under en localization.
      Windows consola run:
      set DERBY_OPTS=-Duser.language=en
      startNetworkServer.bat

      Attachments

        1. nullGuard.diff
          0.7 kB
          Bryan Pendleton

        Activity

          People

            bryanpendleton Bryan Pendleton
            david.jezek David Ježek
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: