[JBoss JIRA] (FORGE-2501) CoordinateBuilder is not parsing correctly
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2501?page=com.atlassian.jira.plugin... ]
George Gastaldi moved FURNACE-85 to FORGE-2501:
-----------------------------------------------
Project: Forge (was: Forge: Furnace)
Key: FORGE-2501 (was: FURNACE-85)
Issue Type: Bug (was: Feature Request)
Component/s: Build Tools - Maven
(was: Maven)
Affects Version/s: 2.20.0.Final
(was: 2.22.5.Final)
Fix Version/s: 2.20.1.Final
(was: 2.22.6.Final)
> CoordinateBuilder is not parsing correctly
> ------------------------------------------
>
> Key: FORGE-2501
> URL: https://issues.jboss.org/browse/FORGE-2501
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.20.1.Final
>
>
> The changes introduced in FORGE-2493 broke the parsing in {{CoordinateBuilder}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-85) CoordinateBuilder is not parsing correctly
by George Gastaldi (JIRA)
George Gastaldi created FURNACE-85:
--------------------------------------
Summary: CoordinateBuilder is not parsing correctly
Key: FURNACE-85
URL: https://issues.jboss.org/browse/FURNACE-85
Project: Forge: Furnace
Issue Type: Feature Request
Components: Maven
Affects Versions: 2.22.5.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.22.6.Final
The changes introduced in FORGE-2493 broke the parsing in {{CoordinateBuilder}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGEPLUGINS-213) as-setup doesn't work with Forge 2.20.Final
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-213?page=com.atlassian.jira.... ]
George Gastaldi commented on FORGEPLUGINS-213:
----------------------------------------------
The `IllegalStateException` is fixed in the following PR: https://github.com/jerr/as-forge-addon/pull/2
About the original exception, I'll try to reproduce in here and provide a fix asap
> as-setup doesn't work with Forge 2.20.Final
> -------------------------------------------
>
> Key: FORGEPLUGINS-213
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-213
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: JBoss AS Addon
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Priority: Blocker
>
> No matter which version of Wildfly I try to setup, I get an exception with Forge 2.20.Final. For example :
> {code}
> as-setup --server wildfly8 --version 8.2.0.Final
> {code}
> Tries to install WildFly 8.2.0.Final and, even if it's in my local repository, tries to download it, and gets :
> {code}
> [QuickEntityEndpoint.java]$ as-setup --server wildfly8 --version 8.2.0.Final
> ***ERROR*** Error while executing 'AS: Setup'
> org.jboss.forge.furnace.manager.maven.MavenOperationException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:208)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.resolveArtifact(MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.java)
> at org.jboss.forge.addon.as.jboss.common.JBossProvider.install(JBossProvider.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.jboss.wf8.WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.install(WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.java)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl.execute(ASSetupWizardImpl.java:119)
> at org.jboss.forge.addon.as.ui.AbstractASWizardImpl.execute(AbstractASWizardImpl.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.execute(ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:155)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
> at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:90)
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
> 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: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
> at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:192)
> ... 36 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
> ... 40 more
> ***ERROR*** org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> [QuickEntityEndpoint.java]$
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2500?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2500.
----------------------------------
Resolution: Done
> Cant set Json array as FileResource content
> -------------------------------------------
>
> Key: FORGE-2500
> URL: https://issues.jboss.org/browse/FORGE-2500
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: Rafael Pestano
> Fix For: 2.20.1.Final, 3.0.0.Alpha1
>
>
> I'm trying to set the contents of a FileResource with an unNamed array, example:
> {code:java}
> FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
> fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
> {code}
> here it throws the exception:
> {code}
> org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
> {code}
> I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
> {{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2500?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2500:
-----------------------------------
Fix Version/s: 3.0.0.Alpha1
> Cant set Json array as FileResource content
> -------------------------------------------
>
> Key: FORGE-2500
> URL: https://issues.jboss.org/browse/FORGE-2500
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: Rafael Pestano
> Fix For: 2.20.1.Final, 3.0.0.Alpha1
>
>
> I'm trying to set the contents of a FileResource with an unNamed array, example:
> {code:java}
> FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
> fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
> {code}
> here it throws the exception:
> {code}
> org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
> {code}
> I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
> {{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2500?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-2500:
--------------------------------------
Assignee: Rafael Pestano (was: George Gastaldi)
> Cant set Json array as FileResource content
> -------------------------------------------
>
> Key: FORGE-2500
> URL: https://issues.jboss.org/browse/FORGE-2500
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: Rafael Pestano
> Fix For: 2.20.1.Final, 3.0.0.Alpha1
>
>
> I'm trying to set the contents of a FileResource with an unNamed array, example:
> {code:java}
> FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
> fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
> {code}
> here it throws the exception:
> {code}
> org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
> {code}
> I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
> {{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2500?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened FORGE-2500:
------------------------------------
> Cant set Json array as FileResource content
> -------------------------------------------
>
> Key: FORGE-2500
> URL: https://issues.jboss.org/browse/FORGE-2500
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.20.1.Final
>
>
> I'm trying to set the contents of a FileResource with an unNamed array, example:
> {code:java}
> FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
> fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
> {code}
> here it throws the exception:
> {code}
> org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
> {code}
> I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
> {{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2500?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2500.
----------------------------------
Resolution: Done
> Cant set Json array as FileResource content
> -------------------------------------------
>
> Key: FORGE-2500
> URL: https://issues.jboss.org/browse/FORGE-2500
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 2.20.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.20.1.Final
>
>
> I'm trying to set the contents of a FileResource with an unNamed array, example:
> {code:java}
> FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
> fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
> {code}
> here it throws the exception:
> {code}
> org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
> at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
> {code}
> I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
> {{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2500) Cant set Json array as FileResource content
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2500:
--------------------------------------
Summary: Cant set Json array as FileResource content
Key: FORGE-2500
URL: https://issues.jboss.org/browse/FORGE-2500
Project: Forge
Issue Type: Bug
Components: Parsers / File Manipulation
Affects Versions: 2.20.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.20.1.Final
I'm trying to set the contents of a FileResource with an unNamed array, example:
{code:java}
FileResource<?> fileResource = root.getChild("test").reify(FileResource.class);
fileResource.setContents("[]"); //same as Json.createArrayBuilder().build().toString()
{code}
here it throws the exception:
{code}
org.jboss.forge.addon.resource.ResourceException: Error while setting the Json contents
at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:98)
at org.jboss.forge.addon.parser.json.resource.JsonResourceImpl.setContents(JsonResourceImpl.java:29)
{code}
I think the error is because JsonResource tries to read an object (instead of an array in the case) in set contents(JsonResourceImpl line 93):
{{setContents(reader.readObject());}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month