[JBoss JIRA] (JBIDE-12710) Exception is thrown when creating blank Java EE Web Project
by Rastislav Wagner (JIRA)
Rastislav Wagner created JBIDE-12710:
----------------------------------------
Summary: Exception is thrown when creating blank Java EE Web Project
Key: JBIDE-12710
URL: https://issues.jboss.org/browse/JBIDE-12710
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 4.0.0.Alpha2
Reporter: Rastislav Wagner
Assignee: Snjezana Peco
Fix For: 4.0.0.Beta1
{code}
[Ljava.lang.Object; cannot be cast to [Lorg.eclipse.core.resources.IResource;
{code}
{code}
org.jboss.tools.common.validation.JBTValidationException: [Ljava.lang.Object; cannot be cast to [Lorg.eclipse.core.resources.IResource;
at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:101)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.eclipse.core.resources.IResource;
at org.jboss.tools.ws.jaxrs.core.internal.metamodel.validation.JaxrsMetamodelValidator.validate(JaxrsMetamodelValidator.java:106)
at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:117)
at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
... 2 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12759) org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12759:
--------------------------------------
Summary: org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest failure
Key: JBIDE-12759
URL: https://issues.jboss.org/browse/JBIDE-12759
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 4.0.0.Beta1
Environment: {code}
testJSF2ComponentsValidator(org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest) Time elapsed: 0.898 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<3> but was:<0>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest.testJSF2ComponentsValidator(JSF2ComponentsValidatorTest.java:66)
{code}
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.0.0.Beta1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12693) New Openshift Application Wizard broken
by Radim Hopp (JIRA)
Radim Hopp created JBIDE-12693:
----------------------------------
Summary: New Openshift Application Wizard broken
Key: JBIDE-12693
URL: https://issues.jboss.org/browse/JBIDE-12693
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central, openshift
Affects Versions: 4.0.0.Alpha2
Reporter: Radim Hopp
Assignee: Snjezana Peco
Priority: Blocker
Fix For: 4.0.0.Alpha2
Currently is not possible to open New Openshift Application Wizard from JBoss Central.
NPE is thrown in Error Log:
{noformat}
java.lang.NullPointerException
at org.jboss.tools.openshift.express.internal.ui.wizard.GitCloningSettingsWizardPage.createCloneGroup(GitCloningSettingsWizardPage.java:194)
at org.jboss.tools.openshift.express.internal.ui.wizard.GitCloningSettingsWizardPage.doCreateControls(GitCloningSettingsWizardPage.java:92)
at org.jboss.tools.openshift.express.internal.ui.wizard.AbstractOpenShiftWizardPage.createControl(AbstractOpenShiftWizardPage.java:59)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
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.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
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:601)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:492)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:180)
at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)
at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:535)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1477)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
{noformat}
When trying to open New Openshift Application Wizard via File->New->Other->Openshift Application, the same NPE is thrown, but when I try to click "Next" one more time, wizard is opened.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12656) org.jboss.tools.jst.css.test.jbide.SelectionLosingByPropertySheet_JBIDE4791 failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12656:
--------------------------------------
Summary: org.jboss.tools.jst.css.test.jbide.SelectionLosingByPropertySheet_JBIDE4791 failure
Key: JBIDE-12656
URL: https://issues.jboss.org/browse/JBIDE-12656
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.Alpha2
Reporter: Alexey Kazakov
Assignee: Yahor Radtsevich
Fix For: 4.0.0.Alpha2
{code}
testSelectionLosingByPropertySheet(org.jboss.tools.jst.css.test.jbide.SelectionLosingByPropertySheet_JBIDE4791) Time elapsed: 21.54 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<red> but was:<null>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.jboss.tools.jst.css.test.jbide.SelectionLosingByPropertySheet_JBIDE4791.testSelectionLosingByPropertySheet(SelectionLosingByPropertySheet_JBIDE4791.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12538) Configure Problem Severity should open project settings if they are enabled for the project
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-12538:
---------------------------------------------
Summary: Configure Problem Severity should open project settings if they are enabled for the project
Key: JBIDE-12538
URL: https://issues.jboss.org/browse/JBIDE-12538
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.Final
Reporter: Viacheslav Kabanovich
Assignee: Daniel Azarov
Fix For: 4.0.0.Alpha2
EXECUTE: Create CDI Project.
EXECUTE: Call project properties, select CDI Validator, and select 'Enable project specific settings'.
EXECUTE: Create an error, for example, an unsatisfied injection point.
EXECUTE: Call quick fix for warning.
ASSERT: Project Properties dialog appears, with selected preference.
Similar use-cases should be valid for other validators, not only CDI, since 'Configure Problem Severity' is a common feature.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12741) CDI (and other JBT common validators) is disabled for workspace if you disable it for project
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12741:
--------------------------------------
Summary: CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Key: JBIDE-12741
URL: https://issues.jboss.org/browse/JBIDE-12741
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.Alpha2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.0.0.Beta1
1. Open Window->Preferences->JBoss Tools->CDI->CDI Validator
2. Make sure it's enabled
3. Create a CDI project
4. Open project properties page
5. CDI->CDI Validator
6. Disable the validator for the project. Click Ok.
7. Open Window->Preferences->JBoss Tools->CDI->CDI Validator
8. FAILURE: The valdiator is disabled for the worspace too!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months