Re: [Dhis2-devs] Unable to install app

2018-05-16 Thread Morten Olav Hansen
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  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 
> 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  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()
>>> 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()
>>>
>>>
>>> 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
>>> .  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 disclai...@hisp.org
>>>  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@lists.launchpad.net
>>> 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
> .  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 disclai...@hisp.org
>  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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Unable to install app

2018-05-16 Thread Pooben Dass
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 
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  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(
>> AppController.java:150)
>> at org.hisp.dhis.webapi.controller.AppController$$FastClassBySp
>> ringCGLIB$$45556959.invoke()
>> 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()
>>
>>
>> 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
>> .  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 disclai...@hisp.org
>>  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@lists.launchpad.net
>> 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 
. 
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 disclai...@hisp.org 
 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Unable to install app

2018-05-15 Thread Morten Olav Hansen
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  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(
> DefaultAppManager.java:201)
> at org.hisp.dhis.webapi.controller.AppController.
> installApp(AppController.java:150)
> at org.hisp.dhis.webapi.controller.AppController$$
> FastClassBySpringCGLIB$$45556959.invoke()
> at org.springframework.cglib.proxy.MethodProxy.invoke(
> MethodProxy.java:204)
> at org.springframework.aop.framework.CglibAopProxy$
> CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:157)
> at org.springframework.security.access.intercept.aopalliance.
> MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.framework.CglibAopProxy$
> DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
> at org.hisp.dhis.webapi.controller.AppController$$
> EnhancerBySpringCGLIB$$3fe60449.installApp()
>
>
> 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
> .  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 disclai...@hisp.org
>  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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Unable to install app

2018-05-15 Thread Pooben Dass
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(DefaultAppManager.java:201)
at
org.hisp.dhis.webapi.controller.AppController.installApp(AppController.java:150)
at
org.hisp.dhis.webapi.controller.AppController$$FastClassBySpringCGLIB$$45556959.invoke()
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at
org.hisp.dhis.webapi.controller.AppController$$EnhancerBySpringCGLIB$$3fe60449.installApp()


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 
. 
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 disclai...@hisp.org 
 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp