[jbosstools-issues] [JBoss JIRA] (JBIDE-15056) Embedd cartridge wizard: Exception in Eclipse log if you click into Log-Area

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Jun 28 10:01:21 EDT 2013


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

Andre Dietisheim commented on JBIDE-15056:
------------------------------------------

This throwing is StyledText API (*"when there is no character at the specified location"*):

{code}
 * @exception IllegalArgumentException <ul>
 *   <li>ERROR_NULL_ARGUMENT when point is null</li>
 *   <li>ERROR_INVALID_ARGUMENT when there is no character at the specified location</li>
 * </ul>
{code}

In https://bugs.eclipse.org/bugs/show_bug.cgi?id=280448 they faced the same bad API and went for swallowing the exception. I'll do the same since I dont see any alternative approach to check for characters in that line:

                
> Embedd cartridge wizard: Exception in Eclipse log if you click into Log-Area
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-15056
>                 URL: https://issues.jboss.org/browse/JBIDE-15056
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.CR1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.0.CR1, 4.2.0.Alpha1
>
>         Attachments: click-into-empty-lines.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list