I believe the Felix Gogo bundles are not working on Equinox.
When I start the framework I get this error:
```
bundleresource://8.fwk249034932/gosh_profile:23.0IOException: no matches found:
bundleresource://8.fwk249034932/gosh_profile: ERROR:
java.lang.NullPointerException: Cannot invoke
org.jline.reader.LineReader.setOpt(org.jline.reader.LineReader$Option) because
reader is null
java.io.IOException: no matches found:
bundleresource://8.fwk249034932/gosh_profile: ERROR:
java.lang.NullPointerException: Cannot invoke
org.jline.reader.LineReader.setOpt(org.jline.reader.LineReader$Option) because
reader is null
at
org.apache.felix.gogo.runtime.Expander.generateFileNames(Expander.java:662)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:131)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:73)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:58)
at org.apache.felix.gogo.runtime.Closure.eval(Closure.java:399)
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:463)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
```
The same set of bundles works fine on latest Apache Felix:
```
____________________________
Welcome to Apache Felix Gogo
g! lb
11:48:10
START LEVEL 10
ID|State |Level|Name
0|Active | 0|System Bundle (7.0.3)|7.0.3
1|Active | 2|Apache Commons Lang (3.3.2)|3.3.2
2|Active | 4|my-consumer (2.0.0)|2.0.0
3|Active | 4|Apache Felix Gogo Runtime (1.1.4)|1.1.4
4|Active | 4|my-api (2.0.0)|2.0.0
5|Active | 4|Apache Felix Gogo Command (1.1.2)|1.1.2
6|Active | 4|JLine Bundle (3.21.0)|3.21.0
7|Active | 4|Groovy Runtime (4.0.0)|4.0.0
8|Active | 4|Apache Felix Gogo JLine Shell (1.1.8)|1.1.8
9|Active | 4|my-impl (2.0.0)|2.0.0
```
The Equinox framework bundle I am using is this one:
https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2021-09/index/org.eclipse.osgi_3.17.0.v20210823-1805.html
org.eclipse.osgi
3.17.0.v20210823-1805<https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2021-09/index/org.eclipse.osgi_3.17.0.v20210823-1805.html>
Update Sites Reports. OSGi System Bundle org.eclipse.osgi
3.17.0.v20210823-1805. Built: 2021-09-09 at 10:09 Reported: 2022-02-12 at 05:01
http://download.eclipse.org ...
download.eclipse.org
As far as I can tell this is a bug in the Apache Gogo JLine Bundle.
Running on JDK17.
Regards,
Renato Athaydes