[JBoss JIRA] (JBIDE-21474) Hibernate libraries are not being validated
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21474?page=com.atlassian.jira.plugi... ]
Rastislav Wagner commented on JBIDE-21474:
------------------------------------------
here's a screencast of the issue https://vimeo.com/156526478
It actually doesnt matter which libraries you choose, but Platfrom has to be set to Hibernate (JPA 2.1)
> Hibernate libraries are not being validated
> -------------------------------------------
>
> Key: JBIDE-21474
> URL: https://issues.jboss.org/browse/JBIDE-21474
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.3.1.Beta1
> Reporter: Rastislav Wagner
> Assignee: Koen Aers
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> enablement of HibernateUserLibraryValidator is not correctly defined in o.j.t.hibernate.jpt.core plugin.xml which causes this exception
> {code}
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.jpt.jpa.core.jpaPlatformGroup to type class org.eclipse.jpt.jpa.core.internal.libprov.JpaUserLibraryProviderInstallOperationConfig
> at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:127)
> at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:97)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:75)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:31)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:55)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled_(LibraryValidatorConfig.java:86)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled(LibraryValidatorConfig.java:72)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:121)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:1)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:80)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.next(FilteringIterator.java:68)
> at org.eclipse.jpt.common.utility.internal.iterator.TransformationIterator.next(TransformationIterator.java:54)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:79)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.<init>(FilteringIterator.java:56)
> at org.eclipse.jpt.common.utility.internal.iterator.IteratorTools.filter(IteratorTools.java:886)
> at org.eclipse.jpt.common.utility.internal.iterable.FilteringIterable.iterator(FilteringIterable.java:48)
> at org.eclipse.jpt.common.core.internal.libprov.JptUserLibraryProviderInstallOperationConfig.validate(JptUserLibraryProviderInstallOperationConfig.java:42)
> at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.validate(LibraryInstallDelegate.java:528)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.performValidation(LibraryFacetPropertyPage.java:385)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.performValidation(JptProjectPropertiesPage.java:448)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.updateValidation(LibraryFacetPropertyPage.java:346)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.validate(JptProjectPropertiesPage.java:396)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage$ValidationListener.modelChanged(JptProjectPropertiesPage.java:390)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.modelChanged(AbstractChangeListener.java:101)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.propertyChanged(AbstractChangeListener.java:53)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged_(ChangeSupport.java:526)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged(ChangeSupport.java:491)
> at org.eclipse.jpt.common.utility.internal.model.SingleAspectChangeSupport.firePropertyChanged(SingleAspectChangeSupport.java:156)
> at org.eclipse.jpt.common.utility.internal.model.AbstractModel.firePropertyChanged(AbstractModel.java:189)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.reset(BufferedModifiablePropertyValueModel.java:271)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.setValue(BufferedModifiablePropertyValueModel.java:139)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding.buttonSelected(BooleanButtonModelBinding.java:173)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding$ButtonSelectionListener.widgetSelected(BooleanButtonModelBinding.java:127)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBDS-3598) Error while building Jboss developer studio 9.1.0 Beta 2 from source
by Deepali Chourasia (JIRA)
[ https://issues.jboss.org/browse/JBDS-3598?page=com.atlassian.jira.plugin.... ]
Deepali Chourasia commented on JBDS-3598:
-----------------------------------------
Is there any workaround for this issue? Please suggest.
I tried to use git init before running the build. But it leads to another error:
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jbosstools-site' from location http://download.jboss.org/jbosstools/mars/snapshots/updates/core/4.3.mars/: No repository found at http://download.jboss.org/jbosstools/mars/snapshots/updates/core/4.3.mars. -> [Help 1]org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jbosstools-site' from location http://download.jboss.org/jbosstools/mars/snapshots/updates/core/4.3.mars/
> Error while building Jboss developer studio 9.1.0 Beta 2 from source
> --------------------------------------------------------------------
>
> Key: JBDS-3598
> URL: https://issues.jboss.org/browse/JBDS-3598
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: build
> Affects Versions: 9.1.0.Beta2
> Environment: RHEL 7.1 PPC64le and Ubuntu x86_64
> Maven - 3.3.9
> JDK - 1.8
> Reporter: Deepali Chourasia
> Assignee: Nick Boldt
> Fix For: 9.1.0.CR1, 10.0.0.Alpha1
>
> Attachments: Jboss_devstudio_9.1.0_Beta2_buildlog.txt
>
>
> I have downloaded jboss-devstudio-9.1.0.Beta2-src.zip and am building it from source.
> The build fails with the following error:
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-plugin (default-package-plugin) on project com.jboss.devstudio.core: Execution default-package-plugin of goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-plugin failed: One of setGitDir or setWorkTree must be called. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-plugin (default-package-plugin) on project com.jboss.devstudio.core: Execution default-package-plugin of goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-plugin failed: One of setGitDir or setWorkTree must be called.
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-package-plugin of goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-plugin failed: One of setGitDir or setWorkTree must be called.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21474) Hibernate libraries are not being validated
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21474?page=com.atlassian.jira.plugi... ]
Koen Aers edited comment on JBIDE-21474 at 2/24/16 1:48 AM:
------------------------------------------------------------
Hey [~rawagner], I am trying to replicate this without success... What does your 'Hibernate Libraries' user lib exactly look like? Can you detail the added jars?
By the way, I used Hibernate 4.3.11 and I added all the required jars as well as the entitymanager and the jpamodelgen jars. Is there anything I am missing?
was (Author: koen.aers):
Hey [~rawagner], I am trying to replicate this without success... What does your 'Hibernate Libraries' user lib exactly look like? Can you detail the added jars?
> Hibernate libraries are not being validated
> -------------------------------------------
>
> Key: JBIDE-21474
> URL: https://issues.jboss.org/browse/JBIDE-21474
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.3.1.Beta1
> Reporter: Rastislav Wagner
> Assignee: Koen Aers
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> enablement of HibernateUserLibraryValidator is not correctly defined in o.j.t.hibernate.jpt.core plugin.xml which causes this exception
> {code}
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.jpt.jpa.core.jpaPlatformGroup to type class org.eclipse.jpt.jpa.core.internal.libprov.JpaUserLibraryProviderInstallOperationConfig
> at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:127)
> at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:97)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:75)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:31)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:55)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled_(LibraryValidatorConfig.java:86)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled(LibraryValidatorConfig.java:72)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:121)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:1)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:80)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.next(FilteringIterator.java:68)
> at org.eclipse.jpt.common.utility.internal.iterator.TransformationIterator.next(TransformationIterator.java:54)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:79)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.<init>(FilteringIterator.java:56)
> at org.eclipse.jpt.common.utility.internal.iterator.IteratorTools.filter(IteratorTools.java:886)
> at org.eclipse.jpt.common.utility.internal.iterable.FilteringIterable.iterator(FilteringIterable.java:48)
> at org.eclipse.jpt.common.core.internal.libprov.JptUserLibraryProviderInstallOperationConfig.validate(JptUserLibraryProviderInstallOperationConfig.java:42)
> at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.validate(LibraryInstallDelegate.java:528)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.performValidation(LibraryFacetPropertyPage.java:385)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.performValidation(JptProjectPropertiesPage.java:448)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.updateValidation(LibraryFacetPropertyPage.java:346)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.validate(JptProjectPropertiesPage.java:396)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage$ValidationListener.modelChanged(JptProjectPropertiesPage.java:390)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.modelChanged(AbstractChangeListener.java:101)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.propertyChanged(AbstractChangeListener.java:53)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged_(ChangeSupport.java:526)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged(ChangeSupport.java:491)
> at org.eclipse.jpt.common.utility.internal.model.SingleAspectChangeSupport.firePropertyChanged(SingleAspectChangeSupport.java:156)
> at org.eclipse.jpt.common.utility.internal.model.AbstractModel.firePropertyChanged(AbstractModel.java:189)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.reset(BufferedModifiablePropertyValueModel.java:271)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.setValue(BufferedModifiablePropertyValueModel.java:139)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding.buttonSelected(BooleanButtonModelBinding.java:173)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding$ButtonSelectionListener.widgetSelected(BooleanButtonModelBinding.java:127)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21474) Hibernate libraries are not being validated
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21474?page=com.atlassian.jira.plugi... ]
Koen Aers commented on JBIDE-21474:
-----------------------------------
Hey [~rawagner], I am trying to replicate this without success... What does your 'Hibernate Libraries' user lib exactly look like? Can you detail the added jars?
> Hibernate libraries are not being validated
> -------------------------------------------
>
> Key: JBIDE-21474
> URL: https://issues.jboss.org/browse/JBIDE-21474
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.3.1.Beta1
> Reporter: Rastislav Wagner
> Assignee: Koen Aers
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> enablement of HibernateUserLibraryValidator is not correctly defined in o.j.t.hibernate.jpt.core plugin.xml which causes this exception
> {code}
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.jpt.jpa.core.jpaPlatformGroup to type class org.eclipse.jpt.jpa.core.internal.libprov.JpaUserLibraryProviderInstallOperationConfig
> at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:127)
> at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:97)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:75)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:31)
> at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:55)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled_(LibraryValidatorConfig.java:86)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig.isEnabled(LibraryValidatorConfig.java:72)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:121)
> at org.eclipse.jpt.common.core.internal.libval.LibraryValidatorConfig$IsEnabled.evaluate(LibraryValidatorConfig.java:1)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:80)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.next(FilteringIterator.java:68)
> at org.eclipse.jpt.common.utility.internal.iterator.TransformationIterator.next(TransformationIterator.java:54)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:79)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.<init>(FilteringIterator.java:56)
> at org.eclipse.jpt.common.utility.internal.iterator.IteratorTools.filter(IteratorTools.java:886)
> at org.eclipse.jpt.common.utility.internal.iterable.FilteringIterable.iterator(FilteringIterable.java:48)
> at org.eclipse.jpt.common.core.internal.libprov.JptUserLibraryProviderInstallOperationConfig.validate(JptUserLibraryProviderInstallOperationConfig.java:42)
> at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.validate(LibraryInstallDelegate.java:528)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.performValidation(LibraryFacetPropertyPage.java:385)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.performValidation(JptProjectPropertiesPage.java:448)
> at org.eclipse.jst.common.project.facet.ui.libprov.LibraryFacetPropertyPage.updateValidation(LibraryFacetPropertyPage.java:346)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage.validate(JptProjectPropertiesPage.java:396)
> at org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage$ValidationListener.modelChanged(JptProjectPropertiesPage.java:390)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.modelChanged(AbstractChangeListener.java:101)
> at org.eclipse.jpt.common.utility.model.listener.AbstractChangeListener.propertyChanged(AbstractChangeListener.java:53)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged_(ChangeSupport.java:526)
> at org.eclipse.jpt.common.utility.internal.model.ChangeSupport.firePropertyChanged(ChangeSupport.java:491)
> at org.eclipse.jpt.common.utility.internal.model.SingleAspectChangeSupport.firePropertyChanged(SingleAspectChangeSupport.java:156)
> at org.eclipse.jpt.common.utility.internal.model.AbstractModel.firePropertyChanged(AbstractModel.java:189)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.reset(BufferedModifiablePropertyValueModel.java:271)
> at org.eclipse.jpt.common.utility.internal.model.value.BufferedModifiablePropertyValueModel.setValue(BufferedModifiablePropertyValueModel.java:139)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding.buttonSelected(BooleanButtonModelBinding.java:173)
> at org.eclipse.jpt.common.ui.internal.swt.bindings.BooleanButtonModelBinding$ButtonSelectionListener.widgetSelected(BooleanButtonModelBinding.java:127)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21732) Server Adapter: Improve routing selection group in New OpenShift Server adapter wizard
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21732?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21732:
-----------------------------------------------
'Default Route' is the name of the group and is shown as 'Services' for its group.
The role of the checkbox is obvious, and the label has tool tip text explaining it. Now, it is "Uncheck if you want to select route in a dialog", but it can be improved.
The problem with the suggested enhancement is more vertical space required, and it already causes complaints, see JBIDE-21749.
However, if it were not for the space problem, I would like the proposed checkbox more than what it is now, though 'Default Settings' under 'Default Route' with an opposite meaning may be confusing and I would look for better words (actually, the 'mute' checkbox tells that I tried but failed).
[~adietish], [~fbricon], could you please advise what layout and what label names may be better for user experience?
> Server Adapter: Improve routing selection group in New OpenShift Server adapter wizard
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-21732
> URL: https://issues.jboss.org/browse/JBIDE-21732
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Labels: openshift_v3, server_adapter
> Attachments: default_route_os3.gliffy
>
>
> Currently there is a group called "Default Route" and there is a selection of a routing and checkbox for it. See attached diagram for proposed layout.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21747) Wrong properties view layout when selecting the "Properties" menu
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21747?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-21747 at 2/23/16 11:14 PM:
-------------------------------------------------------------------------
Properties view requests the property sheet implementation and input from the active part. If an action opens Properties view as active, it does not have a chance to load data from the previous active view. The only known to me way to let Properties view get properly updated is to bounce focus back to the previous view and then again to Properties view.
was (Author: scabanovich):
Properties view gets property sheet implementation and input from active part. If action requests to open Properties view as active, it does not have a chance to load data from the previous active view. The solution is to activate Properties view in two steps - first, make it visible; second, give it focus. After the first step, it will obtain data from the current active view.
> Wrong properties view layout when selecting the "Properties" menu
> -----------------------------------------------------------------
>
> Key: JBIDE-21747
> URL: https://issues.jboss.org/browse/JBIDE-21747
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
>
> If the properties view is closed and the user clicks on the "Properties" context menu from the OpenShift Explorer view, then the Properties view is opened but with the classic layout, not the tabbed layout.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21747) Wrong properties view layout when selecting the "Properties" menu
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21747?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21747:
-----------------------------------------------
Properties view gets property sheet implementation and input from active part. If action requests to open Properties view as active, it does not have a chance to load data from the previous active view. The solution is to activate Properties view in two steps - first, make it visible; second, give it focus. After the first step, it will obtain data from the current active view.
> Wrong properties view layout when selecting the "Properties" menu
> -----------------------------------------------------------------
>
> Key: JBIDE-21747
> URL: https://issues.jboss.org/browse/JBIDE-21747
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
>
> If the properties view is closed and the user clicks on the "Properties" context menu from the OpenShift Explorer view, then the Properties view is opened but with the classic layout, not the tabbed layout.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month