[forge-issues] [JBoss JIRA] (ROASTER-110) StringIndexOutOfBoundsException when handling nested typed parameters

Stephan Windmüller (JIRA) issues at jboss.org
Thu Sep 29 03:12:00 EDT 2016


    [ https://issues.jboss.org/browse/ROASTER-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13300102#comment-13300102 ] 

Stephan Windmüller commented on ROASTER-110:
--------------------------------------------

I was assigned to this bug without being asked. Since I cannot unassign me myself, could someone please do this for me?

> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
>                 Key: ROASTER-110
>                 URL: https://issues.jboss.org/browse/ROASTER-110
>             Project: Roaster
>          Issue Type: Bug
>          Components: JDT
>    Affects Versions: 2.17.1.Final
>            Reporter: Bruce Fancher
>            Assignee: Stephan Windmüller
>             Fix For: 2.17.3.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> 	at java.lang.String.substring(String.java:1967)
> 	at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> 	at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> 	at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the forge-issues mailing list