Project

General

Profile

Anomalie #3955

Display an error when we try to call a bundle wich doesn't exists

Added by Erwan L. over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Gregg C.
Category:
Core
Target version:
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

#2Updated by Gregg C. over 5 years ago

Appliqué par commit origin|commit:cca9eac5b42b8ccb871b82bb9bc758db76f19d1f.

#3Updated by CI-Build . over 5 years ago

Build 634 finished UNSTABLE from merge request !1644

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)