[JBoss JIRA] (JBIDE-17483) Quick Fix for Console configuration "" does not exist
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17483?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-17483:
------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
> Quick Fix for Console configuration "" does not exist
> -----------------------------------------------------
>
> Key: JBIDE-17483
> URL: https://issues.jboss.org/browse/JBIDE-17483
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: hibernate, maven
> Reporter: Burr Sutter
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
> Attachments: JBIDE-17483-webnate.zip
>
>
> When using Maven import on "someone else's" project, it is fairly common to get a complaint about the missing Console Configuration. Numerous workarounds have been documented and can be found via Google - some work, some do not - ideally we would offer a quickfix to help address this common error message inside of the IDE.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 2 months
[JBoss JIRA] (JBIDE-17026) Unable to load hibernate plugins when JBDS is running with JDK8
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17026?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-17026:
------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
> Unable to load hibernate plugins when JBDS is running with JDK8
> ---------------------------------------------------------------
>
> Key: JBIDE-17026
> URL: https://issues.jboss.org/browse/JBIDE-17026
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.0.Beta1
> Environment: JBDS 8.0.0.Beta1a, L64, Fedora 19, JDK 1.8
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> While using JDK8 for JBDS I cannot expand hibernate configuration console. Error message: Proejct 'hbtest1' has higher compiler option than running Eclipse. Hibernate plugins unable to load its classes. Please decrease the compiler option or run the eclipse with higher JDK level.
> I was trying to do various project settings related to compiler level but nothing I tried helped.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 2 months
[JBoss JIRA] (JBIDE-17735) JAX-RS Application wizard: double comments in generated class
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17735?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-17735:
----------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
Priority: Minor (was: Major)
Marking as 'minor' bug and post-poning to 4.2.0.CR1 until we get a response from Eclipse JDT team.
> JAX-RS Application wizard: double comments in generated class
> -------------------------------------------------------------
>
> Key: JBIDE-17735
> URL: https://issues.jboss.org/browse/JBIDE-17735
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: upstream, webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> JAX-RS Application class looks quite unusual, when is generated using JAX-RS Application wizard with option generate comments into default package.
> {code}
> @ApplicationPath("/rest")
> /**
> *
> */
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> When it is generated into user defined package, then there is just one java doc comment:
> {code}
> @ApplicationPath("/rest")
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> However, shouldn't the comment be above the annotation? It seems that it's the preferred way (e.g. see examples http://docs.oracle.com/javase/tutorial/java/annotations/predefined.html)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 2 months
[JBoss JIRA] (JBIDE-17735) JAX-RS Application wizard: double comments in generated class
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17735?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-17735:
---------------------------------------
This problems comes for Eclipse JDT itself: the first comment section is (probably) for the package declaration (although there is none when the default package is selected).
I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=438759 to see if this can be changed (not sure).
> JAX-RS Application wizard: double comments in generated class
> -------------------------------------------------------------
>
> Key: JBIDE-17735
> URL: https://issues.jboss.org/browse/JBIDE-17735
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: upstream, webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> JAX-RS Application class looks quite unusual, when is generated using JAX-RS Application wizard with option generate comments into default package.
> {code}
> @ApplicationPath("/rest")
> /**
> *
> */
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> When it is generated into user defined package, then there is just one java doc comment:
> {code}
> @ApplicationPath("/rest")
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> However, shouldn't the comment be above the annotation? It seems that it's the preferred way (e.g. see examples http://docs.oracle.com/javase/tutorial/java/annotations/predefined.html)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 2 months
[JBoss JIRA] (JBIDE-16612) NPE after importing ui project from WFK 2.3
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16612?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-16612:
------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
> NPE after importing ui project from WFK 2.3
> -------------------------------------------
>
> Key: JBIDE-16612
> URL: https://issues.jboss.org/browse/JBIDE-16612
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.0.Alpha2
> Environment: JBDS 8.0.Alpha2b, Linus 64, Fedora 19, OpenJDK 1.7
> Reporter: Jiri Peterka
> Fix For: 4.2.0.CR1
>
> Attachments: npe-ui-prj-hibernate.png
>
>
> After import there are multiple errors in error log
> {code}
> java.lang.NullPointerException
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentAttribute.getMappingKey(AbstractJavaPersistentAttribute.java:212)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.AbstractPersistentAttributeValidator.validate(AbstractPersistentAttributeValidator.java:33)
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentAttribute.validateAttribute(AbstractJavaPersistentAttribute.java:646)
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentAttribute.validate(AbstractJavaPersistentAttribute.java:641)
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentType.validateAttribute(AbstractJavaPersistentType.java:858)
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentType.validateAttributes(AbstractJavaPersistentType.java:852)
> at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaPersistentType.validate(AbstractJavaPersistentType.java:838)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.persistence.GenericClassRef.validateJavaManagedType(GenericClassRef.java:444)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.persistence.GenericClassRef.validate(GenericClassRef.java:438)
> at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validateClassRefs(AbstractPersistenceUnit.java:2403)
> at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validate(AbstractPersistenceUnit.java:2285)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.persistence.GenericPersistence.validatePersistenceUnit(GenericPersistence.java:347)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.persistence.GenericPersistence.validate(GenericPersistence.java:303)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.persistence.GenericPersistenceXml.validate(GenericPersistenceXml.java:243)
> at org.eclipse.jpt.jpa.core.internal.jpa1.context.GenericContextRoot.validate(GenericContextRoot.java:248)
> at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.validate(AbstractJpaProject.java:1459)
> at org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaProject.validate(HibernateJpaProject.java:289)
> at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.getValidationMessages(AbstractJpaProject.java:1447)
> at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.buildValidationMessages_(InternalJpaProjectManager.java:584)
> at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager$BuildValidationMessagesCommand.execute(InternalJpaProjectManager.java:572)
> at org.eclipse.jpt.common.core.internal.utility.command.CommandJobCommandAdapter.execute(CommandJobCommandAdapter.java:50)
> at org.eclipse.jpt.common.core.internal.utility.command.JobCommandJob.run(JobCommandJob.java:42)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
> {code}
> java.lang.NullPointerException
> at org.eclipse.jpt.jpa.ui.internal.structure.MappingStructureItemLabelProviderFactory$AttributeMappingImageDescriptorTransformer.getJpaPlatformUi(MappingStructureItemLabelProviderFactory.java:192)
> at org.eclipse.jpt.jpa.ui.internal.structure.MappingStructureItemLabelProviderFactory$AttributeMappingImageDescriptorTransformer.getAttributeMappingUiDefinition(MappingStructureItemLabelProviderFactory.java:187)
> at org.eclipse.jpt.jpa.ui.internal.structure.MappingStructureItemLabelProviderFactory$AttributeMappingImageDescriptorTransformer.transform(MappingStructureItemLabelProviderFactory.java:182)
> at org.eclipse.jpt.jpa.ui.internal.structure.MappingStructureItemLabelProviderFactory$AttributeMappingImageDescriptorTransformer.transform(MappingStructureItemLabelProviderFactory.java:1)
> at org.eclipse.jpt.common.utility.internal.model.value.TransformationPropertyValueModel.transform(TransformationPropertyValueModel.java:113)
> at org.eclipse.jpt.common.utility.internal.model.value.TransformationPropertyValueModel.engageModel(TransformationPropertyValueModel.java:137)
> at org.eclipse.jpt.common.utility.internal.model.value.AbstractPropertyValueModel.addPropertyChangeListener(AbstractPropertyValueModel.java:83)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractModelItemLabelProvider.<init>(AbstractModelItemLabelProvider.java:65)
> at org.eclipse.jpt.common.ui.internal.jface.ModelItemExtendedLabelProvider.<init>(ModelItemExtendedLabelProvider.java:48)
> at org.eclipse.jpt.jpa.ui.internal.structure.MappingStructureItemLabelProviderFactory.buildPersistentAttributeProvider(MappingStructureItemLabelProviderFactory.java:143)
> at org.eclipse.jpt.jpa.ui.internal.platform.generic.GenericNavigatorItemLabelProviderFactory.buildPersistentAttributeProvider(GenericNavigatorItemLabelProviderFactory.java:150)
> at org.eclipse.jpt.jpa.ui.internal.platform.generic.GenericNavigatorItemLabelProviderFactory.buildProvider(GenericNavigatorItemLabelProviderFactory.java:78)
> at org.eclipse.jpt.jpa.ui.internal.navigator.JpaNavigatorItemLabelProviderFactory.buildProvider(JpaNavigatorItemLabelProviderFactory.java:37)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addLabelProvider(AbstractItemStructuredStateProviderManager.java:245)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.add(AbstractItemStructuredStateProviderManager.java:241)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.add(ItemTreeStateProviderManager.java:118)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addAll(AbstractItemStructuredStateProviderManager.java:220)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.add(ItemTreeStateProviderManager.java:121)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addAll(AbstractItemStructuredStateProviderManager.java:220)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.add(ItemTreeStateProviderManager.java:121)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addAll(AbstractItemStructuredStateProviderManager.java:220)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.add(ItemTreeStateProviderManager.java:121)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addAll(AbstractItemStructuredStateProviderManager.java:220)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.add(ItemTreeStateProviderManager.java:121)
> at org.eclipse.jpt.common.ui.internal.jface.AbstractItemStructuredStateProviderManager.addAll(AbstractItemStructuredStateProviderManager.java:231)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.childrenChanged_(ItemTreeStateProviderManager.java:110)
> at org.eclipse.jpt.common.ui.internal.jface.ItemTreeStateProviderManager.childrenChanged(ItemTreeStateProviderManager.java:105)
> at org.eclipse.jpt.common.ui.internal.jface.ModelItemTreeContentProvider.notifyManager(ModelItemTreeContentProvider.java:63)
> at org.eclipse.jpt.common.ui.internal.jface.ModelItemContentProvider.childrenAdded_(ModelItemContentProvider.java:119)
> at org.eclipse.jpt.common.ui.internal.jface.ModelItemContentProvider.childrenAdded(ModelItemContentProvider.java:113)
> at org.eclipse.jpt.common.ui.internal.jface.ModelItemContentProvider$ChildrenListener.itemsAdded(ModelItemContentProvider.java:92)
> at org.eclipse.jpt.common.ui.internal.swt.listeners.SWTCollectionChangeListenerWrapper.forward(SWTCollectionChangeListenerWrapper.java:51)
> at org.eclipse.jpt.common.ui.internal.swt.listeners.SWTCollectionChangeListenerWrapper.forward(SWTCollectionChangeListenerWrapper.java:1)
> at org.eclipse.jpt.common.ui.internal.swt.listeners.SWTListenerWrapperDelegate.forwardEvents(SWTListenerWrapperDelegate.java:92)
> at org.eclipse.jpt.common.ui.internal.swt.listeners.SWTListenerWrapperDelegate$ForwardEventsRunnable.run(SWTListenerWrapperDelegate.java:81)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3746)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3394)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:146)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:615)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
> 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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 2 months