[JBoss JIRA] (FORGE-1875) Console hangs during auto-complete
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1875?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1875.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Cannot Reproduce Bug
Cannot reproduce with the latest version. Feel free to reopen if still happens
> Console hangs during auto-complete
> ----------------------------------
>
> Key: FORGE-1875
> URL: https://issues.jboss.org/browse/FORGE-1875
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.6.0.Final
> Environment: JBDS 8 Beta 2, Mac OS X Mavericks 10.9.3, Oracle JDK 1.8.0_05
> Reporter: Vineet Reynolds
>
> When I TAB out for auto-complete options for JPA entities during scaffold generation, like so:
> {noformat}
> scaffold-generate --provider AngularJS --targets <TAB> com.redhat.sessions.model.
> {noformat}
> then the console hangs after displaying the initial package selection i.e. {{com.redhat.sessions.model.}}.
> The following stacktrace is reported:
> {noformat}
> !ENTRY org.jboss.tools.forge.aesh.core 4 1 2014-06-09 20:44:52.663
> !MESSAGE Error logged from Aesh Core Plugin:
> !STACK 0
> java.lang.Throwable: Unimplemented command: DEVICE_STATUS_REPORT
> at org.jboss.tools.aesh.core.internal.ansi.AbstractCommand.handle(AbstractCommand.java:11)
> at org.jboss.tools.aesh.core.internal.io.DocumentHandler.handleCommand(DocumentHandler.java:35)
> at org.jboss.tools.aesh.core.internal.io.CommandFilter.filterOutput(CommandFilter.java:34)
> at org.jboss.tools.aesh.core.internal.io.AeshOutputStream.write(AeshOutputStream.java:21)
> at java.io.PrintStream.write(PrintStream.java:480)
> at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
> at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
> at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
> at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
> at java.io.PrintStream.write(PrintStream.java:527)
> at java.io.PrintStream.print(PrintStream.java:669)
> at org.jboss.aesh.console.Console$ConsoleShell.getCursor(Console.java:935)
> at org.jboss.aesh.console.AeshConsoleBuffer.redrawMultipleLines(AeshConsoleBuffer.java:156)
> at org.jboss.aesh.console.AeshConsoleBuffer.drawLine(AeshConsoleBuffer.java:125)
> at org.jboss.aesh.console.AeshConsoleBuffer.drawLine(AeshConsoleBuffer.java:114)
> at org.jboss.aesh.console.AeshCompletionHandler.displayCompletion(AeshCompletionHandler.java:218)
> at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:162)
> at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:381)
> at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:149)
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:596)
> at org.jboss.aesh.console.Console.execute(Console.java:586)
> at org.jboss.aesh.console.Console.access$700(Console.java:60)
> at org.jboss.aesh.console.Console$6.run(Console.java:503)
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2145) NullPointerException when trying to open in IDEA 14.0.1 with JDK 1.7.0
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2145?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2145.
----------------------------------
Resolution: Out of Date
Forge requires JDK 1.8. Reopen if problem persists
> NullPointerException when trying to open in IDEA 14.0.1 with JDK 1.7.0
> ----------------------------------------------------------------------
>
> Key: FORGE-2145
> URL: https://issues.jboss.org/browse/FORGE-2145
> Project: Forge
> Issue Type: Bug
> Components: UI - IntelliJ IDEA
> Reporter: James Strachan
> Assignee: Adam Wyłuda
> Fix For: 3.x Future
>
>
> using 14.0.1 of IDEA Ultimate and JDK 1.7.0 after following these instructions
> https://intellij-support.jetbrains.com/entries/23455956-Selecting-the-JDK...
> I get this track trace below.
> I added "1.7*" to the Info.plist as described above. In IDEA -> About it says "jdk 1.7.0_60-ea-b15". No idea where that comes from.
> {code}
> $ java -version
> java version "1.7.0_55"
> Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mod
> jstrachan (master):/java-workspace/hawtio/hawtio-web/$ ls -al /Library/Java/JavaVirtualMachines/
> total 32
> drwxr-xr-x 12 root wheel 408 13 Nov 15:53 .
> drwxrwxr-x 7 root admin 238 25 Oct 2013 ..
> lrwxr-xr-x 1 root wheel 20 6 Feb 2012 1.6.0.jdk -> 1.6.0_29-b11-402.jdk
> drwxr-xr-x 3 root wheel 102 1 Nov 2011 1.6.0_29-b11-402.jdk
> lrwxr-xr-x 1 root wheel 15 13 Nov 15:53 1.7.0.jdk -> jdk1.7.0_60.jdk
> drwxr-xr-x@ 4 root wheel 136 12 Jul 2012 1.8.0-lambda.jdk
> lrwxr-xr-x 1 root wheel 15 29 Apr 2014 jdk1.7.0 -> jdk1.7.0_55.jdk
> drwxr-xr-x 3 root wheel 102 29 Apr 2014 jdk1.7.0_55.jdk
> drwxr-xr-x 4 root wheel 136 13 Nov 15:53 jdk1.7.0_60.jdk
> lrwxr-xr-x 1 root wheel 15 23 Jun 08:35 jdk1.8.0 -> jdk1.8.0_05.jdk
> drwxr-xr-x 3 root wheel 102 23 Jun 08:34 jdk1.8.0_05.jdk
> {code}
> The exception is:
> {code}
> java.lang.NullPointerException
> at org.jboss.forge.plugin.idea.service.ForgeService.locateNativeClass(ForgeService.java:124)
> at org.jboss.forge.plugin.idea.context.UIContextFactory.getResourceConverter(UIContextFactory.java:76)
> at org.jboss.forge.plugin.idea.context.UIContextFactory.filesToResources(UIContextFactory.java:63)
> at org.jboss.forge.plugin.idea.context.UIContextFactory.getSelection(UIContextFactory.java:51)
> at org.jboss.forge.plugin.idea.context.UIContextFactory.create(UIContextFactory.java:36)
> at org.jboss.forge.plugin.idea.service.callbacks.CommandListPopupCallBack.run(CommandListPopupCallBack.java:37)
> at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:318)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
> at java.awt.EventQueue.access$200(EventQueue.java:103)
> at java.awt.EventQueue$3.run(EventQueue.java:694)
> at java.awt.EventQueue$3.run(EventQueue.java:692)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
> at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
> at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)
> at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2266) jpa-new-field --targetEntity not working
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2266?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2266.
----------------------------------
Resolution: Out of Date
Feel free to reopen if still happens in 3.x.
The syntax is {{jpa-new-field --target-entity xxxx}}
> jpa-new-field --targetEntity not working
> ----------------------------------------
>
> Key: FORGE-2266
> URL: https://issues.jboss.org/browse/FORGE-2266
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.14.0.Final
> Environment: java version "1.8.0_31"
> Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
> Ubuntu 14.04
> Reporter: Julian Zhu
> Fix For: 3.x Future
>
>
> same script running in 2.13, once upgraded to 2.14
> jpa-new-field --targetEntity did not work
> error: no such child:
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2358) Update the Java EE dependencies
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2358?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2358.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Done
> Update the Java EE dependencies
> -------------------------------
>
> Key: FORGE-2358
> URL: https://issues.jboss.org/browse/FORGE-2358
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE
> Affects Versions: 2.16.1.Final
> Reporter: Antonio Goncalves
>
> When setting up various Java EE technologies, the {{pom.xml}} ends up with several dependencies. Some of them could be updated :
> || groupId || artifactId || current version || should be updated to ||
> | org.jboss.spec | jboss-javaee-6.0 | 3.0.2.Final | 3.0.3.Final |
> | javax.websocket | javax.websocket-api | 1.0 | 1.1 |
> | org.hibernate.javax.persistence | hibernate-jpa-2.1-api | 1.0.0.Draft-16 | 1.0.0.Final |
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2405) addon-reinstall
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2405?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2405.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Won't Do
Addon-install already reinstalls it, so no need to introduce a new command
> addon-reinstall
> ---------------
>
> Key: FORGE-2405
> URL: https://issues.jboss.org/browse/FORGE-2405
> Project: Forge
> Issue Type: Feature Request
> Components: Addon Manager
> Reporter: Ondrej Zizka
>
> addon-install would keep the context of addon installation.
> addon-reinstall would then reinstall it from the same place.
> Example:
> addon-install without arguments searches the current directory's project.
> it installs org.jboss:foo,1.0
> Then I want to reinstall, the project is alredy 1.1
> So `addon-reinstall org.jboss:foo` will remove the current addon of the same G:A and install it from the same project directory as last time (possibly different than current working dir). This is a bit magical, but that's the way addon-* work anyway.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2470) List of JIRAs Antoine and Antonio would like to get fixed for their Devoxx University (by mid-November 2015)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2470?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2470.
----------------------------------
Resolution: Out of Date
> List of JIRAs Antoine and Antonio would like to get fixed for their Devoxx University (by mid-November 2015)
> ------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-2470
> URL: https://issues.jboss.org/browse/FORGE-2470
> Project: Forge
> Issue Type: Task
> Components: Brainstorming
> Affects Versions: 2.19.0.Final
> Reporter: Antonio Goncalves
> Fix For: 3.x Future
>
>
> Here are a few JIRAs that would get to be implemented so it makes the talk smoother :
> * [FORGE-2374] - Being able to generate an abstract or final Java class implementing serialiazable or not
> * [ROASTER-51] - Add interface or abstract class should implement inherited methods
> * [FORGE-2466] - Cannot use '~' in most of the command parameters
> * [FORGE-1580] - Having more flexible templating to integrate JSF pages better
> * [FORGE-2099] - scaffold-generate command should have a --targetPackage attribute
> * [FORGE-1808] - Being able to have inheritance in CDI
> * [FORGE-1594] - Being able to create a new JSF View
> * [FORGE-2081] - Being able to add a new CDI event producer to an existing class
> * [FORGE-2079] - Being able to add a new CDI producer field
> * [FORGE-2225] - Being able to add a new CDI producer method to an existing class
> * [FORGE-2468] - Being able to add methods to an existing JSF backing bean
> * [FORGE-2318] - Being able to setup a logger
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2636) No specified tables error
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2636?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2636:
----------------------------------------
Is this still reproducible with the latest version?
> No specified tables error
> -------------------------
>
> Key: FORGE-2636
> URL: https://issues.jboss.org/browse/FORGE-2636
> Project: Forge
> Issue Type: Bug
> Components: Database Tools
> Affects Versions: 3.0.1.Final
> Environment: Windows 10, x64
> Reporter: John Spencer
>
> When I try to execute jpa-generate-entities-from-tables, using:
> {code:java}
> jpa-generate-entities-from-tables --database-tables * --jdbc-url "jdbc:mysql://localhost:3306/validDB" --user-name root --user-password 1234 --driver-location "validpath\mysql-connector-java-5.1.6-bin.jar" --driver-class com.mysql.jdbc.Driver;
> {code}
> Forge asks me again to enter all of information specified in the command, I do so, and then says "At least one database table must be specified".
> Also the "--database-tables" parameter does not show up in the list of available parameters when pressing tab after having specified a connection profile and/or specifying connection parameters. This might possibly be related to this [issue] (https://issues.jboss.org/projects/FORGE/issues/FORGE-2635?filter=allopeni...).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (FORGE-2232) Documenting how to create and test a command that creates Java code
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2232?page=com.atlassian.jira.plugin... ]
Work on FORGE-2232 stopped by George Gastaldi.
----------------------------------------------
> Documenting how to create and test a command that creates Java code
> -------------------------------------------------------------------
>
> Key: FORGE-2232
> URL: https://issues.jboss.org/browse/FORGE-2232
> Project: Forge
> Issue Type: Sub-task
> Components: Documentation
> Affects Versions: 2.14.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 3.x Future
>
>
> The idea is to document commands that create new code ({{new}} commands). There are several level of complexity and we should go step by step :
> 1. A command to create a [new constraint payload|FORGE-1620] is quite simple. It only generates Java code to a specific directory
> 2. A command to create a [new package info|FORGE-2071] is a bit tricker because the generate Java code is not a class per-se
> 3. A command to create a [new constraint validator|FORGE-1618] have several parameters that can be used ({{type}} and {{targetConstraint}}). The case of the [JPA Listener|FORGE-2093] is also important because the command taks a choice of parameters ({{POST_UPDATE}}, {{PRE_PERSIST}}...)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months