Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jersy configuration problem ? #19

Open
pvdyck opened this issue Aug 2, 2014 · 7 comments
Open

Jersy configuration problem ? #19

pvdyck opened this issue Aug 2, 2014 · 7 comments

Comments

@pvdyck
Copy link

pvdyck commented Aug 2, 2014

Hello, I am having problems with Jersey. WDYT ?

[INFO] config.xml already added, skipping
[WARNING] Server not specified, falling back to username/password.
[INFO] AuthChallengeProcessor - -basic authentication scheme selected
[INFO] Starting upload.
Aug 02, 2014 9:14:36 PM com.sun.jersey.api.client.ClientResponse getEntity
SEVERE: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found
Aug 02, 2014 9:14:36 PM com.sun.jersey.api.client.ClientResponse getEntity
SEVERE: The registered message body readers compatible with the MIME media type are:
/ ->
com.sun.jersey.core.impl.provider.entity.FormProvider
com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General
com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General
com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General
com.sun.jersey.core.impl.provider.entity.StringProvider
com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
com.sun.jersey.core.impl.provider.entity.FileProvider
com.sun.jersey.core.impl.provider.entity.InputStreamProvider
com.sun.jersey.core.impl.provider.entity.DataSourceProvider
com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
com.sun.jersey.core.impl.provider.entity.ReaderProvider
com.sun.jersey.core.impl.provider.entity.DocumentProvider
com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader
com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader
com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader
com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General
com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General
com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy
com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General
com.sun.jersey.core.impl.provider.entity.EntityHolderReader

...

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:01.046s
[INFO] Finished at: Sat Aug 02 21:14:36 UTC 2014
[INFO] Final Memory: 60M/251M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build (phonegap-build) on project web: Execution phonegap-build of goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build failed: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found -> [Help 1]
[ERROR]

@chrisprice
Copy link
Owner

Looks like the server responded with an error that the plugin couldn't parse. I'd guess at it being an intermittent error with the server but the logging isn't giving much away.

If it is still happening, please could you rerun the build with stack traces enabled (-X) and I'll see about putting better logging into the next version?

@pvdyck
Copy link
Author

pvdyck commented Aug 4, 2014

The solution I have now is to scorch before building.

Here is the -X output :

/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin/java -Dmaven.home=/usr/local/Cellar/maven/3.2.2/libexec -Dclassworlds.conf=/usr/local/Cellar/maven/3.2.2/libexec/bin/m2.conf -Didea.launcher.port=7534 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 14 EAP.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/usr/local/Cellar/maven/3.2.2/libexec/boot/plexus-classworlds-2.5.1.jar:/Applications/IntelliJ IDEA 14 EAP.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=14.0 -DskipTests=true phonegap-build:build -X -P mobile
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T15:51:42+02:00)
Maven home: /usr/local/Cellar/maven/3.2.2/libexec
Java version: 1.8.0_11, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.2.2/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/pvdyck/.m2/settings.xml
[DEBUG] Using local repository at /Users/pvdyck/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/pvdyck/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.netzep.inamik:web:war:0.0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix phonegap-build from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix phonegap-build to com.github.chrisprice:phonegap-build-maven-plugin from POM com.netzep.inamik:web:war:0.0.1-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.netzep.inamik:web:war:0.0.1-SNAPSHOT
[DEBUG] Tasks: [phonegap-build:build]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building web 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix phonegap-build from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix phonegap-build to com.github.chrisprice:phonegap-build-maven-plugin from POM com.netzep.inamik:web:war:0.0.1-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.netzep.inamik:web:0.0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile]
[DEBUG] Repositories (dependencies): [central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins) : [central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration:

${phonegap-build.android.certificate.alias}
${phonegap-build.android.certificate.password}
${project.build.directory}/phonegap-build/android.keystore
${phonegap-build.android.keystore.password}
${phonegap-build.android.server}

${project.build.finalName}
src/main/webapp/config.xml
${project.build.directory}/phonegap-build/ios.p12
${phonegap-build.ios.certificate.password}
${project.build.directory}/phonegap-build/ios.mobileprovision
${phonegap-build.ios.server}
****

android


${phonegap-build.server}
**
**@gmail.com
${project.build.directory}/${project.build.finalName}
${project.build.directory}/phonegap-build
${project.build.finalName}.zip

[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=3, ConflictMarker.markTime=1, ConflictMarker.nodeCount=255, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=82, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=14, ConflictResolver.conflictItemCount=144, DefaultDependencyCollector.collectTime=483, DefaultDependencyCollector.transformTime=22}
[DEBUG] com.netzep.inamik:web:war:0.0.1-SNAPSHOT
[DEBUG] org.apache.openejb:javaee-api:jar:6.0-5:provided
[DEBUG] com.netzep.inamik:services:jar:0.0.1-SNAPSHOT:compile
[DEBUG] com.netzep.inamik:domain:jar:0.0.1-SNAPSHOT:compile
[DEBUG] com.netzep.inamik:rest:jar:0.0.1-SNAPSHOT:compile
[DEBUG] com.netzep.inamik:config:jar:0.0.1-SNAPSHOT:compile
[DEBUG] com.netzep.inamik:domain-inami:jar:0.0.1-SNAPSHOT:compile
[DEBUG] org.jboss.errai:errai-tools:jar:3.0.1.Final:provided
[DEBUG] org.hsqldb:hsqldb:jar:2.3.0:provided
[DEBUG] com.google.gwt:gwt-user:jar:2.6.1:provided
[DEBUG] javax.validation:validation-api:jar:1.0.0.GA:provided
[DEBUG] javax.validation:validation-api:jar:sources:1.0.0.GA:provided
[DEBUG] org.json:json:jar:20090211:provided
[DEBUG] org.jboss.errai:errai-ioc:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai:errai-config:jar:3.0.1.Final:compile
[DEBUG] com.google.inject:guice:jar:3.0:compile
[DEBUG] aopalliance:aopalliance:jar:1.0:compile
[DEBUG] org.jboss.errai:errai-data-binding:jar:3.0.1.Final:provided
[DEBUG] org.jboss.errai:errai-marshalling:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai:errai-codegen:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai:errai-common:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai.reflections:reflections:jar:3.0.1.Final:compile
[DEBUG] de.benediktmeurer.gwt-slf4j:gwt-slf4j:jar:0.0.2:compile
[DEBUG] commons-lang:commons-lang:jar:2.6:compile
[DEBUG] org.mvel:mvel2:jar:2.1.7.Final:compile
[DEBUG] org.jboss.errai:errai-codegen-gwt:jar:3.0.1.Final:provided
[DEBUG] org.jboss.errai:errai-bus:jar:3.0.1.Final:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.6.1:compile (version managed from 1.7.2 by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] org.javassist:javassist:jar:3.15.0-GA:compile (version managed from 3.18.1-GA by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] io.netty:netty-codec-http:jar:4.0.12.Final:compile
[DEBUG] io.netty:netty-codec:jar:4.0.12.Final:compile
[DEBUG] io.netty:netty-transport:jar:4.0.12.Final:compile
[DEBUG] io.netty:netty-handler:jar:4.0.12.Final:compile
[DEBUG] io.netty:netty-buffer:jar:4.0.12.Final:compile
[DEBUG] io.netty:netty-common:jar:4.0.12.Final:compile
[DEBUG] com.google.guava:guava:jar:13.0.1:compile (version managed from 14.0.1 by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] org.jgroups:jgroups:jar:3.2.13.Final:compile
[DEBUG] org.jboss.errai:errai-weld-integration:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai:errai-cdi-client:jar:3.0.1.Final:compile
[DEBUG] org.jboss.errai:errai-ioc-bus-support:jar:3.0.1.Final:provided
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] org.jboss.errai:errai-javax-enterprise:jar:3.0.1.Final:provided
[DEBUG] javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG] javax.enterprise:cdi-api:jar:1.0-SP4:compile
[DEBUG] org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.1.Final:compile (version managed from 1.0.0.Beta1 by org.jboss.spec:jboss-javaee-6.0:3.0.2.Final)
[DEBUG] org.jboss.errai:errai-ui:jar:3.0.1.Final:provided
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.12:provided
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.9:provided (version managed from 1.9.12 by org.jboss.integration-platform:jboss-integration-platform-bom:6.0.0.CR9)
[DEBUG] org.jsoup:jsoup:jar:1.7.1:provided
[DEBUG] org.apache.stanbol:org.apache.stanbol.enhancer.engines.htmlextractor:jar:0.10.0:provided
[DEBUG] org.apache.clerezza:rdf.core:jar:0.12-incubating:provided
[DEBUG] org.osgi:org.osgi.core:jar:4.2.0:provided
[DEBUG] org.osgi:org.osgi.compendium:jar:4.2.0:provided
[DEBUG] org.apache.clerezza:utils:jar:0.1-incubating:provided
[DEBUG] commons-codec:commons-codec:jar:1.4:provided (version managed from 1.5 by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.2.1:provided (version managed from 4.1 by org.jboss.integration-platform:jboss-integration-platform-bom:6.0.0.CR9)
[DEBUG] org.wymiwyg:wymiwyg-commons-core:jar:0.7.6:provided
[DEBUG] commons-logging:commons-logging-api:jar:1.1:provided
[DEBUG] javax.activation:activation:jar:1.1.1:provided (version managed from 1.1 by org.jboss.spec:jboss-javaee-6.0:3.0.2.Final)
[DEBUG] org.lesscss:lesscss:jar:1.3.3:provided
[DEBUG] commons-io:commons-io:jar:2.1:provided (version managed from 2.4 by org.jboss.errai:errai-parent:3.0.1.Final)
[DEBUG] commons-logging:commons-logging:jar:1.1.1:provided
[DEBUG] org.apache.commons:commons-lang3:jar:3.1:provided
[DEBUG] org.mozilla:rhino:jar:1.7R4:provided
[DEBUG] org.jboss.errai:errai-navigation:jar:3.0.1.Final:provided
[DEBUG] org.jboss.errai:errai-jaxrs-client:jar:3.0.1.Final:provided
[DEBUG] org.jboss.resteasy:jaxrs-api:jar:2.3.6.Final:provided (version managed from 2.3.7.Final by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] org.jboss.errai:errai-cordova:jar:3.0.1.Final:provided
[DEBUG] org.jboss.errai:errai-html5:jar:3.0.1.Final:provided
[DEBUG] com.googlecode.gwtphonegap:gwtphonegap:jar:3.4.0.0-m1:provided
[DEBUG] org.jboss.errai:errai-annotation-processors:jar:3.0.1.Final:provided
[DEBUG] com.google.guava:guava-gwt:jar:16.0.1:provided
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:provided
[DEBUG] junit:junit:jar:4.11:test
[DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG] org.hibernate:hibernate-entitymanager:jar:4.2.3.Final:compile
[DEBUG] org.jboss.logging:jboss-logging:jar:3.1.2.GA:compile (version managed from 3.1.0.GA by org.jboss.errai.bom:errai-version-master:3.0.1.Final)
[DEBUG] dom4j:dom4j:jar:1.6.1:compile
[DEBUG] org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile (version managed from 4.0.2.Final by org.jboss.errai:errai-parent:3.0.1.Final)
[DEBUG] org.hibernate:hibernate-core:jar:4.2.0.Final:compile (version managed from 4.2.3.Final by org.jboss.errai:errai-parent:3.0.1.Final)
[DEBUG] antlr:antlr:jar:2.7.7:compile
[DEBUG] mysql:mysql-connector-java:jar:5.1.31:compile
[INFO]
[INFO] --- phonegap-build-maven-plugin:0.0.7:build (default-cli) @ web ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=120, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=52, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=79, DefaultDependencyCollector.collectTime=214, DefaultDependencyCollector.transformTime=4}
[DEBUG] com.github.chrisprice:phonegap-build-maven-plugin:jar:0.0.7:
[DEBUG] com.github.chrisprice:phonegap-build-api:jar:0.0.7:compile
[DEBUG] com.sun.jersey:jersey-client:jar:1.12:compile
[DEBUG] com.sun.jersey:jersey-core:jar:1.12:compile
[DEBUG] com.sun.jersey:jersey-json:jar:1.12:compile
[DEBUG] org.codehaus.jettison:jettison:jar:1.1:compile
[DEBUG] stax:stax-api:jar:1.0.1:compile
[DEBUG] com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[DEBUG] javax.xml.bind:jaxb-api:jar:2.2.2:compile
[DEBUG] javax.xml.stream:stax-api:jar:1.0-2:compile
[DEBUG] javax.activation:activation:jar:1.1:compile
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.2:compile
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:compile
[DEBUG] org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:compile
[DEBUG] org.codehaus.jackson:jackson-xc:jar:1.9.2:compile
[DEBUG] com.sun.jersey.contribs:jersey-apache-client:jar:1.8:compile
[DEBUG] commons-httpclient:commons-httpclient:jar:3.1:compile
[DEBUG] commons-codec:commons-codec:jar:1.2:compile
[DEBUG] com.sun.jersey.contribs:jersey-multipart:jar:1.12:compile
[DEBUG] org.jvnet:mimepull:jar:1.6:compile
[DEBUG] com.google.guava:guava:jar:12.0.1:compile
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.9:compile
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:2.1.1:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG] junit:junit:jar:3.8.1:compile
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG] org.codehaus.plexus:plexus-io:jar:2.0.3:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:compile
[DEBUG] commons-io:commons-io:jar:1.3.2:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.1:compile
[DEBUG] org.codehaus.plexus:plexus-component-metadata:jar:1.5.5:compile
[DEBUG] com.thoughtworks.qdox:qdox:jar:1.9.2:compile
[DEBUG] jdom:jdom:jar:1.0:compile
[DEBUG] org.codehaus.plexus:plexus-cli:jar:1.2:compile
[DEBUG] commons-cli:commons-cli:jar:1.0:compile
[DEBUG] commons-logging:commons-logging:jar:1.0:compile
[DEBUG] commons-lang:commons-lang:jar:1.0:compile
[DEBUG] asm:asm:jar:3.1:compile
[DEBUG] Created new class realm plugin>com.github.chrisprice:phonegap-build-maven-plugin:0.0.7
[DEBUG] Importing foreign packages into class realm plugin>com.github.chrisprice:phonegap-build-maven-plugin:0.0.7
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>com.github.chrisprice:phonegap-build-maven-plugin:0.0.7
[DEBUG] Included: com.github.chrisprice:phonegap-build-maven-plugin:jar:0.0.7
[DEBUG] Included: com.github.chrisprice:phonegap-build-api:jar:0.0.7
[DEBUG] Included: com.sun.jersey:jersey-client:jar:1.12
[DEBUG] Included: com.sun.jersey:jersey-core:jar:1.12
[DEBUG] Included: com.sun.jersey:jersey-json:jar:1.12
[DEBUG] Included: org.codehaus.jettison:jettison:jar:1.1
[DEBUG] Included: stax:stax-api:jar:1.0.1
[DEBUG] Included: com.sun.xml.bind:jaxb-impl:jar:2.2.3-1
[DEBUG] Included: javax.xml.bind:jaxb-api:jar:2.2.2
[DEBUG] Included: javax.xml.stream:stax-api:jar:1.0-2
[DEBUG] Included: javax.activation:activation:jar:1.1
[DEBUG] Included: org.codehaus.jackson:jackson-core-asl:jar:1.9.2
[DEBUG] Included: org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2
[DEBUG] Included: org.codehaus.jackson:jackson-jaxrs:jar:1.9.2
[DEBUG] Included: org.codehaus.jackson:jackson-xc:jar:1.9.2
[DEBUG] Included: com.sun.jersey.contribs:jersey-apache-client:jar:1.8
[DEBUG] Included: commons-httpclient:commons-httpclient:jar:3.1
[DEBUG] Included: commons-codec:commons-codec:jar:1.2
[DEBUG] Included: com.sun.jersey.contribs:jersey-multipart:jar:1.12
[DEBUG] Included: org.jvnet:mimepull:jar:1.6
[DEBUG] Included: com.google.guava:guava:jar:12.0.1
[DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9
[DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:2.1.1
[DEBUG] Included: junit:junit:jar:3.8.1
[DEBUG] Included: org.codehaus.plexus:plexus-io:jar:2.0.3
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: commons-io:commons-io:jar:1.3.2
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.1
[DEBUG] Included: org.codehaus.plexus:plexus-component-metadata:jar:1.5.5
[DEBUG] Included: com.thoughtworks.qdox:qdox:jar:1.9.2
[DEBUG] Included: jdom:jdom:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-cli:jar:1.2
[DEBUG] Included: commons-cli:commons-cli:jar:1.0
[DEBUG] Included: commons-logging:commons-logging:jar:1.0
[DEBUG] Included: commons-lang:commons-lang:jar:1.0
[DEBUG] Included: asm:asm:jar:3.1
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG] Configuring mojo com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build from plugin realm ClassRealm[plugin>com.github.chrisprice:phonegap-build-maven-plugin:0.0.7, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
[DEBUG] Configuring mojo 'com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build' with basic configurator -->
DEBUG androidKeystore = /Users/pvdyck/Documents/InamiK/web/target/phonegap-build/android.keystore
DEBUG androidSign = false
DEBUG appTitle = ROOT
DEBUG configFile = /Users/pvdyck/Documents/InamiK/web/src/main/webapp/config.xml
DEBUG iOsCertificate = /Users/pvdyck/Documents/InamiK/web/target/phonegap-build/ios.p12
DEBUG iOsMobileProvision = /Users/pvdyck/Documents/InamiK/web/target/phonegap-build/ios.mobileprovision
DEBUG password = *****
DEBUG platforms = [android]
DEBUG project = MavenProject: com.netzep.inamik:web:0.0.1-SNAPSHOT @ /Users/pvdyck/Documents/InamiK/web/pom.xml
DEBUG username = ****@gmail.com
DEBUG warDirectory = /Users/pvdyck/Documents/InamiK/web/target/ROOT
DEBUG workingDirectory = /Users/pvdyck/Documents/InamiK/web/target/phonegap-build
DEBUG zipFile = ROOT.zip
[DEBUG] -- end configuration --
[DEBUG] Creating zip for upload to cloud.
[INFO] Building zip: /Users/pvdyck/Documents/InamiK/web/target/phonegap-build/ROOT.zip
[DEBUG] adding entry config.xml
[DEBUG] Authenticating.
[WARNING] Server not specified, falling back to username/password.
[INFO] AuthChallengeProcessor - -basic authentication scheme selected
[DEBUG] Requesting summary from cloud.
[DEBUG] Checking for existing app.
[DEBUG] Ensuring ios key exists if it is a target platform.
[DEBUG] Ensuring android key exists if it is a target platform and Android signing is enabled.
[DEBUG] Building upload request.
[INFO] Starting upload.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.221 s
[INFO] Finished at: 2014-08-04T11:06:28+02:00
août 04, 2014 11:06:28 AM com.sun.jersey.api.client.ClientResponse getEntity
GRAVE: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found
août 04, 2014 11:06:28 AM com.sun.jersey.api.client.ClientResponse getEntity
GRAVE: The registered message body readers compatible with the MIME media type are:
*/
->
com.sun.jersey.core.impl.provider.entity.FormProvider
com.sun.jersey.core.impl.provider.entity.StringProvider
com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
com.sun.jersey.core.impl.provider.entity.FileProvider
com.sun.jersey.core.impl.provider.entity.InputStreamProvider
com.sun.jersey.core.impl.provider.entity.DataSourceProvider
com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
com.sun.jersey.core.impl.provider.entity.ReaderProvider
com.sun.jersey.core.impl.provider.entity.DocumentProvider
com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader
com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader
com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader
com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General
com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General
com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General
com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General
com.sun.jersey.core.impl.provider.entity.EntityHolderReader
com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General
com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General
com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy

[INFO] Final Memory: 19M/104M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build (default-cli) on project web: Execution default-cli of goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build failed: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build (default-cli) on project web: Execution default-cli of goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build failed: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.github.chrisprice:phonegap-build-maven-plugin:0.0.7:build failed: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 25 more
Caused by: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and Java type class com.github.chrisprice.phonegapbuild.api.data.ErrorResponse, and MIME media type text/html; charset=iso-8859-1 was not found
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:550)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
at com.github.chrisprice.phonegapbuild.api.managers.AppsManagerImpl.postNewApp(AppsManagerImpl.java:50)
at com.github.chrisprice.phonegapbuild.plugin.BuildMojo.createApp(BuildMojo.java:326)
at com.github.chrisprice.phonegapbuild.plugin.BuildMojo.execute(BuildMojo.java:298)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

@kleeb
Copy link

kleeb commented Jan 8, 2016

Any news on this one? I am also having it in 0.0.10 version.
My temporary solution is to extend com.github.chrisprice.phonegapbuild.api.managers.AppsManagerImpl method downloadApp, where UniformInterfaceException is being thrown. However this bug stopped occuring. Maybe they fixed it on PGB side.

@chrisprice
Copy link
Owner

I'm not sure, I'm no longer using this plugin. I've added a comment as such to the readme to make this clear.

@kleeb
Copy link

kleeb commented Jan 21, 2016

So what do you use for PGB? Or stopped using this service?

@chrisprice
Copy link
Owner

Predominantly I've stopped using mgwt so maven is no longer a good fit for
building the projects. I've also got far less to do with the build
infrastructure than I used to but it's my understanding we just build
locally when required.

On Thu, 21 Jan 2016 07:41 kleeb notifications@github.com wrote:

So what do you use for PGB? Or stopped using this service?


Reply to this email directly or view it on GitHub
#19 (comment)
.

@kleeb
Copy link

kleeb commented Feb 11, 2016

This bug states an internal Phonegap Build error. They don't give any more information: in the response just 'Something went wrong'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants