[ 
https://issues.apache.org/jira/browse/NETBEANS-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764277#comment-16764277
 ] 

Laszlo Kishalmi commented on NETBEANS-2102:
-------------------------------------------

Unfortunately I could not reproduce the issue with the provided code, though 
I've found something strange that could cause this.

[file:/Users/scott/.gradle/caches/modules-2/files-2.1/org.glassfish.ha/ha-api/3.1.9/b95d8d7d1a57cf46d9f0e924f8864f94159bffd3/ha-api-3.1.9.hk2-jar|file:///Users/scott/.gradle/caches/modules-2/files-2.1/org.glassfish.ha/ha-api/3.1.9/b95d8d7d1a57cf46d9f0e924f8864f94159bffd3/ha-api-3.1.9.hk2-jar]

Do you know why this file URL ends with "-jar" instead of ".jar" I actually 
believe that this path does not even exists for you, just somehow got in the 
Gradle's cache.

Anyway if the file or dir happen to exists I'd like to know what is in there. 
If it is not, then probably your local Gradle files got corrupted.

> IAE on regular files on Gradle project Classpath
> ------------------------------------------------
>
>                 Key: NETBEANS-2102
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2102
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>            Reporter: Laszlo Kishalmi
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It seems due to some mystical errors in Maven repository Gradle can return 
> non-archive, non-directory elements in classpath. This results IAE when 
> creating PathResource for classpath in the IDE.
> These CP entries simply should be omitted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to