[JBoss JIRA] (FURNACE-58) Provide default @Deployment if it does not exist
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-58?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FURNACE-58:
----------------------------------------
Created {{AddonServiceRegistrationStrategy}} (and implementations) and @DeployUsing annotation for custom addon service registration needs
> Provide default @Deployment if it does not exist
> ------------------------------------------------
>
> Key: FURNACE-58
> URL: https://issues.jboss.org/browse/FURNACE-58
> Project: Forge: Furnace
> Issue Type: Feature Request
> Components: Test Harness
> Affects Versions: 2.19.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.19.1.Final
>
>
> In order to avoid writing the deployment method (considered a boilerplate code) {{FurnaceDeploymentScenarioGenerator}} should generate a default @Deployment if a deployment method is not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-58) Provide default @Deployment if it does not exist
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-58?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FURNACE-58:
----------------------------------------
- it should call addBeansXml() when running using the CDI container
- it should call addAsServiceProvider(Service.class, MyClassTest.class) when running using the Simple container
- it should call addAsLocalServices(MyClassTest.class) when running using the Local container
> Provide default @Deployment if it does not exist
> ------------------------------------------------
>
> Key: FURNACE-58
> URL: https://issues.jboss.org/browse/FURNACE-58
> Project: Forge: Furnace
> Issue Type: Feature Request
> Components: Test Harness
> Affects Versions: 2.19.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.19.1.Final
>
>
> In order to avoid writing the deployment method (considered a boilerplate code) {{FurnaceDeploymentScenarioGenerator}} should generate a default @Deployment if a deployment method is not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-58) Provide default @Deployment if it does not exist
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-58?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened FURNACE-58:
------------------------------------
As each container has a different service deployment strategy, we need to rethink this
> Provide default @Deployment if it does not exist
> ------------------------------------------------
>
> Key: FURNACE-58
> URL: https://issues.jboss.org/browse/FURNACE-58
> Project: Forge: Furnace
> Issue Type: Feature Request
> Components: Test Harness
> Affects Versions: 2.19.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.19.1.Final
>
>
> In order to avoid writing the deployment method (considered a boilerplate code) {{FurnaceDeploymentScenarioGenerator}} should generate a default @Deployment if a deployment method is not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-58) Provide default @Deployment if it does not exist
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-58?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FURNACE-58.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.19.1.Final
(was: 2.x Future)
Resolution: Done
> Provide default @Deployment if it does not exist
> ------------------------------------------------
>
> Key: FURNACE-58
> URL: https://issues.jboss.org/browse/FURNACE-58
> Project: Forge: Furnace
> Issue Type: Feature Request
> Components: Test Harness
> Affects Versions: 2.19.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.19.1.Final
>
>
> In order to avoid writing the deployment method (considered a boilerplate code) {{FurnaceDeploymentScenarioGenerator}} should generate a default @Deployment if a deployment method is not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-59) NPE in Furnace Annotations.getAnnotation()
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-59?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FURNACE-59.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.19.1.Final
(was: 2.x Future)
Resolution: Done
> NPE in Furnace Annotations.getAnnotation()
> ------------------------------------------
>
> Key: FURNACE-59
> URL: https://issues.jboss.org/browse/FURNACE-59
> Project: Forge: Furnace
> Issue Type: Bug
> Environment: My dev commit f397ea646
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Fix For: 2.19.1.Final
>
>
> Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
> Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
> In this case Annotations.getAnnotation fails to find @Property.
> {code:java}
> testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
> java.lang.NullPointerException: null
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
> at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
> at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
> at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-59) NPE in Furnace Annotations.getAnnotation()
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/FURNACE-59?page=com.atlassian.jira.plugin... ]
Ondrej Zizka updated FURNACE-59:
--------------------------------
Description:
Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
In this case Annotations.getAnnotation fails to find @Property.
{code:java}
testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
java.lang.NullPointerException: null
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
{code}
was:
Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
{code:java}
testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
java.lang.NullPointerException: null
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
{code}
> NPE in Furnace Annotations.getAnnotation()
> ------------------------------------------
>
> Key: FURNACE-59
> URL: https://issues.jboss.org/browse/FURNACE-59
> Project: Forge: Furnace
> Issue Type: Bug
> Environment: My dev commit f397ea646
> Reporter: Ondrej Zizka
> Fix For: 2.x Future
>
>
> Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
> Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
> In this case Annotations.getAnnotation fails to find @Property.
> {code:java}
> testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
> java.lang.NullPointerException: null
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
> at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
> at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
> at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-59) NPE in Furnace Annotations.getAnnotation()
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/FURNACE-59?page=com.atlassian.jira.plugin... ]
Ondrej Zizka updated FURNACE-59:
--------------------------------
Description:
Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
{code:java}
testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
java.lang.NullPointerException: null
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
{code}
was:
Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE. Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
{code:java}
testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
java.lang.NullPointerException: null
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
{code}
> NPE in Furnace Annotations.getAnnotation()
> ------------------------------------------
>
> Key: FURNACE-59
> URL: https://issues.jboss.org/browse/FURNACE-59
> Project: Forge: Furnace
> Issue Type: Bug
> Environment: My dev commit f397ea646
> Reporter: Ondrej Zizka
> Fix For: 2.x Future
>
>
> Annotations.getAnnotation, under some condition, doesn't check the input and throws a NPE.
> Looks like it happens when there's no declaring class for an annotation type (not sure how that can happen).
> {code:java}
> testInvalidTypeGet(org.jboss.windup.config.selectables.VariablesTest) Time elapsed: 0.086 sec <<< ERROR!
> java.lang.NullPointerException: null
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
> at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
> at org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
> at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
> at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months