[JBoss JIRA] (FORGE-573) IllegalStateException when launching forge
by The Doctor Plays Video Games (JIRA)
[ https://issues.jboss.org/browse/FORGE-573?page=com.atlassian.jira.plugin.... ]
The Doctor Plays Video Games commented on FORGE-573:
----------------------------------------------------
Also sorry for big necro lol
> IllegalStateException when launching forge
> ------------------------------------------
>
> Key: FORGE-573
> URL: https://issues.jboss.org/browse/FORGE-573
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 1.0.4.Final
> Environment: uname -a:
> Linux i7 3.3.4-1.fc16.x86_64 #1 SMP Fri Apr 27 20:12:28 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> java -version:
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
> Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
> jboss 7.1.1
> Reporter: Hubert Schumacher
>
> 1. FORGE_HOME and PATH configured as described in 'https://docs.jboss.org/author/display/FORGE/Installation'
> 2. launch forge
> 3. Console output:
> [hrrbrt@i7 kg]$ forge
> java.lang.IllegalStateException: Plugin entry.getApiVersion() must not be null.
> at org.jboss.forge.parser.java.util.Assert.notNull(Assert.java:13)
> at org.jboss.forge.shell.InstalledPluginRegistry.isApiCompatible(InstalledPluginRegistry.java:411)
> at org.jboss.forge.shell.InstalledPluginRegistry.listByAPICompatibleVersion(InstalledPluginRegistry.java:99)
> at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:206)
> at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:55)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:131)
> at java.lang.Thread.run(Thread.java:722)
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
>
> [no project] kg $
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-573) IllegalStateException when launching forge
by The Doctor Plays Video Games (JIRA)
[ https://issues.jboss.org/browse/FORGE-573?page=com.atlassian.jira.plugin.... ]
The Doctor Plays Video Games commented on FORGE-573:
----------------------------------------------------
Where is .forge located?
> IllegalStateException when launching forge
> ------------------------------------------
>
> Key: FORGE-573
> URL: https://issues.jboss.org/browse/FORGE-573
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 1.0.4.Final
> Environment: uname -a:
> Linux i7 3.3.4-1.fc16.x86_64 #1 SMP Fri Apr 27 20:12:28 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> java -version:
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
> Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
> jboss 7.1.1
> Reporter: Hubert Schumacher
>
> 1. FORGE_HOME and PATH configured as described in 'https://docs.jboss.org/author/display/FORGE/Installation'
> 2. launch forge
> 3. Console output:
> [hrrbrt@i7 kg]$ forge
> java.lang.IllegalStateException: Plugin entry.getApiVersion() must not be null.
> at org.jboss.forge.parser.java.util.Assert.notNull(Assert.java:13)
> at org.jboss.forge.shell.InstalledPluginRegistry.isApiCompatible(InstalledPluginRegistry.java:411)
> at org.jboss.forge.shell.InstalledPluginRegistry.listByAPICompatibleVersion(InstalledPluginRegistry.java:99)
> at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:206)
> at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:55)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:131)
> at java.lang.Thread.run(Thread.java:722)
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
>
> [no project] kg $
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-2670) Command-completion is slow
by Daniel Platz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2670?page=com.atlassian.jira.plugin... ]
Daniel Platz edited comment on FORGE-2670 at 7/29/16 11:08 AM:
---------------------------------------------------------------
Attached threaddumps.
Steps
1. Type "com" - "TAB" in jboss froge console
2. Run in seperate cmd: FOR /L %i IN (1,1,5) DO (jcmd 10336 Thread.print) >> threaddumps.txt
I also did checkout of the forge codebase myself and played around with ProjectFactoryImpl myself. So, there are a lot of calls to allDirectoriesOnPath. Each invokation of allDirectoriesOnPath takes ~4ms. Called 134 times. So, is it like 134 addons are asked?
was (Author: platzda):
Attached threaddumps.
Steps
1. Type "com" - "TAB" in jboss froge console
2. Run in seperate cmd: FOR /L %i IN (1,1,5) DO (jcmd 10336 Thread.print) >> threaddumps.txt
>From the stack-traces it looks like what i already assumed: he is doing file-io and walking up the directory tree. Seems to be looking for the project? anyway just the info i did not point out yet: i am running the command in a folder/project i have been setting up with forge. i can run commands and have used forge. all fine. just the command-completion is insanely slow.
> Command-completion is slow
> --------------------------
>
> Key: FORGE-2670
> URL: https://issues.jboss.org/browse/FORGE-2670
> Project: Forge
> Issue Type: Bug
> Affects Versions: 3.2.3.Final
> Environment: Windows 7 64-Bit; JDK 8 64-Bit
> Intel Cor i7-4800MQ @ 2.7GHz
> 16 GB RAM
> SSD
> Reporter: Daniel Platz
> Attachments: jforge.png, threaddumps.txt
>
>
> When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
> I have written about it already here: https://developer.jboss.org/message/960679#960679
> Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
> Regarding the questions in the forum post:
> * I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
> * I used the forge console from within eclipse and from the cmd. Both the same.
> * I am using the 3.2.3 Final version
> I have attached a screenshot of the jvisualvm sampler. Steps i did:
> 1. Type "com"
> 2. Start sampler
> 3. Type "TAB"
> 4. Wait for command-completion
> 5. Stop sampler
> It took approximately ~2 seconds for the command-compeltion to respond. it seems the extensive checks like DefaultFileOperations.fileExists are a big part of it as it accumlates to ~1 seconds which sound much.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-2670) Command-completion is slow
by Daniel Platz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2670?page=com.atlassian.jira.plugin... ]
Daniel Platz edited comment on FORGE-2670 at 7/29/16 9:32 AM:
--------------------------------------------------------------
Attached threaddumps.
Steps
1. Type "com" - "TAB" in jboss froge console
2. Run in seperate cmd: FOR /L %i IN (1,1,5) DO (jcmd 10336 Thread.print) >> threaddumps.txt
>From the stack-traces it looks like what i already assumed: he is doing file-io and walking up the directory tree. Seems to be looking for the project? anyway just the info i did not point out yet: i am running the command in a folder/project i have been setting up with forge. i can run commands and have used forge. all fine. just the command-completion is insanely slow.
was (Author: platzda):
Attached threaddumps.
Steps
1. Type "com" - "TAB" in jboss froge console
2. Run in seperate cmd: FOR /L %i IN (1,1,5) DO (jcmd 10336 Thread.print) >> threaddumps.txt
> Command-completion is slow
> --------------------------
>
> Key: FORGE-2670
> URL: https://issues.jboss.org/browse/FORGE-2670
> Project: Forge
> Issue Type: Bug
> Affects Versions: 3.2.3.Final
> Environment: Windows 7 64-Bit; JDK 8 64-Bit
> Intel Cor i7-4800MQ @ 2.7GHz
> 16 GB RAM
> SSD
> Reporter: Daniel Platz
> Attachments: jforge.png, threaddumps.txt
>
>
> When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
> I have written about it already here: https://developer.jboss.org/message/960679#960679
> Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
> Regarding the questions in the forum post:
> * I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
> * I used the forge console from within eclipse and from the cmd. Both the same.
> * I am using the 3.2.3 Final version
> I have attached a screenshot of the jvisualvm sampler. Steps i did:
> 1. Type "com"
> 2. Start sampler
> 3. Type "TAB"
> 4. Wait for command-completion
> 5. Stop sampler
> It took approximately ~2 seconds for the command-compeltion to respond. it seems the extensive checks like DefaultFileOperations.fileExists are a big part of it as it accumlates to ~1 seconds which sound much.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-2670) Command-completion is slow
by Daniel Platz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2670?page=com.atlassian.jira.plugin... ]
Daniel Platz updated FORGE-2670:
--------------------------------
Attachment: threaddumps.txt
Attached threaddumps.
Steps
1. Type "com" - "TAB" in jboss froge console
2. Run in seperate cmd: FOR /L %i IN (1,1,5) DO (jcmd 10336 Thread.print) >> threaddumps.txt
> Command-completion is slow
> --------------------------
>
> Key: FORGE-2670
> URL: https://issues.jboss.org/browse/FORGE-2670
> Project: Forge
> Issue Type: Bug
> Affects Versions: 3.2.3.Final
> Environment: Windows 7 64-Bit; JDK 8 64-Bit
> Intel Cor i7-4800MQ @ 2.7GHz
> 16 GB RAM
> SSD
> Reporter: Daniel Platz
> Attachments: jforge.png, threaddumps.txt
>
>
> When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
> I have written about it already here: https://developer.jboss.org/message/960679#960679
> Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
> Regarding the questions in the forum post:
> * I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
> * I used the forge console from within eclipse and from the cmd. Both the same.
> * I am using the 3.2.3 Final version
> I have attached a screenshot of the jvisualvm sampler. Steps i did:
> 1. Type "com"
> 2. Start sampler
> 3. Type "TAB"
> 4. Wait for command-completion
> 5. Stop sampler
> It took approximately ~2 seconds for the command-compeltion to respond. it seems the extensive checks like DefaultFileOperations.fileExists are a big part of it as it accumlates to ~1 seconds which sound much.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-2670) Command-completion is slow
by Daniel Platz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2670?page=com.atlassian.jira.plugin... ]
Daniel Platz updated FORGE-2670:
--------------------------------
Description:
When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
I have written about it already here: https://developer.jboss.org/message/960679#960679
Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
Regarding the questions in the forum post:
* I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
* I used the forge console from within eclipse and from the cmd. Both the same.
* I am using the 3.2.3 Final version
I have attached a screenshot of the jvisualvm sampler. Steps i did:
1. Type "com"
2. Start sampler
3. Type "TAB"
4. Wait for command-completion
5. Stop sampler
It took approximately ~2 seconds for the command-compeltion to respond. it seems the extensive checks like DefaultFileOperations.fileExists are a big part of it as it accumlates to ~1 seconds which sound much.
was:
When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
I have written about it already here: https://developer.jboss.org/message/960679#960679
Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
Regarding the questions in the forum post:
* I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
* I used the forge console from within eclipse and from the cmd. Both the same.
* I am using the 3.2.3 Final version
Attachment: jforge.png
> Command-completion is slow
> --------------------------
>
> Key: FORGE-2670
> URL: https://issues.jboss.org/browse/FORGE-2670
> Project: Forge
> Issue Type: Bug
> Affects Versions: 3.2.3.Final
> Environment: Windows 7 64-Bit; JDK 8 64-Bit
> Intel Cor i7-4800MQ @ 2.7GHz
> 16 GB RAM
> SSD
> Reporter: Daniel Platz
> Attachments: jforge.png
>
>
> When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
> I have written about it already here: https://developer.jboss.org/message/960679#960679
> Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
> Regarding the questions in the forum post:
> * I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
> * I used the forge console from within eclipse and from the cmd. Both the same.
> * I am using the 3.2.3 Final version
> I have attached a screenshot of the jvisualvm sampler. Steps i did:
> 1. Type "com"
> 2. Start sampler
> 3. Type "TAB"
> 4. Wait for command-completion
> 5. Stop sampler
> It took approximately ~2 seconds for the command-compeltion to respond. it seems the extensive checks like DefaultFileOperations.fileExists are a big part of it as it accumlates to ~1 seconds which sound much.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGE-2670) Command-completion is slow
by Daniel Platz (JIRA)
Daniel Platz created FORGE-2670:
-----------------------------------
Summary: Command-completion is slow
Key: FORGE-2670
URL: https://issues.jboss.org/browse/FORGE-2670
Project: Forge
Issue Type: Bug
Affects Versions: 3.2.3.Final
Environment: Windows 7 64-Bit; JDK 8 64-Bit
Intel Cor i7-4800MQ @ 2.7GHz
16 GB RAM
SSD
Reporter: Daniel Platz
When typing e.g. "comm" and hitting Tab, it takes approximately 2 seconds for the command-completion to kick in and make suggestions/complete the command.
I have written about it already here: https://developer.jboss.org/message/960679#960679
Not sure what best to provide to make analysis easier. I am also Ok with debugging it myself if there maybe is a pointer in the right direction where to look into.
Regarding the questions in the forum post:
* I did not run any previous commands; it was this way from the beginning. I also deleted the ~/.forge folder to start afresh. Same issue
* I used the forge console from within eclipse and from the cmd. Both the same.
* I am using the 3.2.3 Final version
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGEPLUGINS-208) Error while saving entities in AngularJS scaffold
by Massimo Montecchi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-208?page=com.atlassian.jira.... ]
Massimo Montecchi edited comment on FORGEPLUGINS-208 at 7/25/16 5:30 AM:
-------------------------------------------------------------------------
If field names in entity are lowercase it works!
was (Author: massimo_montecchi):
If field name in entity are lowercase it works!
> Error while saving entities in AngularJS scaffold
> -------------------------------------------------
>
> Key: FORGEPLUGINS-208
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-208
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Reporter: George Gastaldi
> Assignee: Vineet Reynolds
> Priority: Critical
>
> Having an entity with a field named {{aString}} of type {{java.lang.String}}, after generating the scaffold using AngularJS, when I click Save after filling some information, the following exception happens:
> {code}
> 11:13:12,565 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-47) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> 11:13:15,041 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-48) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGEPLUGINS-208) Error while saving entities in AngularJS scaffold
by Massimo Montecchi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-208?page=com.atlassian.jira.... ]
Massimo Montecchi commented on FORGEPLUGINS-208:
------------------------------------------------
If field name in entity are lowercase it works!
> Error while saving entities in AngularJS scaffold
> -------------------------------------------------
>
> Key: FORGEPLUGINS-208
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-208
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Reporter: George Gastaldi
> Assignee: Vineet Reynolds
> Priority: Critical
>
> Having an entity with a field named {{aString}} of type {{java.lang.String}}, after generating the scaffold using AngularJS, when I click Save after filling some information, the following exception happens:
> {code}
> 11:13:12,565 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-47) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> 11:13:15,041 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-48) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (FORGEPLUGINS-208) Error while saving entities in AngularJS scaffold
by Massimo Montecchi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-208?page=com.atlassian.jira.... ]
Massimo Montecchi commented on FORGEPLUGINS-208:
------------------------------------------------
No news ? I have the same problem
> Error while saving entities in AngularJS scaffold
> -------------------------------------------------
>
> Key: FORGEPLUGINS-208
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-208
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Reporter: George Gastaldi
> Assignee: Vineet Reynolds
> Priority: Critical
>
> Having an entity with a field named {{aString}} of type {{java.lang.String}}, after generating the scaffold using AngularJS, when I click Save after filling some information, the following exception happens:
> {code}
> 11:13:12,565 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-47) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@73d39dec; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> 11:13:15,041 WARN [org.jboss.resteasy.core.ExceptionHandler] (default task-48) Failed executing PUT /customers/1: org.jboss.resteasy.spi.ReaderException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:183)
> at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)
> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AString" (class org.demo.model.Customer), not marked as ignorable (5 known properties: "lastName", "astring", "version", "id", "firstName"])
> at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3aea188f; line: 1, column: 90] (through reference chain: org.demo.model.Customer["AString"])
> at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
> at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
> at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
> at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
> at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1408)
> at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:858)
> at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)
> ... 38 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months