You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Steven Spungin (JIRA)" <ji...@apache.org> on 2017/12/02 17:31:00 UTC
[jira] [Created] (KARAF-5515) Cellar - Error calling bundle-list
when symbolic name contains underscore
Steven Spungin created KARAF-5515:
-------------------------------------
Summary: Cellar - Error calling bundle-list when symbolic name contains underscore
Key: KARAF-5515
URL: https://issues.apache.org/jira/browse/KARAF-5515
Project: Karaf
Issue Type: Bug
Components: cellar-core
Affects Versions: 4.1.1
Reporter: Steven Spungin
I have 3 node test cluster, all running on the same machine. When I install a bundle with a symbolic name containing an underscore, the runtime will not allow me to list the bundles (among other things). When I rename my symbolic name to use no dots or underscores, I do not have this problem and cellar works as expected.
When this happens, I can still list other bundles by calling bundle-list default [bundlenumber], but I can't call the errant on using its bundleid, and I can't list all bundles either.
The name that causes the error is: tv.twelvetone.test.console_printer
{noformat}
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:?]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:?]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:?]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:?]
at org.apache.karaf.cellar.core.CellarSupport.wildCardMatch(CellarSupport.java:212) ~[46:org.apache.karaf.cellar.core:4.1.1]
at org.apache.karaf.cellar.core.CellarSupport.isAllowed(CellarSupport.java:183) ~[46:org.apache.karaf.cellar.core:4.1.1]
at org.apache.karaf.cellar.bundle.BundleSynchronizer.pull(BundleSynchronizer.java:142) ~[44:org.apache.karaf.cellar.bundle:4.1.1]
at org.apache.karaf.cellar.bundle.BundleSynchronizer.sync(BundleSynchronizer.java:90) ~[44:org.apache.karaf.cellar.bundle:4.1.1]
at org.apache.karaf.cellar.bundle.BundleSynchronizer.init(BundleSynchronizer.java:67) ~[44:org.apache.karaf.cellar.bundle:4.1.1]
at org.apache.karaf.cellar.bundle.internal.osgi.Activator.doStart(Activator.java:109) ~[44:org.apache.karaf.cellar.bundle:4.1.1]
at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:242) [44:org.apache.karaf.cellar.bundle:4.1.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)