[JBoss JIRA] (JBIDE-26548) Nullpointer when renaming inner class java variables - JSFRenameFieldParticipant
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26548?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26548:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> Nullpointer when renaming inner class java variables - JSFRenameFieldParticipant
> --------------------------------------------------------------------------------
>
> Key: JBIDE-26548
> URL: https://issues.redhat.com/browse/JBIDE-26548
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.10.0.AM1
> Environment: Linux with Eclipse 2018-12
> Reporter: Thomas Zauner
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 4.15.0.Final
>
>
> Renaming of inner class java variables leads to an Nullpointer in JSFRenameFieldParticipant. The second rename is working, since the JSFRenameFieldParticipant is removed due to the exception.
> {noformat}
> !ENTRY org.eclipse.ltk.core.refactoring 4 10009 2019-02-07 08:02:57.183
> !MESSAGE Participant 'org.jboss.tools.jsf.model.handlers.bean.JSFRenameFieldParticipant' removed due to the following exception
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.jsf.model.pv.JSFProjectsTree.getProjectsRoot(JSFProjectsTree.java:45)
> at org.jboss.tools.jsf.model.handlers.bean.JSFRenameFieldHelper.getBeanList(JSFRenameFieldHelper.java:48)
> at org.jboss.tools.jsf.model.handlers.bean.JSFRenameFieldParticipant.createChange(JSFRenameFieldParticipant.java:68)
> at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:309)
> at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:102)
> at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:41)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:736)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5810)
> at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:108)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> {noformat}
> {code:java}
> public class JavaClass {
> private boolean first; // rename will work
> public class InnerClass {
> private boolean second; // rename leads to NPE
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (JBIDE-26541) Mylyn: refresh builds does not work under JDK11
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26541?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26541:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> Mylyn: refresh builds does not work under JDK11
> -----------------------------------------------
>
> Key: JBIDE-26541
> URL: https://issues.redhat.com/browse/JBIDE-26541
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: target-platform, upstream
> Affects Versions: 4.11.0.AM1
> Environment: F29 + JDK11
> Reporter: Josef Kopriva
> Priority: Major
> Fix For: 4.15.0.Final
>
>
> Message from error log:
> {code:java}
> eclipse.buildId=12.11.0.AM1-v20190128-0120-B3931
> java.version=11.0.1
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -data file:/home/jkopriva/git/workspace-spring/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.mylyn.commons.repositories.ui
> Error
> Fri Feb 01 14:33:04 CET 2019
> Unexpected error during repository validation.
> java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:401)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:977)
> at org.eclipse.mylyn.commons.ui.dialogs.EnhancedWizardDialog.run(EnhancedWizardDialog.java:138)
> at org.eclipse.mylyn.commons.repositories.ui.RepositoryWizardPage.run(RepositoryWizardPage.java:98)
> at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart.validate(RepositoryLocationPart.java:554)
> at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$1.widgetSelected(BuildServerPart.java:180)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4931)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4472)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:822)
> at org.eclipse.jface.window.Window.open(Window.java:798)
> at org.eclipse.mylyn.commons.repositories.ui.RepositoryUi.openNewRepositoryDialog(RepositoryUi.java:90)
> at org.eclipse.mylyn.internal.builds.ui.view.NewBuildServerAction.run(NewBuildServerAction.java:35)
> at org.eclipse.mylyn.internal.builds.ui.view.BuildsView$2.widgetSelected(BuildsView.java:326)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1526)
> at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:387)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1946)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:6298)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5880)
> at org.eclipse.swt.internal.gtk.GTK._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.GTK.gtk_main_do_event(GTK.java:3969)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1385)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1581)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4470)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.validate(RestfulHudsonClient.java:463)
> at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:956)
> at org.eclipse.mylyn.builds.internal.core.BuildServer.validate(BuildServer.java:369)
> at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:114)
> at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart$2.run(RepositoryLocationPart.java:558)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by org.eclipse.mylyn.hudson.core_1.16.0.v20180403-2055
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 6 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (JBIDE-26503) Several Imported Launcher Application projects has some error in their files after importing
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26503?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26503:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> Several Imported Launcher Application projects has some error in their files after importing
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-26503
> URL: https://issues.redhat.com/browse/JBIDE-26503
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.10.0.AM1
> Environment: OS X 10.13.6
> Reporter: Zbyněk Červinka
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.15.0.Final
>
> Attachments: Snímek obrazovky 2020-02-04 v 15.47.24.png, Snímek obrazovky 2020-02-04 v 15.47.29.png, Snímek obrazovky 2020-02-04 v 16.20.56.png, Snímek obrazovky 2020-02-04 v 17.11.48.png, cache_vert.x_red hat_1.png, cache_vert.x_red hat_2.png
>
>
> Launcher application projects and their errors (description with settings):
> 1) Mission: "crud", Runtime: "thorntail community"
> 2) Mission: "crud", Runtime: "thorntail red hat"
> - 4 missing HTML </p> tags in file "src/licences/bouncy castle licence - licence.html" on line 50, 51, 52, 53
> 3) Mission: "crud", Runtime: "vert.x community"
> 4) Mission: "crud", Runtime: "vert.x red hat"
> - 3 errors in the project:
> a) Failure to transfer org.codehaus.mojo:buildnumber-maven-plugin:pom:1.4 from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be...
> b) The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
> c) The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
> 5) Mission: "cache", Runtime: "vert.x red hat"
> 6) Mission: "cache", Runtime: "vert.x community"
> - several errors during import and after import (2 images; also in the attachment):
> !cache_vert.x_red hat_2.png|thumbnail! !cache_vert.x_red hat_1.png|thumbnail!
> Maybe several other errors.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (JBIDE-26506) Remediation page showing up when installing RHAMT from central - missing org.eclipse.emf.transaction
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26506?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26506:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> Remediation page showing up when installing RHAMT from central - missing org.eclipse.emf.transaction
> ----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26506
> URL: https://issues.redhat.com/browse/JBIDE-26506
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central, central-update
> Affects Versions: 4.11.0.AM1
> Reporter: Ondrej Dockal
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 4.15.0.Final
>
>
> {code}
> Cannot complete the install because one or more required items could not be found.
> Software being installed: RHAMT 4.2.0.Final (org.jboss.tools.windup.feature.feature.group 4.2.0.Final)
> Missing requirement: Model 4.2.0.Final (org.jboss.tools.windup.model 4.2.0.Final) requires 'osgi.bundle; org.eclipse.emf.transaction 0.0.0' but it could not be found
> Cannot satisfy dependency:
> From: RHAMT 4.2.0.Final (org.jboss.tools.windup.feature.feature.group 4.2.0.Final)
> To: org.eclipse.equinox.p2.iu; org.jboss.tools.windup.model [4.2.0.Final,4.2.0.Final]
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (JBIDE-26526) Review and update parameters for as.itests
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26526?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26526:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> Review and update parameters for as.itests
> ------------------------------------------
>
> Key: JBIDE-26526
> URL: https://issues.redhat.com/browse/JBIDE-26526
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests, server
> Affects Versions: 4.11.0.AM1
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Priority: Major
> Fix For: 4.15.0.Final
>
>
> Update tests to have something more meaningful than this:
> org.jboss.tools.as.itests.server.publishing.DeploymentAssemblyExternalArchiveVarWarTest.testVariableReference[29] (from org.jboss.tools.as.itests.ASToolsIntegrationTestSuite)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (JBIDE-26847) An internal error occurred during: "Identify jrt-fs.jar".
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBIDE-26847?page=com.atlassian.jira.plug... ]
Jeff MAURY updated JBIDE-26847:
-------------------------------
Fix Version/s: 4.15.0.Final
(was: 4.15.0.AM1)
> An internal error occurred during: "Identify jrt-fs.jar".
> ---------------------------------------------------------
>
> Key: JBIDE-26847
> URL: https://issues.redhat.com/browse/JBIDE-26847
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.11.0.Final, 4.15.x, 4.12.0.Final
> Reporter: Martijn Dashorst
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 4.15.0.Final
>
>
> I've installed
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> And when I open anything from the Java class library I get a popup with the message:
> *An internal error occurred during: "Identify jrt-fs.jar".*
> I don't have the full class library of the java runtime committed to my memory, so I have to look at the source quite often and this popup is getting literally in the way.
> {code:java}
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.searchArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:96)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.getArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:78)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.identify(NexusRepositoryIdentifier.java:50)
> at org.jboss.tools.maven.core.internal.identification.FileIdentificationManager.identify(FileIdentificationManager.java:91)
> at org.jboss.tools.maven.sourcelookup.ui.actions.AttachSourcesActionDelegate$1.run(AttachSourcesActionDelegate.java:114)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext cannot be found by org.jboss.tools.maven.core_1.9.3.v20190827-1345
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:514)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 6 more
> {code}
> It was reported in https://issues.jboss.org/browse/JBIDE-26571, apparently not fixed in https://issues.jboss.org/browse/JBIDE-26500 as the latest SNAPSHOT plugins still exhibit this error (in 2019.9)
> This is the set of JBoss Tools Maven plugins I have installed:
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> m2e - Maven Integration for Eclipse (includes Incubating components) 1.13.0.20190716-1624 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
> m2e-wtp - Maven Integration for WTP 1.4.2.20190530-0057 org.eclipse.m2e.wtp.feature.feature.group Eclipse.org - m2e-wtp
> Maven SCM Handler for EGit 0.15.1.201806191431 org.sonatype.m2e.egit.feature.feature.group Sonatype, Inc.
> JBoss Tools Maven Packaging Configurator 1.9.3.v20190827-1345 org.jboss.tools.maven.jbosspackaging.feature.feature.group Red Hat
> JBoss Tools Maven Source Lookup 1.9.3.v20190827-1345 org.jboss.tools.maven.sourcelookup.feature.feature.group Red Hat
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years