java.lang.IllegalStateException: What?!? The capability was not found associated with any key! That is not possible at this stage.
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
./gradlew <project>:resolve.<bndfilenamewithoutextension>
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- RaySincerely,I'm not sure that your command line runbundles task will give you the option of ignoring your workspace repository. This is probably why you keep having interactions with the workspace projects instead of the released versions of those projects.Secondly, it's very true that bndtools has something left to be desired particularly in the way of explaining exactly what some resolve failures mean, especially when the resolver more or less crashes and all you get is a single like NPE or AIOBE. I've discussed this with the team in the past but I feel we need more work here.
On Fri, Dec 16, 2016 at 11:05 AM, Dan Gravell <d...@elstensoftware.com> wrote:
I have in the past successful debugged bndtools from a runtime workspace (or whatever it's called now in Eclipse). If that error message was consistently popping up we could find out that way.The trouble is that if the error messages change on every resolve that becomes a bit more difficult to arrange in your head, as it were.
On Friday, December 16, 2016 at 4:00:04 PM UTC, Tim Ward wrote:I too see this one from time to time, just got it again:
java.lang.IllegalStateException: What?!? The capability was not found
associated with any key! That is not possible at this stage.
Where does one go from here? What does it mean, why isn't there any
specific information (eg which capability is it talking about??) in the
error message, how do we diagnose, how do we fix?
--
Tim Ward
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
Odd, I don't have a resolve task... when was that added? I'm on 3.3.0. Tried it qualified by project name and unqualified (executed within the project directory).
On Friday, December 16, 2016 at 4:04:06 PM UTC, Raymond Auge wrote:On Fri, Dec 16, 2016 at 11:01 AM, Raymond Auge <raymon...@liferay.com> wrote:./gradlew <project>:resolve.<bndfilenamewithoutextension>
./gradlew <project>:resolve.<BNDRUNfilenamewithoutextension>use the gradle command:./gradlew my.propject.app:resolve.runmyapp- Ray
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Fri, Dec 16, 2016 at 11:28 AM, Dan Gravell <d...@elstensoftware.com> wrote:Odd, I don't have a resolve task... when was that added? I'm on 3.3.0. Tried it qualified by project name and unqualified (executed within the project directory).Sorry about that.- Ray
--
On Friday, December 16, 2016 at 4:04:06 PM UTC, Raymond Auge wrote:On Fri, Dec 16, 2016 at 11:01 AM, Raymond Auge <raymon...@liferay.com> wrote:./gradlew <project>:resolve.<bndfilenamewithoutextension>
./gradlew <project>:resolve.<BNDRUNfilenamewithoutextension>use the gradle command:./gradlew my.propject.app:resolve.runmyapp- Ray
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
On 20 Dec 2016, at 10:27, Dan Gravell <d...@elstensoftware.com> wrote:There are no stack traces - just java.lang.NullPointerException in the box. Nothing in the Error Log nor on stdout/err.
Don't be sorry. My last message was at the end of another long day and I was a bit grumpy. I run a software company that's supposed to be agile - taking so long to resolve issues with the build and configuration of our codebase is just a bit frustrating because we aren't improving our own product in this time.Because of the complexities involved (the workspace, basically) I think the best way forward might be for a more white box approach, running with a runtime workbench to see what is going on. The trouble is [what appears to be] the whole non determinism of these issues!
Because of the complexities involved (the workspace, basically) I think the best way forward might be for a more white box approach, running with a runtime workbench to see what is going on. The trouble is [what appears to be] the whole non determinism of these issues!Yes that concerns me as well. The resolve process *should* be deterministic, i.e. given exactly the same input you should get exactly the same output. I can’t think why that wouldn’t be the case.
What does your repository config look like?
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
On 20 Dec 2016, at 10:27, Dan Gravell <d...@elstensoftware.com> wrote:There are no stack traces - just java.lang.NullPointerException in the box. Nothing in the Error Log nor on stdout/err.Okay well that helps in itself… we need to make sure that if there are any exceptions in the resolution process, they are written fully either to the dialog or the Eclipse error log.
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
These extra packages you need "from the system bundle". How are you configuring the framework to provide them?Could you post:
1) list the packages you require from the JRE which are not typically exported by the system bundle
2) post your configuration of `-runsystempackages:`?
1) be very sensitive to fragments in the repositories used to resolve. The slf4j/log4j bundles are a constant source of pain due to how these are designed using fragments and when you have multiple versions of those logging libraries in your dependencies it can really throw the resolution off due to the resolver issues with fragments.
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
--Raymond Augé (@rotty3000)Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)
--
Tim Ward
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Tim Ward
-- Tim Ward
Looks like org.apache.felix.framework appears twice because once it is contributed as the host name in osgi.wiring.host as system.bundle, and once as org.apache.felix.framework.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.