[
https://issues.jboss.org/browse/FORGE-2421?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-2421.
----------------------------------
Resolution: Done
'cat -c ' fails with "scanner must be specified" if
extension is unknown
------------------------------------------------------------------------
Key: FORGE-2421
URL:
https://issues.jboss.org/browse/FORGE-2421
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.17.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.17.1.Final
{code}
[bin]$ cat forge
***ERROR*** Error while executing 'cat'
java.lang.IllegalArgumentException: scanner must be specified
at org.jboss.forge.addon.text.Highlighter.execute(Highlighter.java:70)
at org.jboss.forge.addon.text.Highlighter.byFileName(Highlighter.java:63)
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:497)
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.text.Highlighter_$$_javassist_317f76ab-a456-4424-a502-27c368fff137.byFileName(Highlighter_$$_javassist_317f76ab-a456-4424-a502-27c368fff137.java)
at org.jboss.forge.addon.shell.command.CatCommand.execute(CatCommand.java:87)
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:497)
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.shell.command.CatCommand_$$_javassist_557b7e88-cb0b-4b84-9b9e-a60f0abbc620.execute(CatCommand_$$_javassist_557b7e88-cb0b-4b84-9b9e-a60f0abbc620.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:90)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
at
org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:89)
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)