Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator distributive configuration issue makes it fail on startup #1370

Closed
eparovyshnaya opened this issue May 22, 2024 · 1 comment
Closed
Assignees
Labels
component::operator (obsolete) Eclipse Passage Operator RCP (LOC) priority::high Priority: HIGH
Milestone

Comments

@eparovyshnaya
Copy link
Contributor

Passage Operator fails on startup

Failed to configure logging
java.lang.NullPointerException: Cannot invoke "java.net.URL.openStream()" because the return value of "org.eclipse.core.runtime.FileLocator.find(org.osgi.framework.Bundle, org.eclipse.core.runtime.IPath, java.util.Map)" is null
        at org.eclipse.passage.lic.equinox.io.FileFromBundle.get(FileFromBundle.java:41)
        at org.eclipse.passage.loc.operator.seal.OperatorFramework.logConfig(OperatorFramework.java:70)
        at org.eclipse.passage.lic.internal.execute.Logging.configure(Logging.java:27)
        at org.eclipse.passage.loc.operator.seal.OperatorFramework.configureLogging(OperatorFramework.java:65)
        at org.eclipse.passage.loc.operator.seal.OperatorFramework.<init>(OperatorFramework.java:41)
        at org.eclipse.passage.loc.operator.seal.OperatorFramework.<clinit>(OperatorFramework.java:35)
        at org.eclipse.passage.loc.operator.seal.OperatorFrameworkSupplier.get(OperatorFrameworkSupplier.java:26)
        at org.eclipse.passage.loc.operator.seal.OperatorFrameworkSupplier.get(OperatorFrameworkSupplier.java:1)
        at java.base/java.util.Optional.flatMap(Optional.java:289)
        at org.eclipse.passage.lic.equinox.EquinoxFrameworkAware.lambda$6(EquinoxFrameworkAware.java:77)
        at org.eclipse.passage.lic.equinox.EquinoxFrameworkAware.withReference(EquinoxFrameworkAware.java:123)
        at org.eclipse.passage.lic.equinox.EquinoxFrameworkAware.withFramework(EquinoxFrameworkAware.java:74)
        at org.eclipse.passage.lic.e4.ui.addons.E4LicensingAddon.product(E4LicensingAddon.java:70)
        at org.eclipse.passage.lic.e4.ui.addons.E4LicensingAddon.applicationStarted(E4LicensingAddon.java:59)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4047)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3663)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:165)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
@eparovyshnaya eparovyshnaya added the component::operator (obsolete) Eclipse Passage Operator RCP (LOC) label May 22, 2024
@eparovyshnaya eparovyshnaya added this to the 3.0.0 milestone May 22, 2024
@eparovyshnaya eparovyshnaya self-assigned this May 22, 2024
@ruspl-afed ruspl-afed added the priority::high Priority: HIGH label May 23, 2024
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework components back to v1.1.0
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework components back to v1.1.0
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework LicensingColorRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework LocImageRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework LocWorkbenchEmfformsMigrator
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework UserDomainRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework AgreementDomainRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework FeatureDomainRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework LicenseDomainRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework ProductsDomainRegistry
ruspl-afed added a commit that referenced this issue May 23, 2024
Rework ProductOperatorServiceImpl
ruspl-afed added a commit that referenced this issue May 23, 2024
* make cardinality explicit
* make `activate` method final for base class
* make `deactivate` method final for base class
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework LicensingColorRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework LocImageRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework LocWorkbenchEmfformsMigrator
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework UserDomainRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework AgreementDomainRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework FeatureDomainRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework LicenseDomainRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework ProductsDomainRegistry
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
Rework ProductOperatorServiceImpl
eparovyshnaya pushed a commit that referenced this issue May 23, 2024
* make cardinality explicit
* make `activate` method final for base class
* make `deactivate` method final for base class
@eparovyshnaya
Copy link
Contributor Author

Fixed with #1377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component::operator (obsolete) Eclipse Passage Operator RCP (LOC) priority::high Priority: HIGH
Projects
None yet
Development

No branches or pull requests

2 participants