tigase-mobilemessenger-3 - Build # 90 - Failure! (#194)
Unknown opened 8 years ago
Due Date
2016-07-07

tigase-mobilemessenger-3 - Build # 90 - Failure:

Check console output at http://build.tigase.org/jenkins/job/tigase-mobilemessenger-3/90/ to view the results.

Changes:

No changes

Started by: Started by upstream project "tigase-jaxmpp2" build number 1,395


[...truncated 796 lines...]
    	at com.android.builder.core.AndroidBuilder$2.call(AndroidBuilder.java:1511)
    	at com.android.builder.core.AndroidBuilder$2.call(AndroidBuilder.java:1507)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
    	at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
    	at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
    	at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
    	at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
    	at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
    	at com.android.dx.command.dexer.Main.access$1600(Main.java:87)
    	at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1694)
    	at com.android.dx.command.dexer.Main.processClass(Main.java:758)
    	... 17 more
    
1 error; aborting
Dexing in-process.
Dex: Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add 
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.
    UNEXPECTED TOP-LEVEL EXCEPTION:
    java.lang.RuntimeException: Exception parsing classes
    	at com.android.dx.command.dexer.Main.processClass(Main.java:761)
    	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:727)
    	at com.android.dx.command.dexer.Main.access$1200(Main.java:87)
    	at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1655)
    	at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
    	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
    	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    	at com.android.dx.command.dexer.Main.processOne(Main.java:681)
    	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:578)
    	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
    	at com.android.dx.command.dexer.Main.run(Main.java:286)
    	at com.android.builder.internal.compiler.DexWrapper.run(DexWrapper.java:52)
    	at com.android.builder.core.AndroidBuilder$2.call(AndroidBuilder.java:1511)
    	at com.android.builder.core.AndroidBuilder$2.call(AndroidBuilder.java:1507)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
    	at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
    	at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
    	at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
    	at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
    	at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
    	at com.android.dx.command.dexer.Main.access$1600(Main.java:87)
    	at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1694)
    	at com.android.dx.command.dexer.Main.processClass(Main.java:758)
    	... 17 more
    
1 error; aborting
Dexing in-process.
PREDEX CACHE HITS:   0
PREDEX CACHE MISSES: 0
Stopped 0 compiler daemon(s).
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
Email was triggered for: Failure - Any
Email was triggered for: Failure - 1st
Trigger Failure - Any was overridden by another trigger and will not send an email.
Trigger Failure - Still was overridden by another trigger and will not send an email.
Sending email for trigger: Failure - 1st

wojciech.kapcia@tigase.net commented 8 years ago

Installed newest SDK and it solved the problem:

jenkins@build:~/jobs/tigase-mobilemessenger-3/workspace$ /home/jenkins/android-sdk/android-sdk-linux/tools/android update sdk -a -u -t 27
Refresh Sources:
  Fetching https://dl.google.com/android/repository/addons_list-2.xml
…
-------------------------------
License id: android-sdk-license-c81a61d9
Used by:
 - SDK Platform Android N, API 24, revision 1
issue 1 of 1
Type
Consulting
Priority
Major
Assignee
RedmineID
4282
Spent time
1h
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/stork#194
Please wait...
Page is in error, reload to recover