Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
script-console-1.0.0
-
None
Description
A service file can also have a comment like below like
#script engines supported com.sun.script.javascript.RhinoScriptEngineFactory #javascript
Such a service file is not parsed properly and following exception is thrown
2015-11-30 11:23:58.375 ERROR 23215 --- [ixDispatchQueue] o.a.f.webconsole.plugins.scriptconsole : Cannot register ScriptEngineFactory com.sun.script.javascript.RhinoScriptEngineFactory #javascript (java.lang.ClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory #javascript) java.lang.ClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory #javascript at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_55] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_55] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_55] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_55] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_55] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_55] at org.apache.felix.connect.PojoSRBundle.loadClass(PojoSRBundle.java:451) ~[org.apache.felix.connect-0.1.0.jar:na] at org.apache.felix.webconsole.plugins.scriptconsole.internal.ScriptEngineManager.registerFactories(ScriptEngineManager.java:197) [org.apache.felix.webconsole.plugins.scriptconsole-1.0.0.jar:na] at org.apache.felix.webconsole.plugins.scriptconsole.internal.ScriptEngineManager.refreshScriptEngineManager(ScriptEngineManager.java:160) [org.apache.felix.webconsole.plugins.scriptconsole-1.0.0.jar:na] at org.apache.felix.webconsole.plugins.scriptconsole.internal.ScriptEngineManager.bundleChanged(ScriptEngineManager.java:111) [org.apache.felix.webconsole.plugins.scriptconsole-1.0.0.jar:na] at org.apache.felix.connect.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:821) [org.apache.felix.connect-0.1.0.jar:na] at org.apache.felix.connect.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:771) [org.apache.felix.connect-0.1.0.jar:na] at org.apache.felix.connect.felix.framework.util.EventDispatcher.run(EventDispatcher.java:993) [org.apache.felix.connect-0.1.0.jar:na] at org.apache.felix.connect.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:52) [org.apache.felix.connect-0.1.0.jar:na] at org.apache.felix.connect.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:94) [org.apache.felix.connect-0.1.0.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]
Attachments
Issue Links
- is related to
-
OAK-3720 Update script console bundle version to 1.0.2
- Closed