[JBoss JIRA] (WFLY-3138) the cli exits after java.lang.IllegalArgumentException when I type a couple of specific commands.
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/WFLY-3138?page=com.atlassian.jira.plugin.... ]
Eric Wittmann commented on WFLY-3138:
-------------------------------------
I moved this to WildFly since this is a problem with the CLI. Not certain if this is the right project.
> the cli exits after java.lang.IllegalArgumentException when I type a couple of specific commands.
> -------------------------------------------------------------------------------------------------
>
> Key: WFLY-3138
> URL: https://issues.jboss.org/browse/WFLY-3138
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: cat /etc/*-release
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Configured system properties:
> [Server:node-B3] [Host Controller] = true
> [Server:node-B3] [Server:node-B3] =
> [Server:node-B3] awt.toolkit = sun.awt.X11.XToolkit
> [Server:node-B3] file.encoding = UTF-8
> [Server:node-B3] file.encoding.pkg = sun.io
> [Server:node-B3] file.separator = /
> [Server:node-B3] java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
> [Server:node-B3] java.awt.headless = true
> [Server:node-B3] java.awt.printerjob = sun.print.PSPrinterJob
> [Server:node-B3] java.class.path = /local/myUser/dev/jboss/jboss-modules.jar
> [Server:node-B3] java.class.version = 51.0
> [Server:node-B3] java.endorsed.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/endorsed
> [Server:node-B3] java.ext.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
> [Server:node-B3] java.home = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre
> [Server:node-B3] java.io.tmpdir = /tmp
> [Server:node-B3] java.library.path = /opt/devenv/lib64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> [Server:node-B3] java.net.preferIPv4Stack = true
> [Server:node-B3] java.runtime.name = OpenJDK Runtime Environment
> [Server:node-B3] java.runtime.version = 1.7.0_51-mockbuild_2014_01_10_10_19-b00
> [Server:node-B3] java.specification.name = Java Platform API Specification
> [Server:node-B3] java.specification.vendor = Oracle Corporation
> [Server:node-B3] java.specification.version = 1.7
> [Server:node-B3] java.util.logging.manager = org.jboss.logmanager.LogManager
> [Server:node-B3] java.vendor = Oracle Corporation
> [Server:node-B3] java.vendor.url = http://java.oracle.com/
> [Server:node-B3] java.vendor.url.bug = http://bugreport.sun.com/bugreport/
> [Server:node-B3] java.version = 1.7.0_51
> [Server:node-B3] java.vm.info = mixed mode
> [Server:node-B3] java.vm.name = OpenJDK 64-Bit Server VM
> [Server:node-B3] java.vm.specification.name = Java Virtual Machine Specification
> [Server:node-B3] java.vm.specification.vendor = Oracle Corporation
> [Server:node-B3] java.vm.specification.version = 1.7
> [Server:node-B3] java.vm.vendor = Oracle Corporation
> [Server:node-B3] java.vm.version = 24.45-b08
> [Server:node-B3] javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
> [Server:node-B3] javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
> [Server:node-B3] javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
> [Server:node-B3] javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
> [Server:node-B3] javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
> [Server:node-B3] javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
> [Server:node-B3] javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
> [Server:node-B3] javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
> [Server:node-B3] javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
> [Server:node-B3] javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
> [Server:node-B3] jboss.bind.address = 0.0.0.0
> [Server:node-B3] jboss.domain.base.dir = /local/myUser/dev/jboss/domain
> [Server:node-B3] jboss.domain.config.dir = /local/myUser/dev/jboss/domain/configuration
> [Server:node-B3] jboss.home.dir = /local/myUser/dev/jboss
> [Server:node-B3] jboss.host.name = eclwsd012
> [Server:node-B3] jboss.modules.dir = /local/myUser/dev/jboss/modules
> [Server:node-B3] jboss.modules.system.pkgs = org.jboss.byteman
> [Server:node-B3] jboss.node.name = eclwsd012:node-B3
> [Server:node-B3] jboss.qualified.host.name = eclwsd012.xeop.de
> [Server:node-B3] jboss.server.base.dir = /local/myUser/dev/jboss/domain/servers/node-B3
> [Server:node-B3] jboss.server.config.dir = /local/myUser/dev/jboss/domain/servers/node-B3/configuration
> [Server:node-B3] jboss.server.data.dir = /local/myUser/dev/jboss/domain/servers/node-B3/data
> [Server:node-B3] jboss.server.deploy.dir = /local/myUser/dev/jboss/domain/servers/node-B3/data/content
> [Server:node-B3] jboss.server.log.dir = /local/myUser/dev/jboss/domain/servers/node-B3/log
> [Server:node-B3] jboss.server.name = node-B3
> [Server:node-B3] jboss.server.persist.config = true
> [Server:node-B3] jboss.server.temp.dir = /local/myUser/dev/jboss/domain/servers/node-B3/tmp
> [Server:node-B3] jgroups.bind_addr = 172.16.120.24
> [Server:node-B3] line.separator =
> [Server:node-B3]
> [Server:node-B3] logging.configuration = file:/local/myUser/dev/jboss/domain/servers/node-B3/data/logging.properties
> [Server:node-B3] module.path = /local/myUser/dev/jboss/modules
> [Server:node-B3] org.jboss.resolver.warning = true
> [Server:node-B3] org.xml.sax.driver = __redirected.__XMLReaderFactory
> [Server:node-B3] os.arch = amd64
> [Server:node-B3] os.name = Linux
> [Server:node-B3] os.version = 2.6.32-431.3.1.el6.x86_64
> [Server:node-B3] path.separator = :
> [Server:node-B3] sun.arch.data.model = 64
> [Server:node-B3] sun.boot.class.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/classes
> [Server:node-B3] sun.boot.library.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/amd64
> [Server:node-B3] sun.cpu.endian = little
> [Server:node-B3] sun.cpu.isalist =
> [Server:node-B3] sun.io.unicode.encoding = UnicodeLittle
> [Server:node-B3] sun.java.command = /local/myUser/dev/jboss/jboss-modules.jar -mp /local/myUser/dev/jboss/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.server
> [Server:node-B3] sun.java.launcher = SUN_STANDARD
> [Server:node-B3] sun.jnu.encoding = UTF-8
> [Server:node-B3] sun.management.compiler = HotSpot 64-Bit Tiered Compilers
> [Server:node-B3] sun.os.patch.level = unknown
> [Server:node-B3] user.country = US
> [Server:node-B3] user.dir = /local/myUser/dev/jboss-eap-6.1
> [Server:node-B3] user.home = /home/myUser
> [Server:node-B3] user.language = en
> [Server:node-B3] user.name = myUser
> [Server:node-B3] user.timezone = Europe/Berlin
> [Server:node-B3] 15:06:25,736 DEBUG [org.jboss.as.config] (MSC service thread 1-8) VM Arguments: -D[Server:node-B3] -Xms512m -Xmx1024m -Djgroups.bind_addr=172.16.120.24 -D[Host Controller]=true -Djboss.bind.address=0.0.0.0 -Djava.awt.headless=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.home.dir=/local/myUser/dev/jboss -Djava.net.preferIPv4Stack=true -Djboss.server.log.dir=/local/myUser/dev/jboss/domain/servers/node-B3/log -Djboss.server.temp.dir=/local/myUser/dev/jboss/domain/servers/node-B3/tmp -Djboss.server.data.dir=/local/myUser/dev/jboss/domain/servers/node-B3/data -Dlogging.configuration=file:/local/myUser/dev/jboss/domain/servers/node-B3/data/logging.properties
> Reporter: neo infinite
> Assignee: Eric Wittmann
> Priority: Critical
>
> myuser@myhost/bin:jboss-cli.sh -c
> [domain@localhost:9999 /] read-operation read-children-types
> Gets the type names of all the children under the selected resource
> PARAMETERS
> n/a
> java.lang.IllegalArgumentException
> at org.jboss.dmr.ModelValue.asPropertyList(ModelValue.java:100)
> at org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:360)
> at org.jboss.as.cli.handlers.ReadOperationHandler.handleResponse(ReadOperationHandler.java:177)
> at org.jboss.as.cli.handlers.BaseOperationCommand.doHandle(BaseOperationCommand.java:213)
> at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
> at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:582)
> at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:598)
> at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1186)
> at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:259)
> at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.modules.Module.run(Module.java:270)
> at org.jboss.modules.Main.main(Main.java:411)
> myuser@myhost/bin:
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (WFLY-3138) the cli exits after java.lang.IllegalArgumentException when I type a couple of specific commands.
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/WFLY-3138?page=com.atlassian.jira.plugin.... ]
Eric Wittmann moved APIMAN-1 to WFLY-3138:
------------------------------------------
Project: WildFly (was: APIMan (API Management))
Key: WFLY-3138 (was: APIMAN-1)
Workflow: GIT Pull Request workflow (was: classic default workflow)
> the cli exits after java.lang.IllegalArgumentException when I type a couple of specific commands.
> -------------------------------------------------------------------------------------------------
>
> Key: WFLY-3138
> URL: https://issues.jboss.org/browse/WFLY-3138
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: cat /etc/*-release
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Configured system properties:
> [Server:node-B3] [Host Controller] = true
> [Server:node-B3] [Server:node-B3] =
> [Server:node-B3] awt.toolkit = sun.awt.X11.XToolkit
> [Server:node-B3] file.encoding = UTF-8
> [Server:node-B3] file.encoding.pkg = sun.io
> [Server:node-B3] file.separator = /
> [Server:node-B3] java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
> [Server:node-B3] java.awt.headless = true
> [Server:node-B3] java.awt.printerjob = sun.print.PSPrinterJob
> [Server:node-B3] java.class.path = /local/myUser/dev/jboss/jboss-modules.jar
> [Server:node-B3] java.class.version = 51.0
> [Server:node-B3] java.endorsed.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/endorsed
> [Server:node-B3] java.ext.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
> [Server:node-B3] java.home = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre
> [Server:node-B3] java.io.tmpdir = /tmp
> [Server:node-B3] java.library.path = /opt/devenv/lib64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> [Server:node-B3] java.net.preferIPv4Stack = true
> [Server:node-B3] java.runtime.name = OpenJDK Runtime Environment
> [Server:node-B3] java.runtime.version = 1.7.0_51-mockbuild_2014_01_10_10_19-b00
> [Server:node-B3] java.specification.name = Java Platform API Specification
> [Server:node-B3] java.specification.vendor = Oracle Corporation
> [Server:node-B3] java.specification.version = 1.7
> [Server:node-B3] java.util.logging.manager = org.jboss.logmanager.LogManager
> [Server:node-B3] java.vendor = Oracle Corporation
> [Server:node-B3] java.vendor.url = http://java.oracle.com/
> [Server:node-B3] java.vendor.url.bug = http://bugreport.sun.com/bugreport/
> [Server:node-B3] java.version = 1.7.0_51
> [Server:node-B3] java.vm.info = mixed mode
> [Server:node-B3] java.vm.name = OpenJDK 64-Bit Server VM
> [Server:node-B3] java.vm.specification.name = Java Virtual Machine Specification
> [Server:node-B3] java.vm.specification.vendor = Oracle Corporation
> [Server:node-B3] java.vm.specification.version = 1.7
> [Server:node-B3] java.vm.vendor = Oracle Corporation
> [Server:node-B3] java.vm.version = 24.45-b08
> [Server:node-B3] javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
> [Server:node-B3] javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
> [Server:node-B3] javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
> [Server:node-B3] javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
> [Server:node-B3] javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
> [Server:node-B3] javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
> [Server:node-B3] javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
> [Server:node-B3] javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
> [Server:node-B3] javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
> [Server:node-B3] javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
> [Server:node-B3] jboss.bind.address = 0.0.0.0
> [Server:node-B3] jboss.domain.base.dir = /local/myUser/dev/jboss/domain
> [Server:node-B3] jboss.domain.config.dir = /local/myUser/dev/jboss/domain/configuration
> [Server:node-B3] jboss.home.dir = /local/myUser/dev/jboss
> [Server:node-B3] jboss.host.name = eclwsd012
> [Server:node-B3] jboss.modules.dir = /local/myUser/dev/jboss/modules
> [Server:node-B3] jboss.modules.system.pkgs = org.jboss.byteman
> [Server:node-B3] jboss.node.name = eclwsd012:node-B3
> [Server:node-B3] jboss.qualified.host.name = eclwsd012.xeop.de
> [Server:node-B3] jboss.server.base.dir = /local/myUser/dev/jboss/domain/servers/node-B3
> [Server:node-B3] jboss.server.config.dir = /local/myUser/dev/jboss/domain/servers/node-B3/configuration
> [Server:node-B3] jboss.server.data.dir = /local/myUser/dev/jboss/domain/servers/node-B3/data
> [Server:node-B3] jboss.server.deploy.dir = /local/myUser/dev/jboss/domain/servers/node-B3/data/content
> [Server:node-B3] jboss.server.log.dir = /local/myUser/dev/jboss/domain/servers/node-B3/log
> [Server:node-B3] jboss.server.name = node-B3
> [Server:node-B3] jboss.server.persist.config = true
> [Server:node-B3] jboss.server.temp.dir = /local/myUser/dev/jboss/domain/servers/node-B3/tmp
> [Server:node-B3] jgroups.bind_addr = 172.16.120.24
> [Server:node-B3] line.separator =
> [Server:node-B3]
> [Server:node-B3] logging.configuration = file:/local/myUser/dev/jboss/domain/servers/node-B3/data/logging.properties
> [Server:node-B3] module.path = /local/myUser/dev/jboss/modules
> [Server:node-B3] org.jboss.resolver.warning = true
> [Server:node-B3] org.xml.sax.driver = __redirected.__XMLReaderFactory
> [Server:node-B3] os.arch = amd64
> [Server:node-B3] os.name = Linux
> [Server:node-B3] os.version = 2.6.32-431.3.1.el6.x86_64
> [Server:node-B3] path.separator = :
> [Server:node-B3] sun.arch.data.model = 64
> [Server:node-B3] sun.boot.class.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/classes
> [Server:node-B3] sun.boot.library.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre/lib/amd64
> [Server:node-B3] sun.cpu.endian = little
> [Server:node-B3] sun.cpu.isalist =
> [Server:node-B3] sun.io.unicode.encoding = UnicodeLittle
> [Server:node-B3] sun.java.command = /local/myUser/dev/jboss/jboss-modules.jar -mp /local/myUser/dev/jboss/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.server
> [Server:node-B3] sun.java.launcher = SUN_STANDARD
> [Server:node-B3] sun.jnu.encoding = UTF-8
> [Server:node-B3] sun.management.compiler = HotSpot 64-Bit Tiered Compilers
> [Server:node-B3] sun.os.patch.level = unknown
> [Server:node-B3] user.country = US
> [Server:node-B3] user.dir = /local/myUser/dev/jboss-eap-6.1
> [Server:node-B3] user.home = /home/myUser
> [Server:node-B3] user.language = en
> [Server:node-B3] user.name = myUser
> [Server:node-B3] user.timezone = Europe/Berlin
> [Server:node-B3] 15:06:25,736 DEBUG [org.jboss.as.config] (MSC service thread 1-8) VM Arguments: -D[Server:node-B3] -Xms512m -Xmx1024m -Djgroups.bind_addr=172.16.120.24 -D[Host Controller]=true -Djboss.bind.address=0.0.0.0 -Djava.awt.headless=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.home.dir=/local/myUser/dev/jboss -Djava.net.preferIPv4Stack=true -Djboss.server.log.dir=/local/myUser/dev/jboss/domain/servers/node-B3/log -Djboss.server.temp.dir=/local/myUser/dev/jboss/domain/servers/node-B3/tmp -Djboss.server.data.dir=/local/myUser/dev/jboss/domain/servers/node-B3/data -Dlogging.configuration=file:/local/myUser/dev/jboss/domain/servers/node-B3/data/logging.properties
> Reporter: neo infinite
> Assignee: Eric Wittmann
> Priority: Critical
>
> myuser@myhost/bin:jboss-cli.sh -c
> [domain@localhost:9999 /] read-operation read-children-types
> Gets the type names of all the children under the selected resource
> PARAMETERS
> n/a
> java.lang.IllegalArgumentException
> at org.jboss.dmr.ModelValue.asPropertyList(ModelValue.java:100)
> at org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:360)
> at org.jboss.as.cli.handlers.ReadOperationHandler.handleResponse(ReadOperationHandler.java:177)
> at org.jboss.as.cli.handlers.BaseOperationCommand.doHandle(BaseOperationCommand.java:213)
> at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
> at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:582)
> at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:598)
> at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1186)
> at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:259)
> at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.modules.Module.run(Module.java:270)
> at org.jboss.modules.Main.main(Main.java:411)
> myuser@myhost/bin:
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (JBWEB-290) Optimize string literals inside jsp expressions
by Remy Maucherat (JIRA)
[ https://issues.jboss.org/browse/JBWEB-290?page=com.atlassian.jira.plugin.... ]
Remy Maucherat resolved JBWEB-290.
----------------------------------
Fix Version/s: JBossWeb-7.4.0.GA
Resolution: Done
Integrated since the patch was provided as requested. Would still like an answer to my last comment though.
> Optimize string literals inside jsp expressions
> ------------------------------------------------
>
> Key: JBWEB-290
> URL: https://issues.jboss.org/browse/JBWEB-290
> Project: JBoss Web
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Tomcat
> Affects Versions: JBossWeb-3.0.0.Final
> Reporter: John O'Hara
> Assignee: Remy Maucherat
> Fix For: JBossWeb-7.4.0.GA
>
>
> After setting genStringAsCharArray=true, we continue to see StringBuilder concatenating string literals for each jsp request for some of our jsp pages; instead of creating a static char[].
> This occurs when a string literal is included in a jsp expression, e.g.;
> <%="<INPUT type=\"hidden\" name=\"name\" value=\"" + obj.getName() + "\">"%>
> Is it possible to identify string literals inside expressions during the tokenization phase of parsing jsp pages in apache jasper and treat them as text nodes so that the apache jasper generator can apply the same optimizations as string literals outside the jsp expression?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (DROOLS-329) ClassFormatException when compile template with latest JDK8 (b114)
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/DROOLS-329?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on DROOLS-329:
------------------------------------------------
Mario Fusco <mfusco(a)redhat.com> changed the Status of [bug 1078146|https://bugzilla.redhat.com/show_bug.cgi?id=1078146] from NEW to ASSIGNED
> ClassFormatException when compile template with latest JDK8 (b114)
> ------------------------------------------------------------------
>
> Key: DROOLS-329
> URL: https://issues.jboss.org/browse/DROOLS-329
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.5.0.Final, 6.0.0.CR5
> Environment: Ubuntu linux, latest JDK1.8 (b114) downloaded from https://jdk8.java.net/download.html
> Reporter: Marek Posolda
> Assignee: Mark Proctor
> Fix For: 5.5.1.Final, 6.1.0.Final
>
>
> When trying to run code for compile templates with latest JDK8 (For instance this example https://github.com/droolsjbpm/drools/blob/master/drools-examples/src/main... )
> it will throw an exception like this:
> {code}
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: wrong class format
> at org.drools.template.parser.DefaultTemplateRuleBase.readRule(DefaultTemplateRuleBase.java:148)
> at org.drools.template.parser.DefaultTemplateRuleBase.<init>(DefaultTemplateRuleBase.java:62)
> at org.drools.template.parser.TemplateDataListener.<init>(TemplateDataListener.java:74)
> at org.drools.decisiontable.ExternalSpreadsheetCompiler.compile(ExternalSpreadsheetCompiler.java:95)
> at org.drools.decisiontable.ExternalSpreadsheetCompiler.compile(ExternalSpreadsheetCompiler.java:81)
> at org.drools.examples.templates.SimpleRuleTemplateExample.buildKBase(SimpleRuleTemplateExample.java:84)
> at org.drools.examples.templates.SimpleRuleTemplateExample.executeExample(SimpleRuleTemplateExample.java:49)
> at org.drools.examples.templates.SimpleRuleTemplateExample.main(SimpleRuleTemplateExample.java:43)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
> Caused by: java.lang.RuntimeException: wrong class format
> at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:263)
> at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:203)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:102)
> at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49)
> at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1188)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromVariantTypeSignature(LookupEnvironment.java:1244)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeArgumentsFromSignature(LookupEnvironment.java:1031)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1193)
> at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createMethod(BinaryTypeBinding.java:495)
> at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createMethods(BinaryTypeBinding.java:577)
> at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.cachePartsFrom(BinaryTypeBinding.java:327)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:640)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:619)
> at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:295)
> at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:133)
> at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:183)
> at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findImport(CompilationUnitScope.java:465)
> at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findSingleImport(CompilationUnitScope.java:519)
> at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInImports(CompilationUnitScope.java:368)
> at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(CompilationUnitScope.java:444)
> at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:752)
> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:464)
> at org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:389)
> at org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:49)
> at org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:371)
> at org.drools.compiler.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java:46)
> at org.drools.compiler.PackageRegistry.compileAll(PackageRegistry.java:102)
> at org.drools.compiler.PackageBuilder.compileAll(PackageBuilder.java:1006)
> at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:842)
> at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:831)
> at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:441)
> at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:419)
> at org.drools.template.parser.DefaultTemplateRuleBase.readRule(DefaultTemplateRuleBase.java:139)
> ... 12 more
> Caused by: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
> at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372)
> at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.createNameEnvironmentAnswer(EclipseJavaCompiler.java:287)
> at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:258)
> ... 45 more
> {code}
> Workaround, which worked for me is to switch to Janino compiler (See Workaround description)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (DROOLS-372) InstantiationError during condition evaluation in Drools 6.0.0.Final
by Robert Spielmann (JIRA)
[ https://issues.jboss.org/browse/DROOLS-372?page=com.atlassian.jira.plugin... ]
Robert Spielmann commented on DROOLS-372:
-----------------------------------------
I tried to pin the cause to a single test or a minimal rule with test case, but I failed. This error occurs randomly across a base of around 2800 tests. I think I'll try to upgrade to Drools 6.
> InstantiationError during condition evaluation in Drools 6.0.0.Final
> --------------------------------------------------------------------
>
> Key: DROOLS-372
> URL: https://issues.jboss.org/browse/DROOLS-372
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Final
> Environment: reproduced on both jdk 6 and jdk 7
> Reporter: Loic Albertin
> Assignee: Mario Fusco
> Fix For: 6.0.1.Final
>
> Attachments: drools-issue.zip
>
>
> Kindly find bellow the initial discussion from rules-user(a)list.jboss.org
> In addition I attach a sample project that reproduce the error.
> To run it simply type 'mvn clean install exec:java'.
> An interesting thing is that on my environment the issue always appears at the 21st insertion.
> {quote}
> Hi all,
> I'm migrating from an old Drools 5.1 version to 6.0.0.Final. Sometimes (I don't really get under which conditions as sometimes it works), I'm facing an InstantiationError exception when I insert a fact into a stateful kie session. This exception is thrown by a generated class named ConditionEvaluator<UUID> which doesn't help for debugging!
> The inserted object is a basic POJO (named JasmineEventEB) except for an attribute named "value" which accept any "Serializable" object and which is causing the issue.
> The rule condition is quite simple
> $e : JasmineEventEB(probe == "Button:pris" && value == "1")
> In debugging I found that it failed when evaluating the value == "1" part. I can also confirm that the value for the actually inserted JasmineEventEB is a string.
> The stacktrace is:
> {noformat}
> java.lang.InstantiationError: java.io.Serializable
> at ConditionEvaluatorae1a73837e8146bda23004a0450e2e52.evaluate(Unknown Source)
> at org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:212)
> at org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:169)
> at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:134)
> at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:502)
> at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:387)
> at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:138)
> at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:502)
> at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:377)
> at org.drools.core.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:288)
> at org.drools.core.reteoo.EntryPointNode.assertObject(EntryPointNode.java:260)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:360)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:279)
> at org.drools.core.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1149)
> at org.drools.core.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1093)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:308)
> {noformat}
> I tested both with the java and mvel dialect with the same result.
> Does someone has already encountered this kind of error?
> If you need more details or clarifications please let me know.
> Thanks & regards,
> Loïc
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (WFLY-3073) MBeanServer.createMBean methods that take a classloader don't work
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-3073?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on WFLY-3073:
-----------------------------------------------
Jan Martiska <jmartisk(a)redhat.com> changed the Status of [bug 1073106|https://bugzilla.redhat.com/show_bug.cgi?id=1073106] from ON_QA to VERIFIED
> MBeanServer.createMBean methods that take a classloader don't work
> ------------------------------------------------------------------
>
> Key: WFLY-3073
> URL: https://issues.jboss.org/browse/WFLY-3073
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX
> Affects Versions: 8.0.0.Final
> Reporter: Stuart Douglas
> Assignee: Kabir Khan
> Fix For: 8.0.1.Final
>
>
> The MBeanServer.createMBean methods that take an "ObjectName loaderName" argument are completely broken in EAP 6.
> These methods call findDelegate to make sure there is already an existing MBean registered with the given name passed in for the new MBean, or else it throws an exception.
> This is obviously wrong, as there'd be no point in calling createMBean if it already existed.
> javax.management.InstanceNotFoundException: test:service=Test
> at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1083)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.createMBean(PluggableMBeanServerImpl.java:253)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months