Closed slypat closed 12 years ago
I think this issue was being caused by a problem with the service itself. According to this thread http://community.phonegap.com/nitobi/topics/apk_download_not_successful it should be fixed now. Please could you try again?
Confirmed, the application is building successfully now (on running a 'clean install').
Thanks
When running a clean install" using the phonegap-build plugin, a fatal error occurs at the "Starting downloads" phase with the message:
Error parsing media type ''
(note: the two single quotes at the end)
For the project I am working on, looking at the PhoneGap Build builds, the Blackberry build failed with the following message:
Compile error: data section(s) too large
The stack trace of the error was as follows:
[INFO] Starting downloads. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error parsing media type '' End of header [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException: Error parsing media type '' at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString (MediaTypeProvider.java:79) at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString (MediaTypeProvider.java:53) at javax.ws.rs.core.MediaType.valueOf(MediaType.java:119) at com.sun.jersey.api.client.ClientResponse.getType(ClientResponse.java: 615) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.jav a:532) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.jav a:506) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:684) at com.sun.jersey.api.client.WebResource.get(WebResource.java:191) at com.github.chrisprice.phonegapbuild.api.managers.AppsManagerImpl.down loadApp(AppsManagerImpl.java:124) at com.github.chrisprice.phonegapbuild.plugin.utils.AppDownloaderImpl.do wnloadArtifacts(AppDownloaderImpl.java:33) at com.github.chrisprice.phonegapbuild.plugin.BuildMojo.execute(BuildMoj o.java:292) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
Caused by: java.text.ParseException: End of header at com.sun.jersey.core.header.reader.HttpHeaderReaderImpl.getNextCharact er(HttpHeaderReaderImpl.java:163) at com.sun.jersey.core.header.reader.HttpHeaderReaderImpl.next(HttpHeade rReaderImpl.java:124) at com.sun.jersey.core.header.reader.HttpHeaderReader.nextToken(HttpHead erReader.java:96) at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.valueOf(Me diaTypeProvider.java:89) at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString (MediaTypeProvider.java:77) ... 29 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 10 seconds [INFO] Finished at: Thu Jun 21 15:57:13 BST 2012 [INFO] Final Memory: 57M/377M [INFO] ------------------------------------------------------------------------