[jbosstools-issues] [JBoss JIRA] (JBIDE-21443) NullPointerException when trying to import a BuildConfig as a new application from OpenShift 3

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Jan 12 21:08:00 EST 2016


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

Viacheslav Kabanovich edited comment on JBIDE-21443 at 1/12/16 9:07 PM:
------------------------------------------------------------------------

Ok, it seems I see it.
The problem is that project name 'quickstart' is ended with 't'.
The same failure will be with the last 'g' or 'i'.
Project name is extracted by matching uri to pattern {code}"([^/]+[^(\\.git)/])(/|\\.git)?$"{code} and it assumes that (\\.git) inside [^ ] will be considered as one sequence to be avoided. No, instead matcher avoids the last symbol if it one of '.', 'g', 'i', 't'.
The pattern should be fixed.



was (Author: scabanovich):
Ok, it seems I see it.
The problem is that project name 'quickstart' is ended with 't'.
The same failure will be with the last 'g' or 'i'.
Project name is extracted by matching uri to pattern "([^/]+[^(\\.git)/])(/|\\.git)?$" and it assumes that (\\.git) inside [^ ] will be considered as one sequence to be avoided. No, instead matcher avoids the last symbol if it one of '.', 'g', 'i', 't'.
The pattern should be fixed.


> NullPointerException when trying to import a BuildConfig as a new application from OpenShift 3
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21443
>                 URL: https://issues.jboss.org/browse/JBIDE-21443
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>         Environment: OSX
> JBDS
> OpenShift origin 1.1.0.1
>            Reporter: Akram Ben Aissi
>            Priority: Blocker
>         Attachments: eclipse.log
>
>
> When trying to import a project from a BuildConfig (right clic import as new project), I get a NullPointerException after clicking Finish.
> Same issue occurs when clicking next, and changing the destination folder for anything that exists or does not exist
> eclipse.log is attached.



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


More information about the jbosstools-issues mailing list