← Back to team overview

dhis2-devs team mailing list archive

Re: Unable to install app

 

Ok ;) good it works now


-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Wed, May 16, 2018 at 3:01 PM, Pooben Dass <pooben@xxxxxxxx> wrote:

> Hi Morton
>
> Please don't bother with this issue ... I found the error of my ways :)
>
> I was zipping up the project folder and the manifest file was within the
> folder and not on the root.
>
> Thanks for the help
>
> Kind regards
> Pooben
>
>
> On Wed, May 16, 2018 at 7:24 AM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Haven't seen that before, are you sure the zip file is OK (not damaged) ?
>> are you uploading through the UI?
>>
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, May 15, 2018 at 6:31 PM, Pooben Dass <pooben@xxxxxxxx> wrote:
>>
>>> Hi Devs
>>>
>>> I get a NullPointerException when trying to install an app zip file. Has
>>> anyone seen this error before?
>>> Any idea what could cause this?
>>>
>>> java.lang.NullPointerException: entry
>>>         at java.util.zip.ZipFile.getInputStream(ZipFile.java:346)
>>>         at org.hisp.dhis.appmanager.DefaultAppManager.installApp(Defaul
>>> tAppManager.java:201)
>>>         at org.hisp.dhis.webapi.controller.AppController.installApp(App
>>> Controller.java:150)
>>>         at org.hisp.dhis.webapi.controller.AppController$$FastClassBySp
>>> ringCGLIB$$45556959.invoke(<generated>)
>>>         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodPro
>>> xy.java:204)
>>>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodI
>>> nvocation.invokeJoinpoint(CglibAopProxy.java:738)
>>>         at org.springframework.aop.framework.ReflectiveMethodInvocation
>>> .proceed(ReflectiveMethodInvocation.java:157)
>>>         at org.springframework.security.access.intercept.aopalliance.Me
>>> thodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
>>>         at org.springframework.aop.framework.ReflectiveMethodInvocation
>>> .proceed(ReflectiveMethodInvocation.java:179)
>>>         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvis
>>> edInterceptor.intercept(CglibAopProxy.java:673)
>>>         at org.hisp.dhis.webapi.controller.AppController$$EnhancerBySpr
>>> ingCGLIB$$3fe60449.installApp(<generated>)
>>>
>>>
>>> About DHIS 2Version:2.27Build revision:bd3a0ffBuild date:2018-05-04
>>> 12:03
>>>
>>> Kind regards
>>> Pooben
>>>
>>> *This message and any attachments are subject to a disclaimer published
>>> at http://www.hisp.org/policies.html#comms_disclaimer
>>> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
>>> disclaimer before opening any attachment or taking any other action in
>>> terms of this electronic transmission.  If you cannot access the
>>> disclaimer, kindly send an email to disclaimer@xxxxxxxx
>>> <disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to
>>> this e-mail or opening any attachment you agree to be bound by the
>>> provisions of the disclaimer.*
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclaimer@xxxxxxxx
> <disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>

References