Skip to content

Instantly share code, notes, and snippets.

View kaweesi's full-sized avatar
🏠
Working from home

Kaweesi Joseph kaweesi

🏠
Working from home
View GitHub Profile
java.io.IOException: ZIP entry size is too large
at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource$FakeZipEntry.<init>(ZipInputStreamZipEntrySource.java:118)
at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource.<init>(ZipInputStreamZipEntrySource.java:55)
at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:88)
at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:273)
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:37)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:266)
at org.openmrs.module.dhisreporting.api.DHISReportingServiceTest.test(DHISReportingServiceTest.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
var settings = {
"async": true,
"crossDomain": true,
"url": "http://82.196.9.250:8080/api/dataElements",
"method": "POST",
"headers": {
"authorization": "Basic a2F3ZWVzaTpSb2NraWVjYXNoMDA5NjE0",
"content-type": "application/csv",
"cache-control": "no-cache",
"postman-token": "5a2e223a-a044-43c0-322e-0d368ec7dcbf"
[
{
"categoryOptionCombos":[
{
"id":"HllvX50cXC0",
"name":"default",
"code":"HllvX50cXC0"
}
],
"categories":[
EPOSITORY TAG IMAGE ID CREATED SIZE
dhis2_dhis_21 latest 24676f4318fc About an hour ago 1.324 GB
dhis2_dhis_23 latest ac42ffc1e97e About an hour ago 1.344 GB
dhis2_dhis_22 latest 7cfc98439648 About an hour ago 1.332 GB
dhis2_dhis_25 latest f6ebb32905dc About an hour ago 1.429 GB
dhis2_dhis_24 latest 5f2be68a3d19 About an hour ago 1.385 GB
ubuntu 14.04 7c09e61e9035 5 weeks ago 187.9 MB
Marker - 12 Apr 2017, 2:49:03 PM
ERROR - errorhandler_jsp._jspService(150) |2017-04-12 14:49:26,771| Error on page /openmrs-standalone/errorhandler.jsp
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
at org.openmrs.api.context.Context.getUserContext(Context.java:245)
at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:644)
at org.openmrs.web.taglib.AuthTag.doStartTag(AuthTag.java:25)
at org.apache.jsp.WEB_002dINF.view.missing_jsp._jspx_meth_openmrs_005fauthentication_005f0(missing_jsp.java:2613)
at org.apache.jsp.WEB_002dINF.view.missing_jsp._jspService(missing_jsp.java:544)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
public Integer getNumberOfFailedDataPosts() {
File dataDir = new File(OpenmrsUtil.getApplicationDataDirectory() + DHISCONNECTOR_DATA_FOLDER);
if (dataDir.exists() && dataDir.isDirectory()) {
for (File f : dataDir.listFiles()) {
subDirectoryJSONAndXMLFileCount(f);
}
}
return count;
}
/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
* Copyright (C) OpenMRS, LLC. All Rights Reserved.
Running org.openmrs.module.rwandasphstudyreports.api.CDCReportsServiceTest
log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
org.hibernate.exception.DataException: could not insert: [org.openmrs.module.reporting.report.ReportDesignResource]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2345)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2852)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
Results :
Tests in error:
buildQuery_shouldHandleSimpleParameters(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
buildQuery_shouldHandleListParameters(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
buildQuery_shouldHandleComments(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
getColumns_shouldReturnTheConfiguredColumns(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
buildQuery_shouldHandleListsOfOpenmrsObjectParameters(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
buildQuery_shouldSupportMultipleParametersWithSameName(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
buildQuery_shouldHandleCohortParameters(org.openmrs.module.reporting.evaluation.querybuilder.SqlQueryBuilderTest)
<?xml version='1.0' encoding='UTF-8'?>
<!--
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
graphic logo is a trademark of OpenMRS Inc.