[JBoss JIRA] Created: (JBIDE-5772) CDI plugin is giving exception when trying to use it
by Max Rydahl Andersen (JIRA)
CDI plugin is giving exception when trying to use it
----------------------------------------------------
Key: JBIDE-5772
URL: https://jira.jboss.org/jira/browse/JBIDE-5772
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.1.0.CR2
Reporter: Max Rydahl Andersen
Assignee: Alexey Kazakov
Priority: Blocker
Fix For: 3.1.0.CR2
Downloaded nightly build via updatesite - I only chose CDI plugin (anything else were downloaded by dependency)
Imported CDI SE Examples and added necessary jars to make it compile
Enabled CDI
Tried using open on with no effect.
Error log now contains:
java.lang.Exception: Model feature org.jboss.tools.seam.xml.components.model.SeamComponentsFileLoader is not registered with extension point org.jboss.tools.common.model.classes
at org.jboss.tools.common.model.util.ModelFeatureFactory.createFeatureInstance(ModelFeatureFactory.java:74)
at org.jboss.tools.common.meta.impl.XModelEntityImpl.getObjectLoader(XModelEntityImpl.java:146)
at org.jboss.tools.common.model.util.XModelObjectLoaderUtil.getObjectLoader(XModelObjectLoaderUtil.java:765)
at org.jboss.tools.common.model.filesystems.impl.AbstractExtendedXMLFileImpl.loadChildren(AbstractExtendedXMLFileImpl.java:103)
at org.jboss.tools.common.model.impl.RegularObjectImpl.getChildByPathPart(RegularObjectImpl.java:128)
at org.jboss.tools.common.model.impl.XModelObjectImpl.getChildByPath(XModelObjectImpl.java:310)
at org.jboss.tools.cdi.internal.core.impl.definition.BeansXMLDefinition.setBeansXML(BeansXMLDefinition.java:27)
at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:67)
at org.jboss.tools.cdi.core.CDICoreBuilder.buildJars(CDICoreBuilder.java:228)
at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:146)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
and
java.lang.NullPointerException
at org.jboss.tools.common.model.filesystems.impl.AbstractExtendedXMLFileImpl.loadChildren(AbstractExtendedXMLFileImpl.java:106)
at org.jboss.tools.common.model.impl.RegularObjectImpl.getChildByPathPart(RegularObjectImpl.java:128)
at org.jboss.tools.common.model.impl.XModelObjectImpl.getChildByPath(XModelObjectImpl.java:310)
at org.jboss.tools.cdi.internal.core.impl.definition.BeansXMLDefinition.setBeansXML(BeansXMLDefinition.java:27)
at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:67)
at org.jboss.tools.cdi.core.CDICoreBuilder.buildJars(CDICoreBuilder.java:228)
at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:146)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (JBIDE-6093) Eclipse Guvnor Tooling causes validation errors on certain file types
by Jeff DeLong (JIRA)
Eclipse Guvnor Tooling causes validation errors on certain file types
----------------------------------------------------------------------
Key: JBIDE-6093
URL: https://jira.jboss.org/jira/browse/JBIDE-6093
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: drools
Affects Versions: 3.1.0.CR2
Environment: JBoss Tools Nightly Build - Jboss Drools Guvnor 5.1.0.v20100226213N-H20-31764
Reporter: Jeff DeLong
Eclipse Guvnor Tooling creates a new file with the name .filename.ext when a file is added to Guvnor. For xml files (.xml, .xsd, .html, .bpel, etc,) and java files, this causes the validators to report errors. E.g., "Content is not allowed in the prolog" and "Syntax errors on tokens, delete these tokens. This is because these files have the xml or java extension, hence the validator attempts to validate them. I have looking at the Preferences -> Validation, but cannot see a clever way to create a rule to exclude all files with a . at the front of the filename.
Also, Eclipse Guvnor Tooling is not able to add files to the new for Guvnor 5.1 GlobalArea.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months