]
Kabir Khan updated AS7-4449:
----------------------------
Fix Version/s: 7.2.0.Alpha1
JDR Does not work with Turkish Locale
-------------------------------------
Key: AS7-4449
URL:
https://issues.jboss.org/browse/AS7-4449
Project: Application Server 7
Issue Type: Bug
Components: JDR
Affects Versions: 7.1.1.Final
Reporter: Kabir Khan
Assignee: Jesse Jaggars
Fix For: 7.1.2.Final (EAP), 7.2.0.Alpha1
I'm trying to run the tests as described in AS7-4301, and there is a problem in
org.jboss.as.test.integration.jdr.mgmt.JdrReportManagmentTestCase. I guess something in
the python libraries which calls String.toUpperCase()/toLowerCase() without passing in
Locale.ENGLISH.
{code}
17:38:12,761 INFO [org.jboss.as.jdr] (management-handler-thread - 1) JBAS013300:
Starting creation of a JBoss Diagnostic Report (JDR).
17:38:14,785 WARN [org.jboss.as.jdr] (management-handler-thread - 1) JBAS013303: JDR
python interpreter encountered an exception.: Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/jboss/as/jdr/main/jboss-as-sos-7.1.2.Final-SNAPSHOT.jar/sos/__init__.py",
line 27, in <module>
File
"/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/gettext.py",
line 50, in <module>
File
"/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/os.py",
line 118, in <module>
ImportError: no os specific module found
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
[jython-standalone-2.5.2.jar:]
at java.lang.Throwable.<init>(Throwable.java:181) [classes.jar:1.6.0_31]
at java.lang.Exception.<init>(Exception.java:29) [classes.jar:1.6.0_31]
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
[classes.jar:1.6.0_31]
at org.python.core.PyException.<init>(PyException.java:46)
[jython-standalone-2.5.2.jar:]
at org.python.core.PyException.doRaise(PyException.java:200)
[jython-standalone-2.5.2.jar:]
at org.python.core.Py.makeException(Py.java:1225) [jython-standalone-2.5.2.jar:]
at org.python.core.Py.makeException(Py.java:1229) [jython-standalone-2.5.2.jar:]
at
os$py.f$0(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/os.py:691) at
os$py.call_function(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/os.py) at
org.python.core.PyTableCode.call(PyTableCode.java:165) [jython-standalone-2.5.2.jar:]
at org.python.core.PyCode.call(PyCode.java:18) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.createFromCode(imp.java:386) [jython-standalone-2.5.2.jar:]
at org.python.core.util.importer.importer_load_module(importer.java:109)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source) [jython-standalone-2.5.2.jar:]
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.loadFromLoader(imp.java:513) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.find_module(imp.java:467) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_next(imp.java:713) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_name(imp.java:824) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.importName(imp.java:884) [jython-standalone-2.5.2.jar:]
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
[jython-standalone-2.5.2.jar:]
at org.python.core.PyObject.__call__(PyObject.java:357) [jython-standalone-2.5.2.jar:]
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.importOne(imp.java:903) [jython-standalone-2.5.2.jar:]
at
gettext$py.f$0(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/gettext.py:592) at
gettext$py.call_function(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/python/jython/standalone/main/jython-standalone-2.5.2.jar/Lib/gettext.py) at
org.python.core.PyTableCode.call(PyTableCode.java:165) [jython-standalone-2.5.2.jar:]
at org.python.core.PyCode.call(PyCode.java:18) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.createFromCode(imp.java:386) [jython-standalone-2.5.2.jar:]
at org.python.core.util.importer.importer_load_module(importer.java:109)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source) [jython-standalone-2.5.2.jar:]
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.loadFromLoader(imp.java:513) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.find_module(imp.java:467) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_next(imp.java:713) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_first(imp.java:743) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_name(imp.java:834) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.importName(imp.java:884) [jython-standalone-2.5.2.jar:]
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
[jython-standalone-2.5.2.jar:]
at org.python.core.PyObject.__call__(PyObject.java:357) [jython-standalone-2.5.2.jar:]
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.importOne(imp.java:903) [jython-standalone-2.5.2.jar:]
at
sos$py.f$0(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/jboss/as/jdr/main/jboss-as-sos-7.1.2.Final-SNAPSHOT.jar/sos/__init__.py:51) at
sos$py.call_function(/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/modules/org/jboss/as/jdr/main/jboss-as-sos-7.1.2.Final-SNAPSHOT.jar/sos/__init__.py) at
org.python.core.PyTableCode.call(PyTableCode.java:165) [jython-standalone-2.5.2.jar:]
at org.python.core.PyCode.call(PyCode.java:18) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.createFromCode(imp.java:386) [jython-standalone-2.5.2.jar:]
at org.python.core.util.importer.importer_load_module(importer.java:109)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
[jython-standalone-2.5.2.jar:]
at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source) [jython-standalone-2.5.2.jar:]
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.loadFromLoader(imp.java:513) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.find_module(imp.java:467) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_next(imp.java:713) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.import_name(imp.java:824) [jython-standalone-2.5.2.jar:]
at org.python.core.imp.importName(imp.java:884) [jython-standalone-2.5.2.jar:]
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
[jython-standalone-2.5.2.jar:]
at org.python.core.PyObject.__call__(PyObject.java:357) [jython-standalone-2.5.2.jar:]
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
[jython-standalone-2.5.2.jar:]
at org.python.core.imp.importOne(imp.java:903) [jython-standalone-2.5.2.jar:]
at org.python.pycode._pyx1.f$0(<string>:1)
at org.python.pycode._pyx1.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
[jython-standalone-2.5.2.jar:]
at org.python.core.PyCode.call(PyCode.java:18) [jython-standalone-2.5.2.jar:]
at org.python.core.Py.runCode(Py.java:1261) [jython-standalone-2.5.2.jar:]
at org.python.core.Py.exec(Py.java:1305) [jython-standalone-2.5.2.jar:]
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
[jython-standalone-2.5.2.jar:]
at org.jboss.as.jdr.SoSReport.setI18NJar(SoSReport.java:81)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.SoSReport.<init>(SoSReport.java:65)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.SosInterpreter.collect(SosInterpreter.java:87)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.SosInterpreter.collect(SosInterpreter.java:61)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.JdrReportService.collect(JdrReportService.java:130)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.JdrReportRequestHandler$1.execute(JdrReportRequestHandler.java:71)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.jdr.JdrReportRequestHandler.execute(JdrReportRequestHandler.java:87)
[jboss-as-jdr-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:487)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_31]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_31]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
17:38:14,818 INFO [org.jboss.as.jdr] (management-handler-thread - 1) JBAS013301:
Completed creation of a JBoss Diagnostic Report (JDR).
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: