[jbosstools-issues] [JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Fri May 31 07:02:55 EDT 2013


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

Max Rydahl Andersen commented on JBIDE-14544:
---------------------------------------------


[~gercan] i've checked and the fix does seem to be included in Beta1, but I also now double checked the code and just now noticed the stacktrace does not relate to what the fix is fixing.

https://github.com/jbosstools/jbosstools-aerogear/blob/a49051074620f7ad7bc995b4711c4a8d5c79a406/cordova/plugins/org.jboss.tools.aerogear.hybrid.core/src/org/jboss/tools/aerogear/hybrid/core/util/FileUtils.java#L105 is assuming createNewFile will not throw an exception.




                
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
>                 Key: JBIDE-14544
>                 URL: https://issues.jboss.org/browse/JBIDE-14544
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: aerogear-hybrid
>    Affects Versions: 4.1.0.Beta1
>         Environment: Fedora 17 32bit
> Android 4.1.2
>            Reporter: Stefan Bunciak
>            Assignee: Gorkem Ercan
>            Priority: Blocker
>              Labels: respin-a
>             Fix For: 4.1.0.Beta1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.createNewFile(File.java:883)
> 	at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> 	at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> 	at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> 	at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}

--
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