[
https://issues.jboss.org/browse/JBIDE-8639?page=com.atlassian.jira.plugin...
]
Ilya Dyoshin commented on JBIDE-8639:
-------------------------------------
Sorry, right now I'm overloaded with rolling out the big upgrade to my old system
(written using Seam 2.2) I'll verify this fix ASAP. till the end of current week.
kind Regards.
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