[
https://issues.jboss.org/browse/JBIDE-8639?page=com.atlassian.jira.plugin...
]
Ilya Dyoshin commented on JBIDE-8639:
-------------------------------------
Something really strange - I'm not able to import (neither create) the maven project
with Eclipse Indigo RC1 and jboss tools - I'm always receiving
An internal error occurred during: "Updating Maven Configuration".
org.eclipse.m2e.core.MavenPlugin.getMavenProjectManager()Lorg/eclipse/m2e/core/project/MavenProjectManager;
java.lang.NoSuchMethodError:
org.eclipse.m2e.core.MavenPlugin.getMavenProjectManager()Lorg/eclipse/m2e/core/project/MavenProjectManager;
at
org.maven.ide.eclipse.wtp.AbstractProjectConfiguratorDelegate.<init>(AbstractProjectConfiguratorDelegate.java:70)
at
org.maven.ide.eclipse.wtp.WebProjectConfiguratorDelegate.<init>(WebProjectConfiguratorDelegate.java:72)
at
org.maven.ide.eclipse.wtp.ProjectConfiguratorDelegateFactory.getProjectConfiguratorDelegate(ProjectConfiguratorDelegateFactory.java:35)
at
org.maven.ide.eclipse.wtp.WTPProjectConfigurator.configureClasspath(WTPProjectConfigurator.java:91)
at
org.eclipse.m2e.jdt.internal.DefaultClasspathManagerDelegate.populateClasspath(DefaultClasspathManagerDelegate.java:61)
at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:294)
at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:402)
at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:383)
at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:410)
at
org.eclipse.m2e.jdt.internal.BuildPathManager.updateClasspath(BuildPathManager.java:229)
at
org.eclipse.m2e.jdt.internal.BuildPathManager.mavenProjectChanged(BuildPathManager.java:218)
at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.notifyProjectChangeListeners(ProjectRegistryManager.java:724)
at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.applyMutableProjectRegistry(ProjectRegistryManager.java:847)
at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:280)
at
org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:280)
at
org.eclipse.m2e.core.ui.internal.UpdateConfigurationJob.runInWorkspace(UpdateConfigurationJob.java:87)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
CDI support on MAC doesn't work with non-system encodings
----------------------------------------------------------
Key: JBIDE-8639
URL:
https://issues.jboss.org/browse/JBIDE-8639
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.Final
Environment: MAC (with russian locale and default encoding set with MacCyrillic )
Jboss Tools and Eclipse with workspace configured for use UTF-8
Maven CDI-JSF application
Reporter: Ilya Dyoshin
Assignee: Viacheslav Kabanovich
Fix For: 3.2.1.M1, 3.3.0.M1
Attachments: JBIDE-8639.patch
When my workspace uses the same encoding as the system (in my case MacCyrillic) -
everything works fine (except that my application uses lots of russian symbols, which
became non-usable, 'cause my maven application is using utf-8 )
When I switch either the workspace or project encoding to UTF-8 I'm receiving
following error:
!ENTRY org.eclipse.core.resources 4 75 2011-03-28 22:57:25.354
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2011-03-28 22:57:25.354
!MESSAGE Errors running builder 'CDI (Context and Dependency Injection) Builder'
on project 'lex-maven'.
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -72
at java.lang.String.substring(String.java:1937)
at
org.jboss.tools.cdi.internal.core.impl.definition.MethodDefinition.loadParamDefinitions(MethodDefinition.java:88)
at
org.jboss.tools.cdi.internal.core.impl.definition.MethodDefinition.init(MethodDefinition.java:64)
at
org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:50)
at
org.jboss.tools.cdi.internal.core.impl.definition.MethodDefinition.setMethod(MethodDefinition.java:49)
at
org.jboss.tools.cdi.internal.core.impl.definition.TypeDefinition.init(TypeDefinition.java:62)
at
org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:50)
at
org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition.setType(AbstractTypeDefinition.java:54)
at
org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:56)
at org.jboss.tools.cdi.core.CDICoreBuilder.incrementalBuild(CDICoreBuilder.java:202)
at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:161)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira