Getting IllegalArgumentException after loading the project from RTC
Hello,
I am using the below components in our project:
1. Eclipse Helios version downloaded from http://www.eclipse.org/downloads/packages/release/helios/sr2
2. RTC plugins version 3.0.1.3 - Downloaded the zip file "RTC-Client-p2Repo-3.0.1.3.zip" and installed as per the instructions given in below page.
3. Kony - a third party application to develop mobile application. Its plugins were added into “dropins” folder of Eclipse.
Below are the steps that I followed which resulted in the exception/error given below:
1. From within the eclipse, connected to RTC stream, created a "repository workspace" and "loaded" a project.
This project is of type "Kony", a third party application. The ".project" file within this project has the below nature defined and it is the only nature, based on which the Kony plugins recognize this as their proprietary application and loads in their corresponding windows.
<natures>
<nature>com.pat.tool.keditor.nature.kprojectnature</nature>
</natures>
2. Once loaded, I switched to Kony's "application" window (it’s basically a perspective, similar to java, java ee etc.) and that’s when the below error is shown in the "console". This error causes the "build" (which is just an ant script) to fail or even refresh the project.
Based on what I searched so far, same error was reported for eclipse 3.7 with maven m2e plugins and maven project maintained in RTC. The solutions mentioned cannot be applied as my project type is different.
Any suggestions will be helpful.
java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(Unknown Source)
at com.pat.tool.keditor.utils.KUtils.buildServiceListByCat(KUtils.java:8178)
at com.pat.tool.keditor.navigation.model.ServicesResourceRoot.refreshChildren(ServicesResourceRoot.java:43)
at com.pat.tool.keditor.views.NavigationViewUtils.refreshServicesModel(NavigationViewUtils.java:1171)
at com.pat.tool.keditor.views.NavigationViewUtils.refreshNonFormModules(NavigationViewUtils.java:1137)
at com.pat.tool.keditor.views.NavigationViewUtils.updateProjectModel(NavigationViewUtils.java:1076)
at com.pat.tool.keditor.views.NavigationViewUtils.access$000(NavigationViewUtils.java:117)
at com.pat.tool.keditor.views.NavigationViewUtils$3.run(NavigationViewUtils.java:957)
at com.pat.tool.keditor.views.NavigationView$14.run(NavigationView.java:1676)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
One answer
The error message goes from Kony application. If the project is third party application, you need contact the support of that appliction. They should know how to correct their application.
Best regards,
Krzysztof Kazmierczyk