[JBoss JIRA] (JBIDE-26226) Build: TP 4.9 change causes compilation error in OpenShift
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-26226:
----------------------------------------
Summary: Build: TP 4.9 change causes compilation error in OpenShift
Key: JBIDE-26226
URL: https://issues.jboss.org/browse/JBIDE-26226
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.9.0.AM1
Reporter: Andre Dietisheim
{code}
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile (default-compile) on project org.jboss.tools.openshift.ui: Compilation failure: Compilation failure:
[ERROR] /home/odockal/git/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImagePage.java:[372]
[ERROR] public Object convert(Object source) {
[ERROR] ^^^^^^
[ERROR] The return type is incompatible with ObjectToStringConverter.convert(Object)
[ERROR] /home/odockal/git/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImagePage.java:[396]
[ERROR] public Object convert(Object source) {
[ERROR] ^^^^^^
[ERROR] The return type is incompatible with ObjectToStringConverter.convert(Object)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26224) Fix compilation error due to 4.9 TP
by Jeff MAURY (JIRA)
Jeff MAURY created JBIDE-26224:
----------------------------------
Summary: Fix compilation error due to 4.9 TP
Key: JBIDE-26224
URL: https://issues.jboss.org/browse/JBIDE-26224
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.6.0.Final
Reporter: Jeff MAURY
Assignee: Jeff MAURY
Fix For: 4.9.0.AM1
Fix compilation error in org.jboss.tools.openshift.internal.common.ui.databinding.DisableableMultiValitdator due to switch to 4.9 TP
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26171) Delete resources: deleting all causes error "Comparison method violates its general contract!"
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26171?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-26171.
---------------------------------
Closing. issue is fixed.
Verified in:
Red Hat Developer Studio
Version: 12.9.0.AM1
Build id: AM1-v20180720-0441-B3039
Build date: 20180720-0441
> Delete resources: deleting all causes error "Comparison method violates its general contract!"
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-26171
> URL: https://issues.jboss.org/browse/JBIDE-26171
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: delete_resources
> Fix For: 4.6.0.Final
>
> Attachments: image-2018-07-04-21-50-14-821.png
>
>
> steps:
> # EXEC: create an app based on the nodejs-mongo-persistent template, have project imported and a server adapter for it
> # EXEC: restart server adapter several times in "Debug" then in "Run" then in "Debug" then in "Run" etc
> # ASSERT: have many deployments, replication controllers, deployment configs etc.
> # EXEC: select the project and pick "Delete Resources..." in the context menu
> # ASSERT: delete resources wizard shows up
> # EXEC: select all resources & finish the wizard
> Result:
> !image-2018-07-04-21-50-14-821.png!
> in the Eclipse log you'll find the following
> {code}
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
> at java.base/java.util.TimSort.mergeLo(TimSort.java:777)
> at java.base/java.util.TimSort.mergeAt(TimSort.java:514)
> at java.base/java.util.TimSort.mergeForceCollapse(TimSort.java:457)
> at java.base/java.util.TimSort.sort(TimSort.java:254)
> at java.base/java.util.Arrays.sort(Arrays.java:1514)
> at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348)
> at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
> at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
> at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
> at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourcesJob.doRun(DeleteResourcesJob.java:57)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-25838) Explorer: expand connection to the level that it was expanded to after editing it
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25838?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-25838.
---------------------------------
Closing, works as expected.
Verified in:
Red Hat Developer Studio
Version: 12.9.0.AM1
Build id: AM1-v20180720-0441-B3039
Build date: 20180720-0441
> Explorer: expand connection to the level that it was expanded to after editing it
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-25838
> URL: https://issues.jboss.org/browse/JBIDE-25838
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.5.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: connection, explorer
> Fix For: 4.6.0.Final
>
>
> steps:
> # ASSERT: in OpenShift Explorer: have a connection that is expanded to at least show a/all the projects
> # EXEC: edit the connection, change the url, hit "Finish"
> Result:
> Connection is updated (refreshed) but collapsed, wont show the/all the projects
> Expected result:
> Connection is updated (refreshed) and expanded like it was before editing it, showing the project(s) (and even service(s) if it was expanded to that level before editing it)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26177) JRebel installation via RH Central introduces IllegalStateException error
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26177?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26177:
-------------------------------
Fix Version/s: 4.9.x
> JRebel installation via RH Central introduces IllegalStateException error
> -------------------------------------------------------------------------
>
> Key: JBIDE-26177
> URL: https://issues.jboss.org/browse/JBIDE-26177
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.6.0.Final
> Reporter: Ondrej Dockal
> Fix For: 4.9.x
>
>
> Event in error log shows message: Deadlock detected. All locks owned by thread Worker-16: Generating JRebel configuration files for org.jboss.tools.openshift.common.ui. will be suspended.
> StackTrace:
> {code}
> java.lang.IllegalStateException
> at org.eclipse.core.internal.jobs.DeadlockDetector.reportDeadlock(DeadlockDetector.java:599)
> at org.eclipse.core.internal.jobs.DeadlockDetector.lockWaitStart(DeadlockDetector.java:403)
> at org.eclipse.core.internal.jobs.LockManager.addLockWaitThread(LockManager.java:154)
> at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:304)
> at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:202)
> at org.eclipse.core.internal.jobs.JobManager.yieldRule(JobManager.java:1524)
> at org.eclipse.core.internal.jobs.InternalJob.yieldRule(InternalJob.java:527)
> at org.eclipse.core.runtime.jobs.Job.yieldRule(Job.java:959)
> at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphImpl.waitForAllUpdates(DependencyGraphImpl.java:691)
> at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphImpl.getReferencingComponents(DependencyGraphImpl.java:126)
> at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphImpl.getReferencingComponents(DependencyGraphImpl.java:116)
> at org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent.getReferencingComponents(VirtualComponent.java:579)
> at org.eclipse.jst.j2ee.project.EarUtilities.getReferencingEARProjects(EarUtilities.java:274)
> at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.calculateManifestReferences(J2EEModuleVirtualComponent.java:374)
> at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.cacheManifestReferences(J2EEModuleVirtualComponent.java:364)
> at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:180)
> at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:218)
> at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:211)
> at org.eclipse.jst.common.internal.modulecore.SingleRootUtil.hasConsumableReferences(SingleRootUtil.java:217)
> at org.eclipse.jst.common.internal.modulecore.SingleRootUtil.validateSingleRoot(SingleRootUtil.java:165)
> at org.eclipse.jst.common.internal.modulecore.SingleRootUtil.isSingleRoot(SingleRootUtil.java:93)
> at org.eclipse.jst.common.internal.modulecore.SingleRootExportParticipant.canOptimize(SingleRootExportParticipant.java:90)
> at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.canOptimize(FlatVirtualComponent.java:203)
> at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.cacheResources(FlatVirtualComponent.java:185)
> at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.getChildModules(FlatVirtualComponent.java:160)
> at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getExportModelChildren(FlatComponentDeployable.java:259)
> at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getModules(FlatComponentDeployable.java:270)
> at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getChildModules(FlatComponentDeployable.java:254)
> at org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities.getChildModules(ServerModelUtilities.java:136)
> at org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities.getChildModules(ServerModelUtilities.java:129)
> at org.jboss.ide.eclipse.as.core.server.internal.DeployableServer.getChildModules(DeployableServer.java:104)
> at org.eclipse.wst.server.core.internal.Server.getChildModules(Server.java:2647)
> at org.eclipse.wst.server.core.internal.Server.visitModule(Server.java:3068)
> at org.eclipse.wst.server.core.internal.Server.isModuleDeployed(Server.java:962)
> at org.eclipse.wst.server.core.internal.Server.handleModuleProjectChange(Server.java:914)
> at org.eclipse.wst.server.core.internal.ResourceManager.publishHandleProjectChange(ResourceManager.java:1093)
> at org.eclipse.wst.server.core.internal.ResourceManager$ServerResourceChangeListener$1.visit(ResourceManager.java:125)
> at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
> at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:74)
> at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
> at org.eclipse.wst.server.core.internal.ResourceManager$ServerResourceChangeListener.resourceChanged(ResourceManager.java:119)
> at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:297)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:287)
> at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:150)
> at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:362)
> at org.eclipse.core.internal.resources.Project$1.run(Project.java:580)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2289)
> at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:545)
> at org.eclipse.core.internal.resources.Project.build(Project.java:121)
> at org.zeroturnaround.eclipse.nature.JRebelProject$1.run(JRebelProject.java:187)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26179) New Application Wizard: Add refresh button for project selection/Better selection of projects
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26179?page=com.atlassian.jira.plugi... ]
Josef Kopriva updated JBIDE-26179:
----------------------------------
Fix Version/s: 4.9.0.AM1
> New Application Wizard: Add refresh button for project selection/Better selection of projects
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-26179
> URL: https://issues.jboss.org/browse/JBIDE-26179
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.6.0.Final
> Environment: F28
> console.engint.openshift.com
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Fix For: 4.9.0.AM1
>
>
> In New Application Wizard could be added button for refresh of projects. The reason is, in some cases this is not refreshed.
> Workflow:
> 1. Create connection to console engint.openshift.com
> 2. Delete all projects in connection
> 3. Open New Application Wizard from File -> New
> 4. Select connection
> 5. When you are asked to create project create it
> 6. Now you should be on New Application Wizard, but project is not selected
> Workaround: You can click on Back and Next afterwards, so you can see now project.
> I suppose this issue is caused with slower server response, so user should be able to to refresh projects list and maybe edit projects(if he enter wrong name...).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months