[JBoss JIRA] (FORGE-781) forge install-plugin command fails with cygwin
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-781?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-781.
------------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: (was: 1.x Future)
Resolution: Unresolved
Closing since it's been quite some time and the reporter has not replied.
> forge install-plugin command fails with cygwin
> -----------------------------------------------
>
> Key: FORGE-781
> URL: https://issues.jboss.org/browse/FORGE-781
> Project: Forge
> Issue Type: Bug
> Components: Init Scripts, Windows
> Affects Versions: 1.1.2.Final, 1.1.3.Final, 1.2.0.Final
> Environment: cygwin
> Reporter: Andreas Karalus
> Assignee: Lincoln Baxter III
>
> @See: https://community.jboss.org/message/797250
> forge install-plugin <plugin> command fails if it is called from cygwin.
> I tried this with different forge versions (1.1.2, 1.1.3, 1.2.0) and different plugins (jboss-as-7, richfaces)
> I think the problem relies in the path resolution for loading modules with cygwin. This path ist not present: C:\cygwin\home\297646\.forge\plugins
> {code}
> roots: D:\Programme\forge-distribution-1.2.0.Final\modules,C:\cygwin\home\297646\.forge\plugins,D:\workspaces\forge-jbossas-quickstart\
> {code}
> The .forge folder is installed under: C:\Users\297646\.forge\plugin (even if forge was called from cygwin first time).
> {code}
> 297646@TB01448C ~/workspaces/forge-jbossas-quickstart
> # forge
> Failed loading: org.richfaces.forge.richfaces-forge-plugin:1.0.5.Final:1.0.0-SNAPSHOT-d292c53d-b7ad-41b8-800e-8c2b4ea1475b
> org.jboss.modules.ModuleNotFoundException: Module org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-d292c53d-b7ad-41b8-800e-8c2b4ea1475b is not found in local module loader @2fcac6db (roots: D:\Programme\forge-distribution-1.2.0.Final\modules,C:\cygwin\home\297646\.forge\plugins,D:\workspaces\forge-jbossas-quickstart\.)
> at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
> at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
> at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
> at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204)
> at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:254)
> at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:38)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:125)
> at java.lang.Thread.run(Thread.java:662)
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
> JBoss Forge, version [ 1.2.0.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ]
> [jboss-as-quickstarts-parent] forge-jbossas-quickstart $
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-1243) Forge Bootstrap should print Forge version on critical failure
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1243?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1243.
-------------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: 2.0.0.Alpha14
Resolution: Done
> Forge Bootstrap should print Forge version on critical failure
> --------------------------------------------------------------
>
> Key: FORGE-1243
> URL: https://issues.jboss.org/browse/FORGE-1243
> Project: Forge
> Issue Type: Feature Request
> Components: Usability
> Affects Versions: 2.0.0.Alpha13
> Reporter: Lincoln Baxter III
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Alpha14
>
>
> This would make it easier to debug when users post traces that cause Forge to crash.
> {code}
> sorig:TripMe bgeorges$ forge --install shell
> Using Forge at /Applications/jboss/forge
> java.lang.IllegalArgumentException: No Artifact version found for org.jboss.forge.addon:shell
> at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:192)
> at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:138)
> at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:87)
> sorig:TripMe bgeorges$
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-1214) FacetNotFoundException ... JavaSourceFacet on switchYardConfigurator.createServiceTest()
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1214?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1214.
-------------------------------------
Assignee: Lincoln Baxter III
Resolution: Cannot Reproduce Bug
Thank you for attaching a sample.
Not sure if it's because of upgrade or what, but I was not able to reproduce this issue. We can revisit at a later time when work continues on this.
Additionally, issues specific to plugins should be filed under the FORGEPLUGINS JIRA project.
> FacetNotFoundException ... JavaSourceFacet on switchYardConfigurator.createServiceTest()
> -----------------------------------------------------------------------------------------
>
> Key: FORGE-1214
> URL: https://issues.jboss.org/browse/FORGE-1214
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 2.0.0.Alpha12
> Environment: Fedora 16
> Java 1.7.0_25
> maven 3.1.0
> Reporter: R Searls
> Assignee: Lincoln Baxter III
> Priority: Minor
> Labels: FacetNotFoundException, JavaSourceFacet, createServiceTest, switchyard
> Attachments: facets-JavaSourceFacet-Alpha12.zip
>
>
> The offending method is in plugin-switchyard.
> A call to switchYardConfigurator.createServiceTest(project, className, packageName); produces the following exception below.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator.createServiceTest(SwitchYardConfigurator.java:210)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$_javassist_f0558708-2813-450d-a3c3-25d5afb55590.createServiceTest(SwitchYardConfigurator_$$_javassist_f0558708-2813-450d-a3c3-25d5afb55590.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:92)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$_javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.createServiceTest(SwitchYardConfigurator_$$_javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.java)
> at org.jboss.forge.DemoApp.createService(DemoApp.java:80)
> at org.jboss.forge.DemoApp.processActions(DemoApp.java:60)
> at org.jboss.forge.DemoApp.process(DemoApp.java:32)
> at org.jboss.forge.DemoApp.main(DemoApp.java:92)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
> ... 22 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-1216) FacetNotFoundException, project can not find a facet that was just installed.
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1216?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1216.
-------------------------------------
Assignee: Lincoln Baxter III
Resolution: Cannot Reproduce Bug
Not sure if it's because of upgrade or what, but I was not able to reproduce this issue. We can revisit at a later time when work continues on this.
> FacetNotFoundException, project can not find a facet that was just installed.
> -----------------------------------------------------------------------------
>
> Key: FORGE-1216
> URL: https://issues.jboss.org/browse/FORGE-1216
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Environment: Fedora 16
> Java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Assignee: Lincoln Baxter III
> Priority: Minor
> Attachments: facets-SwitchYardFacet_Alpha12.zip
>
>
> This is occurring in plugin-switchyard code.
> A project object can not find the SwitchYardFacet that was just installed using
> the FacetFactory. The following exception is thrown.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:92)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> at org.jboss.forge.addon.projects.AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.getFacet(AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.java)
> at org.jboss.forge.DemoApp.process(DemoApp.java:44)
> at org.jboss.forge.DemoApp.main(DemoApp.java:59)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> ... 11 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-742) Forge console fails to respond after a backspace keystroke
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-742?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-742.
------------------------------------
Fix Version/s: (was: 1.x Future)
Resolution: Won't Fix
Closing this because it does not exist in F2.
> Forge console fails to respond after a backspace keystroke
> ----------------------------------------------------------
>
> Key: FORGE-742
> URL: https://issues.jboss.org/browse/FORGE-742
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 1.1.3.Final
> Reporter: Vineet Reynolds
> Assignee: Koen Aers
> Attachments: cinnamon-20130110-3.webm
>
>
> Forge stops responding to keyboard input when the backspace keystroke is entered on a line where the shell prompt is absent.
> This tends to occur when the AS7 container is started and writes log entries to the Forge console. Sometimes, the shell prompt is absent, and keystroke inputs at this point containing a backspace results in Forge entering an unresponsive state.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-85) Shell cannot parse command values containing '!' exclaimation points
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-85?page=com.atlassian.jira.plugin.s... ]
Lincoln Baxter III closed FORGE-85.
-----------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: 2.0.0.Alpha14
(was: 1.x Future)
Resolution: Out of Date
No longer an issue in F2.
> Shell cannot parse command values containing '!' exclaimation points
> --------------------------------------------------------------------
>
> Key: FORGE-85
> URL: https://issues.jboss.org/browse/FORGE-85
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 1.0.0.Beta2
> Reporter: Lincoln Baxter III
> Assignee: Lincoln Baxter III
> Labels: HackNight
> Fix For: 2.0.0.Alpha14
>
> Attachments: Forge-85.patch
>
>
> {code}
> [pfdemo] pfdemo $ echo sdfdf!
> sdfdf !
> [pfdemo] pfdemo $ echo sdfdf!sdf
> ***ERROR*** Exception encountered: !sdf: event not found (type "set VERBOSE true" to enable stack traces)
> [pfdemo] pfdemo $
> [pfdemo] pfdemo $ echo 'asdf!asdf`
> ***ERROR*** Exception encountered: !asdf`: event not found (type "set VERBOSE true" to enable stack traces)
> [pfdemo] pfdemo $
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-710) Forge shell hangs on exit
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-710?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-710.
------------------------------------
Fix Version/s: (was: 1.x Future)
Resolution: Cannot Reproduce Bug
Closing. Shell is completely rewritten in F2.
> Forge shell hangs on exit
> -------------------------
>
> Key: FORGE-710
> URL: https://issues.jboss.org/browse/FORGE-710
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 1.1.2.Final
> Environment: Fedora 17 Linux 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov 20 19:40:01 UTC 2012 x86_64 x86_64 GNU/Linux
> java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
> Reporter: James Perkins
> Assignee: James Perkins
> Attachments: jstacktrace, kill-3
>
>
> When attempting to exit Forge by typing exit and pressing enter a hang occurs. Using CTRL+D does seem to work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (FORGE-1261) "rest endpoint-from-entity" fails, ClassNotFoundException: org.apache.log4j.Priority
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1261?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1261:
----------------------------------------
Hi Thomas,
I tried the exact steps you pasted in a Windows 8 box and still failed to reproduce this issue. Could you try in a different machine or perhaps erase your C:\Users\Administrator\.forge\ directory ?
Thanks
> "rest endpoint-from-entity" fails, ClassNotFoundException: org.apache.log4j.Priority
> ------------------------------------------------------------------------------------
>
> Key: FORGE-1261
> URL: https://issues.jboss.org/browse/FORGE-1261
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 1.4.1.Final
> Environment: (Environment-independent, but...) JDK 1.6.0_45, Windows Server 2008 R2
> Reporter: Thomas Maslen
> Priority: Minor
>
> Summary: the org.freemarker module should express a dependency on org.apache.log4j but doesn't
> Workaround: edit modules/org/freemarker/main/module.xml and add the dependency
> The long version:
> "rest endpoint-from-entity" works fine in the version of Forge that is bundled in JBoss Tools 4.1 (Forge 1.3.3).
> However, the DTO-based functionality added in FORGE-1060 looked tasty, so I downloaded Forge 1.4.1 and took it for a spin.
> Regardless of whether I run 1.4.1 standalone or within JBoss Tools (Eclipse), "rest endpoint-from-entity" fails with
> java.lang.ClassNotFoundException: org.apache.log4j.Priority from [Module "org.freemarker:main"
> (I have a complete stack trace but it doesn't add anything profound).
> Once I edited modules/org/freemarker/main/module.xml and added a dependency for the "org.apache.log4j" class, "rest endpoint-from-entity" ran happily and generated the expected classes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months