Anomalie #3955
Display an error when we try to call a bundle wich doesn't exists
Start date:
03/06/2014
Due date:
% Done:
100%
Estimated time:
Description
If i call the command rest:generate:adapters and the file bundle-rest-annotations.jar doesn't exists in library pool, i got an npe:
Current Working Path: C:\Users\isod\Documents\Projects\harmony\vendor\tact-core Current Project : demact Current NameSpace : com/tactfactory/harmony/test/demact Current Android SDK Path : /opt/android-sdk-linux_86/ Current Android SDK Revision : > Adapters Generator >> Search for header.ftl... >>>> Header.ftl found in C:\Users\isod\Documents\Projects\harmony\vendor\tact-core\tpl\header.ftl >> Analyse Models... [ERROR] java.lang.NullPointerException com.tactfactory.harmony.template.BaseGenerator.updateLibrary(BaseGenerator.java:245) com.tactfactory.harmony.bundles.rest.template.RestGenerator.generateAll(RestGenerator.java:43) com.tactfactory.harmony.bundles.rest.command.RestCommand.generateAdapters(RestCommand.java:74) com.tactfactory.harmony.bundles.rest.command.RestCommand.execute(RestCommand.java:58) com.tactfactory.harmony.Harmony.findAndExecute(Harmony.java:250) com.tactfactory.harmony.Console.main(Console.java:187)
Recurrences
History
#2
Updated by Gregg C. almost 7 years ago
Appliqué par commit origin|commit:cca9eac5b42b8ccb871b82bb9bc758db76f19d1f.