[infinispan-issues] [JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message

Vladimir Blagojevic (JIRA) issues at jboss.org
Wed Jan 25 09:31:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Blagojevic updated ISPN-7228:
--------------------------------------
    Comment: was deleted

(was: [~NadirX] and [~anistor] I think this one goes to Adrian's turf. Adrian it seems that the [call|https://github.com/infinispan/infinispan/blob/a535b9623504bc5ec88584130065c89f1f9f357e/server/integration/infinispan/src/main/java/org/jboss/as/clustering/infinispan/subsystem/RegisterProtoSchemasOperationHandler.java#L77] to register protofiles from server subsystem does not propagate the exception back to the caller (in this case server subsystem). The exception is thus never caught and propagated back to us (admin console) through DMR which seems to be the ultimate cause of this JIRA issue. Would you please look at the stacktrace and see how we can fix this issue in registering protofiles?






[1] https://github.com/infinispan/infinispan/blob/a535b9623504bc5ec88584130065c89f1f9f357e/server/integration/infinispan/src/main/java/org/jboss/as/clustering/infinispan/subsystem/RegisterProtoSchemasOperationHandler.java#L77)


> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
>                 Key: ISPN-7228
>                 URL: https://issues.jboss.org/browse/ISPN-7228
>             Project: Infinispan
>          Issue Type: Bug
>          Components: JMX, reporting and management
>    Affects Versions: 9.0.0.Alpha4
>            Reporter: Roman Macor
>            Assignee: Vladimir Blagojevic
>            Priority: Minor
>         Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list