Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2350] Android: Using crittercism/apm 2.1.0 & soasta 2.0 together causes build to fail

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-08-14T22:02:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAPM
Labelsn/a
ReporterLokesh Choudhary
AssigneeGary Mathews
Created2017-08-04T00:48:28.000+0000
Updated2017-08-14T22:04:42.000+0000

Description

Steps to reproduce:

1. Create a classic/alloy project in studio. 2. Make sure you have all services enabled. 3. Make sure you have the above mentioned modules versions. 4. Build to android device/emulator.

Actual results:

1. The build fails with error log:
[DEBUG] :  TouchTest : Checking the jars blacklisted...
[DEBUG] :  TouchTest : The list of blacklisted modules []
[DEBUG] :  TouchTest : Creating backup to: /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/hyperloop/2.1.3/copied-hyperloop-android.jar
[DEBUG] :  TouchTest : Module ti.cloud not found, skipping the module.
[DEBUG] :  TouchTest : Creating backup to: /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/copied-crittercism.jar
[DEBUG] :  detected module analytics, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-analytics.jar
[DEBUG] :  detected module android, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-android.jar
[DEBUG] :  detected module app, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-app.jar
[DEBUG] :  detected module ui, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-ui.jar
[DEBUG] :  detected module locale, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-locale.jar
[DEBUG] :  detected module network, path = /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-network.jar
[DEBUG] :  TouchTest : Using classpath /Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/titanium.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-multidex.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-animated-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-annotations.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4-internal_impl.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/cardview-v7-23.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjrt.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjtools.jar:hyperloop/2.1.3/hyperloop-android.jar:com.appcelerator.apm/2.1.0/crittercism.jar
[DEBUG] :  TouchTest : Creating backup to: /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/copied-titanium.jar
[DEBUG] :  TouchTest : Creating backup to: /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/copied-titanium-ui.jar
[DEBUG] :  TouchTest : Instrumenting titanium
[DEBUG] :  TouchTest : Process /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/copied-titanium.jar
[DEBUG] :  TouchTest : weaving jar to create /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/titanium.jar
[DEBUG] :  TouchTest : Instrumenting modules/titanium-ui
[DEBUG] :  TouchTest : Process /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/copied-titanium-ui.jar
[DEBUG] :  TouchTest : weaving jar to create /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/sdk/titanium-ui.jar
[DEBUG] :  TouchTest : Instrumenting hyperloop/2.1.3/hyperloop-android.jar
[DEBUG] :  TouchTest : Process /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/hyperloop/2.1.3/copied-hyperloop-android.jar
[DEBUG] :  TouchTest : weaving jar to create /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/hyperloop/2.1.3/hyperloop-android.jar
[DEBUG] :  TouchTest : Instrumenting com.appcelerator.apm/2.1.0/crittercism.jar
[DEBUG] :  TouchTest : Process /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/copied-crittercism.jar
[DEBUG] :  TouchTest : weaving jar to create /Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/crittercism.jar
2017-08-03T23:26:18.534Z | ERROR  | An uncaught exception was thrown!
Command failed: java -classpath "/Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/titanium.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-multidex.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-animated-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-annotations.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4-internal_impl.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/cardview-v7-23.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjrt.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjtools.jar:hyperloop/2.1.3/hyperloop-android.jar:com.appcelerator.apm/2.1.0/crittercism.jar" -Xmx256M org.aspectj.tools.ajc.Main -Xlint:ignore -inpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/copied-crittercism.jar" -aspectpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-Titanium.jar" -outjar "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/crittercism.jar"
2017-08-03T23:26:18.534Z | ERROR  | Command failed: java -classpath "/Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/titanium.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-multidex.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-animated-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-annotations.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4-internal_impl.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/cardview-v7-23.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjrt.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjtools.jar:hyperloop/2.1.3/hyperloop-android.jar:com.appcelerator.apm/2.1.0/crittercism.jar" -Xmx256M org.aspectj.tools.ajc.Main -Xlint:ignore -inpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/copied-crittercism.jar" -aspectpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-Titanium.jar" -outjar "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/crittercism.jar"
ABORT
Exception thrown from AspectJ 1.8.6
This might be logged as a bug already -- find current bugs at
  http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Compiler
Bugs for exceptions thrown have titles File:line from the top stack, 
e.g., "SomeFile.java:243"
If you don't find the exception below in a bug, please add a new bug
at http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
To make the bug a priority, please include a test program
that can reproduce this exception.
only DEFLATED entries can have EXT descriptor
when batch building BuildConfig[null] #Files=0 AopXmls=#0
only DEFLATED entries can have EXT descriptor
java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
	at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:310)
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:83)
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:62)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesFromJarFile(AjBuildManager.java:480)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesToDestination(AjBuildManager.java:462)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:367)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:185)
	at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
	at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
	at org.aspectj.tools.ajc.Main.run(Main.java:371)
	at org.aspectj.tools.ajc.Main.runMain(Main.java:248)
	at org.aspectj.tools.ajc.Main.main(Main.java:84)
Aug 03, 2017 4:26:18 PM org.aspectj.weaver.tools.Jdk14Trace info
INFO: Dumping to /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/./ajcore.20170803.162618.427.txt
1 fail|abort
2017-08-03T23:26:18.535Z | TRACE  | Error: Command failed: java -classpath "/Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/titanium.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-multidex.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-animated-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-annotations.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v4-internal_impl.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/android-support-vector-drawable.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/cardview-v7-23.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.1.2.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjrt.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/aspectjtools.jar:hyperloop/2.1.3/hyperloop-android.jar:com.appcelerator.apm/2.1.0/crittercism.jar" -Xmx256M org.aspectj.tools.ajc.Main -Xlint:ignore -inpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/copied-crittercism.jar" -aspectpath "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver.jar:/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-Titanium.jar" -outjar "/Users/lchoudhary/Desktop/workspaces/workspace_2016/Ztester123/plugins/com.soasta.touchtest.android/soasta/externalModules/com.appcelerator.apm/2.1.0/crittercism.jar"
ABORT
Exception thrown from AspectJ 1.8.6
This might be logged as a bug already -- find current bugs at
  http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Compiler
Bugs for exceptions thrown have titles File:line from the top stack, 
e.g., "SomeFile.java:243"
If you don't find the exception below in a bug, please add a new bug
at http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
To make the bug a priority, please include a test program
that can reproduce this exception.
only DEFLATED entries can have EXT descriptor
when batch building BuildConfig[null] #Files=0 AopXmls=#0
only DEFLATED entries can have EXT descriptor
java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
	at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:310)
ABORT
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
Exception thrown from AspectJ 1.8.6
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:83)
This might be logged as a bug already -- find current bugs at
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:62)
  http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Compiler
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesFromJarFile(AjBuildManager.java:480)
Bugs for exceptions thrown have titles File:line from the top stack, 
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesToDestination(AjBuildManager.java:462)
e.g., "SomeFile.java:243"
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:367)
If you don't find the exception below in a bug, please add a new bug
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:185)
at http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
	at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
To make the bug a priority, please include a test program
	at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
that can reproduce this exception.
only DEFLATED entries can have EXT descriptor
when batch building BuildConfig[null] #Files=0 AopXmls=#0
only DEFLATED entries can have EXT descriptor
java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
	at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:310)
	at org.aspectj.tools.ajc.Main.run(Main.java:371)
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
	at org.aspectj.tools.ajc.Main.runMain(Main.java:248)
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:83)
	at org.aspectj.tools.ajc.Main.main(Main.java:84)
	at java.util.jar.JarInputStream.<init>(JarInputStream.java:62)
Aug 03, 2017 4:26:18 PM org.aspectj.weaver.tools.Jdk14Trace info
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesFromJarFile(AjBuildManager.java:480)
INFO: Dumping to /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/./ajcore.20170803.162618.427.txt
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesToDestination(AjBuildManager.java:462)
1 fail|abort
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:367)
    at ChildProcess.exithandler (child_process.js:204:12)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:185)
    at emitTwo (events.js:106:13)
	at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
    at ChildProcess.emit (events.js:191:7)
	at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
    at maybeClose (internal/child_process.js:886:16)
	at org.aspectj.tools.ajc.Main.run(Main.java:371)
    at Socket.<anonymous> (internal/child_process.js:342:11)
	at org.aspectj.tools.ajc.Main.runMain(Main.java:248)
    at emitOne (events.js:96:13)
	at org.aspectj.tools.ajc.Main.main(Main.java:84)
    at Socket.emit (events.js:188:7)
Aug 03, 2017 4:26:18 PM org.aspectj.weaver.tools.Jdk14Trace info
    at Pipe._handle.close [as _onclose] (net.js:501:12)
INFO: Dumping to /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/./ajcore.20170803.162618.427.txt

2. If either of the modules is removed from the project, app builds successfully.

Expected results:

1. The build should should be successful.

Comments

  1. Gary Mathews 2017-08-05

    I have rebuilt [2.1.0](https://github.com/appcelerator-modules/appcelerator.apm/releases/tag/v2.1.0), it should work fine now. The issue is with archiver, I've pushed https://github.com/archiverjs/node-compress-commons/pull/27 to fix the compatibility issues. Currently waiting for it to be merged so we can update our archiver version.
  2. Lokesh Choudhary 2017-08-14

    Verified the fix with 2.1.0 : https://github.com/appcelerator-modules/appcelerator.apm/releases/download/v2.1.0/com.appcelerator.apm-ios_android-2.1.0.zip Build works fine when both soasta 2.0 & crittercism 2.1.0 are used together.

JSON Source