| Summary: | NPE WorkbenchApplicationConfiguration#getOSGiProperty | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sven Uhlig <s-b-u> |
| Component: | Workbench | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mknauer |
| Version: | 3.9 | ||
| Target Milestone: | 3.9 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/143669 https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=d4e3fa33363c54553c2d4a9c578335c0f90aa559 |
||
| Whiteboard: | |||
|
Description
Sven Uhlig
Could you provide a simple project to reproduce the issue? Hi Ivan, you can use each workbench based app, e.g. o.e.r.demo or o.e.r.demo.databinding or just call Platform.getBundle( Constants.SYSTEM_BUNDLE_SYMBOLICNAME ) somewhere else. Platform.getBundle looks for a module with osgi.identity capability and not osgi.wiring.bundle and the osgi.identity of the systembundle is "org.eclipse.osgi" and not "system.bundle". I don't know if something changed, but at the moment (3.9M3) it can't work. "bundleContext.getBundle( Constants.SYSTEM_BUNDLE_ID )" or "bundleContext.getBundle( Constants.SYSTEM_BUNDLE_LOCATION )" will do the rigth thing. New Gerrit change created: https://git.eclipse.org/r/143669 Gerrit change https://git.eclipse.org/r/143669 was merged to [master]. Commit: http://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=d4e3fa33363c54553c2d4a9c578335c0f90aa559 the nightly build works again as expected thanks a lot Thank you for testing and documenting this error! It should be fixed in the upcoming RC2, too. The build candidate can be found here: http://download.eclipse.org/rt/rap/3.9/rap-3.9.0-RC2-20190612-1720.zip |