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 <poo...@hisp.org> 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(<generated>) > 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(<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 disclai...@hisp.org > <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