java.lang.NullPointerException

JIRA | Gareth Woodham | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    epsos-web log from Sweden PPT environment: {code} 2013-03-19 15:52:06.773 DEBUG NcpServiceFacadeImpl Doc: se.sb.epsos.shelob.ws.client.jaxws.EpsosDocument@43571059 2013-03-19 15:52:06.774 DEBUG DocumentCache Checking cached document by key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} , document is cached 2013-03-19 15:52:06.774 DEBUG DocumentCache Flushing document with key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} 2013-03-19 15:52:06.774 DEBUG DocumentCache **** DocummentCache current status: 1 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10012} 2 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10012} 3 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10013} 4 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10014} 5 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10015} 6 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10016} 7 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10013} 8 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10007} 9 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10008} 10 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10016} 11 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10015} 12 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10014} 13 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.6} 14 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:aadb8c8c-2849-44cb-b08b-ad0004081870} 15 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e59fb3ff-dd7b-4d5a-882c-0f6e50d63fab} 16 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10007} 17 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:05e5ed51-8ed1-4657-9f2c-e5801aa8b6d5} 18 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10008} **** total size: 18 2013-03-19 15:52:06.775 DEBUG DocumentCache Caching Prescription document with key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} 2013-03-19 15:52:06.775 DEBUG DocumentCache **** DocummentCache current status: 1 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10012} 2 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10012} 3 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10013} 4 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10014} 5 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10015} 6 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10016} 7 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10013} 8 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10007} 9 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10008} 10 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10016} 11 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10015} 12 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10014} 13 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.6} 14 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} 15 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:aadb8c8c-2849-44cb-b08b-ad0004081870} 16 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e59fb3ff-dd7b-4d5a-882c-0f6e50d63fab} 17 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10007} 18 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:05e5ed51-8ed1-4657-9f2c-e5801aa8b6d5} 19 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10008} **** total size: 19 2013-03-19 15:52:06.866 INFO CdaHelper IngredientRow Length: 1 2013-03-19 15:52:06.868 DEBUG CdaHelper value (before numberFormat): 40 2013-03-19 15:52:06.868 DEBUG CdaHelper strength: 40 mg/mL 2013-03-19 15:52:06.876 INFO CdaHelper Value: 0.35 2013-03-19 15:52:06.876 INFO CdaHelper Formatted value: .35 2013-03-19 15:52:06.877 INFO CdaHelper Unit: mL 2013-03-19 15:52:06.877 INFO CdaHelper Value: 240 2013-03-19 15:52:06.877 INFO CdaHelper Formatted value: 240 2013-03-19 15:52:06.877 INFO CdaHelper Unit: 1 2013-03-19 15:52:06.883 INFO CdaHelper Reference(#PINSTRUCT) found: Allergialääke 1-2 tippaa 2 kertaa vuorokaudessa kumpaankin silmään. Pipetti on yhtä annoskertaa varten. Pehmeät piilolinssit otettava pois ennen lääkkeen tiputtamista, ja ne saa asettaa takaisin aikaisintaan 10 minuutin kuluttua lääkkeen ottamisesta. 2013-03-19 15:52:06.886 DEBUG CdaHelper Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -25 at java.lang.String.substring(String.java:1958) at se.sb.epsos.web.util.CdaHelper.transformNodeContentToString(CdaHelper.java:709) at se.sb.epsos.web.util.CdaHelper.handleReferenceXPath(CdaHelper.java:695) at se.sb.epsos.web.util.CdaHelper.handleInstructions(CdaHelper.java:303) at se.sb.epsos.web.util.CdaHelper.parsePrescriptionFromDocument(CdaHelper.java:255) at se.sb.epsos.web.model.Prescription.<init>(Prescription.java:55) at se.sb.epsos.web.service.NcpServiceFacadeImpl.retrieveDocument(NcpServiceFacadeImpl.java:334) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:414) at org.apache.wicket.proxy.$Proxy1.retrieveDocument(Unknown Source) at se.sb.epsos.web.pages.QueryDocumentsPage$1$3.onClick(QueryDocumentsPage.java:154) at se.sb.epsos.web.util.ActionLinkPanel$1.onClick(ActionLinkPanel.java:34) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:722) 2013-03-19 15:52:06.887 DEBUG NcpServiceFacadeImpl Retreived Document: <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:epsos="urn:epsos-org:ep:medication" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" classCode="DOCCLIN" moodCode="EVN" xsi:schemaLocation="urn:hl7-org:v3 P:\KanTa\epSOS(~1\ePjaeD~1\muunnostiedostot\CDA_epSOS\CDA_extended.xsd"> <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/> <templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.1.1"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/> <id extension="6" root="1.2.246.556.12001.4.93.1.1"/> <code code="57833-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" codeSystemVersion="2.34" displayName="eRecept"> <translation displayName="ePrescription"/> </code> <title>ePrescription (epSOS/Finland)</title> <effectiveTime value="20120503092534"/> <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality" codeSystemVersion="913-20091020" displayName="normal"> <translation code="5" codeSystem="1.2.246.777.5.99902.2006" displayName="Terveydenhuollon salassa pidettävä"/> </confidentialityCode> <languageCode code="fi-FI"/> <setId root="1.2.246.10.3575029.93.2012.10404000001"/> <recordTarget contextControlCode="OP" typeCode="RCT"> <patientRole classCode="PAT"> <id extension="041082-995W" root="1.2.246.21"/> <addr> <country>FI</country> </addr> <telecom nullFlavor="NI"/> <patient classCode="PSN" determinerCode="INSTANCE"> <name> <given>SAIJA</given> <family>SAIRAS</family> </name> <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender" codeSystemVersion="913-20091020" displayName="Man"> <translation displayName="Male"> <translation code="1" codeSystem="1.2.246.537.5.1.1997" displayName="Mies"/> </translation> </administrativeGenderCode> <birthTime value="19821004"/> </patient> </patientRole> </recordTarget> <author> <functionCode code="22" codeSystem="2.16.840.1.113883.2.9.6.2.7" codeSystemName="ISCO" codeSystemVersion="2008" displayName="Arbete som kräver teoretisk specialistkompetens inom hälso- och sjukvård"> <translation displayName="Health professionals"/> </functionCode> <time value="20120503092535"/> <assignedAuthor classCode="ASSIGNED"> <id extension="030676" root="1.2.246.537.25"/> <telecom nullFlavor="NI"/> <assignedPerson classCode="PSN" determinerCode="INSTANCE"> <name> <given>Aili</given> <family>Kaukovaara Tes</family> </name> </assignedPerson> <representedOrganization classCode="ORG" determinerCode="INSTANCE"> <id root="1.2.246.10.3575029.10.9990121004"/> <name>Antin pth vastaanotto 1, Organisaatio</name> <telecom nullFlavor="NI"/> <addr> <streetAddressLine>Ruukinkatu 2-4</streetAddressLine> <postalCode>20540</postalCode> <city>Turku</city> <state nullFlavor="UNK"/> <country>FI</country> </addr> </representedOrganization> </assignedAuthor> </author> <custodian> <assignedCustodian> <representedCustodianOrganization> <id root="1.2.246.10.2462460.19.1"/> <name>Kansaneläkelaitos</name> <telecom nullFlavor="NI"/> <addr> <country>FI</country> </addr> </representedCustodianOrganization> </assignedCustodian> </custodian> <legalAuthenticator contextControlCode="OP" typeCode="LA"> <time value="20120503092534"/> <signatureCode code="S"/> <assignedEntity classCode="ASSIGNED"> <id root="1.2.246.10.2462460.19.1"/> <telecom nullFlavor="NI"/> <assignedPerson> <name> <family>Vastaava</family> <given>Henkilö</given> </name> </assignedPerson> <representedOrganization classCode="ORG" determinerCode="INSTANCE"> <id root="1.2.246.10.2462460.19.1"/> <name>Kansaneläkelaitos</name> <addr use="PST"> <postBox>P.O.B. 450</postBox> <city>Helsinki</city> <postalCode>00101</postalCode> <state nullFlavor="UNK"/> <country>FI</country> </addr> </representedOrganization> </assignedEntity> </legalAuthenticator> <relatedDocument typeCode="XFRM"> <parentDocument> <id root="1.2.246.10.3575029.93.2012.10404000001"/> </parentDocument> </relatedDocument> <component> <structuredBody> <component> <section> <templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.2.1"/> <id extension="6" root="1.2.246.556.12001.4.93.1.1"/> <code code="57828-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" codeSystemVersion="2.34" displayName="Recept"> <translation displayName="Prescriptions"/> </code> <title>Electronic Prescription, epSOS/Finland</title> <text ID="eP_as_text"> <paragraph> <caption>Kauppanimi</caption>LOMUDAL</paragraph> <paragraph> <caption>Geneerinen nimi</caption>Dinatriumkromoglikaatti</paragraph> <paragraph> <caption>Vahvuus</caption>40 mg/ml</paragraph> <paragraph> <caption>Annostus</caption>1-2 tippaa 2 kertaa vuorokaudessa kumpaankin silmään. Pipetti on yhtä annoskertaa varten. Pehmeät piilolinssit otettava pois ennen lääkkeen tiputtamista, ja ne saa asettaa takaisin aikaisintaan 10 minuutin kuluttua lääkkeen ottamisesta.</paragraph> <paragraph> <caption>Pakkauskoko</caption>4 x 60 x 0,35 ml</paragraph> <paragraph> <content ID="FINSTRUCT"/> </paragraph> <paragraph> <content ID="PINSTRUCT">Allergialääke 1-2 tippaa 2 kertaa vuorokaudessa kumpaankin silmään. Pipetti on yhtä annoskertaa varten. Pehmeät piilolinssit otettava pois ennen lääkkeen tiputtamista, ja ne saa asettaa takaisin aikaisintaan 10 minuutin kuluttua lääkkeen ottamisesta.</content> </paragraph> <paragraph> <content ID="nameAsText">LOMUDAL</content> </paragraph> </text> <entry> <substanceAdministration classCode="SBADM" moodCode="INT"> <templateId root="2.16.840.1.113883.10.20.1.24"/> <templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.2"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"/> <id extension="6" root="1.2.246.556.12001.4.93.1.1"/> <text> <reference value="#eP_as_text"/> </text> <statusCode code="active"/> <effectiveTime xsi:type="IVL_TS"> <low value="20120503"/> <high value="20130503"/> </effectiveTime> <effectiveTime nullFlavor="UNK" xsi:type="PIVL_TS"/> <doseQuantity nullFlavor="UNK"/> <consumable> <manufacturedProduct classCode="MANU"> <templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.1"/> <templateId root="2.16.840.1.113883.10.20.1.53"/> <manufacturedMaterial classCode="MMAT" determinerCode="KIND"> <code code="001102" codeSystem="1.2.246.537.6.55" codeSystemName="VNR" codeSystemVersion="2012.005" displayName="LOMUDAL"> <originalText> <reference value="#nameAsText"/> </originalText> </code> <name>LOMUDAL</name> <epsos:formCode code="50023000" codeSystem="1.3.6.1.4.1.12559.11.10.1.3.1.44.1" codeSystemName="EDQM" codeSystemVersion="2010" displayName="Ögondroppar, lösning i endosbehållare"> <epsos:translation displayName="Eye drops, solution in single-dose container"> <epsos:translation code="359" codeSystem="laakemuodot" codeSystemName="Lääkemuodot" displayName="silmätipat, liuos kerta-annospipetissä"/> </epsos:translation> </epsos:formCode> <epsos:asContent classCode="CONT"> <epsos:containerPackagedMedicine classCode="CONT" determinerCode="INSTANCE"> <epsos:name>LOMUDAL</epsos:name> <epsos:formCode codeSystem="1.3.6.1.4.1.12559.11.10.1.3.1.44.1" codeSystemName="EDQM" nullFlavor="NI"/> <epsos:capacityQuantity unit="mL" value="0.35"/> </epsos:containerPackagedMedicine> </epsos:asContent> <epsos:ingredient classCode="ACTI"> <epsos:quantity> <epsos:numerator unit="mg" value="40" xsi:type="epsos:PQ"/> <epsos:denominator unit="mL" value="1" xsi:type="epsos:PQ"/> </epsos:quantity> <epsos:ingredient classCode="MMAT" determinerCode="KIND"> <epsos:code code="S01GX01" codeSystem="2.16.840.1.113883.6.73" codeSystemName="Anatomical Therapeutic Chemical" codeSystemVersion="January 2010" displayName="Natriumkromoglikat"> <epsos:translation displayName="cromoglicic acid"> <epsos:translation code="S01GX01" codeSystem="1.2.246.537.6.32" codeSystemVersion="2012.005" displayName="Dinatriumkromoglikaatti"/> </epsos:translation> </epsos:code> <epsos:name>cromoglicic acid</epsos:name> </epsos:ingredient> </epsos:ingredient> </manufacturedMaterial> </manufacturedProduct> </consumable> <entryRelationship typeCode="COMP"> <supply classCode="SPLY" moodCode="RQO"> <independentInd value="false"/> <quantity unit="1" value="240"/> </supply> </entryRelationship> <entryRelationship inversionInd="true" typeCode="SUBJ"> <observation classCode="OBS" moodCode="EVN"> <code code="SUBST" codeSystem="2.16.840.1.113883.5.6" codeSystemName="ActClass" displayName="Substitution"/> <value code="G" codeSystem="2.16.840.1.113883.5.1070" codeSystemName="SubstanceAdminSubstitution" codeSystemVersion="913-20091020" displayName="Generisk" xsi:type="CE"> <translation displayName="Generic"/> </value> </observation> </entryRelationship> <entryRelationship inversionInd="true" typeCode="SUBJ"> <act classCode="ACT" moodCode="INT"> <templateId root="2.16.840.1.113883.10.20.1.43"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.3.1"/> <code code="FINSTRUCT" codeSystem="1.3.6.1.4.1.19376.1.5.3.2" codeSystemName="IHEActCode"/> <text> <reference value="#FINSTRUCT"/> </text> <statusCode code="completed"/> </act> </entryRelationship> <entryRelationship inversionInd="true" typeCode="SUBJ"> <act classCode="ACT" moodCode="INT"> <templateId root="2.16.840.1.113883.10.20.1.49"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.3"/> <code code="PINSTRUCT" codeSystem="1.3.6.1.4.1.19376.1.5.3.2" codeSystemName="IHEActCode"/> <text> <reference value="#PINSTRUCT"/> </text> <statusCode code="completed"/> </act> </entryRelationship> </substanceAdministration> </entry> </section> </component> </structuredBody> </component> </ClinicalDocument> 2013-03-19 15:52:06.888 DEBUG QueryDocumentsPage ****FD:se.sb.epsos.web.model.Prescription@34030d6d 2013-03-19 15:52:06.888 DEBUG LoadableDocumentModel Creating LoadableDocumentModel for Prescription with key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} 2013-03-19 15:52:06.889 ERROR DispensePrescriptionPage PARAMETERS: docType = "[EP]" personId = "[041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO]" prescription = "se.sb.epsos.web.model.LoadableDocumentModel@346689c8:attached=true:tempModelObject=[se.sb.epsos.web.model.Prescription@34030d6d]" 2013-03-19 15:52:06.889 DEBUG DispensePrescriptionPage Creating new instance of: DispensePrescriptionPage 2013-03-19 15:52:06.889 DEBUG PersonCache **** DocummentCache current status: 1 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO} 2 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO} 3 : {null, } **** total size: 3 2013-03-19 15:52:06.889 DEBUG PersonCache Retrieveing person with key : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO} , person was found in cache 2013-03-19 15:52:06.889 WARN Localizer Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = personinfo]] 2013-03-19 15:52:06.890 WARN Localizer Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = personinfo]] 2013-03-19 15:52:06.890 DEBUG DocumentCache Checking cached document by key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e1e6a367-9311-4379-9e2f-2374cd0f728c} , document is not cached 2013-03-19 15:52:06.890 DEBUG DocumentCache Caching Dispensation document with key: {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e1e6a367-9311-4379-9e2f-2374cd0f728c} 2013-03-19 15:52:06.891 DEBUG DocumentCache **** DocummentCache current status: 1 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10012} 2 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10012} 3 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10013} 4 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10014} 5 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10015} 6 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10016} 7 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10013} 8 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10007} 9 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10008} 10 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10016} 11 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10015} 12 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.10014} 13 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.6} 14 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.1.6} 15 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:aadb8c8c-2849-44cb-b08b-ad0004081870} 16 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e59fb3ff-dd7b-4d5a-882c-0f6e50d63fab} 17 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10007} 18 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:05e5ed51-8ed1-4657-9f2c-e5801aa8b6d5} 19 : {EE237F8E32089147181D84299F166ED4, 061082-9956^^^&1.2.246.556.12001.4.1000.990.1&ISO, 1.2.246.556.12001.4.93.1.2.10008} 20 : {EE237F8E32089147181D84299F166ED4, 041082-995W^^^&1.2.246.556.12001.4.1000.990.1&ISO, urn:uuid:e1e6a367-9311-4379-9e2f-2374cd0f728c} **** total size: 20 2013-03-19 15:52:06.891 ERROR RequestCycle java.lang.NullPointerException at se.sb.epsos.web.model.Dispensation.<init>(Dispensation.java:31) at se.sb.epsos.web.pages.DispensePrescriptionPage.<init>(DispensePrescriptionPage.java:95) at se.sb.epsos.web.pages.QueryDocumentsPage$1$3.onClick(QueryDocumentsPage.java:157) at se.sb.epsos.web.util.ActionLinkPanel$1.onClick(ActionLinkPanel.java:34) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:722) 2013-03-19 15:52:06.894 DEBUG ExceptionTranslationFilter Chain processed normally 2013-03-19 15:52:06.894 DEBUG SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed 2013-03-19 15:52:06.916 DEBUG HttpSessionSecurityContextRepository Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@e6177874: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.917 DEBUG AnonymousAuthenticationFilter SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.917 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Converted URL to lowercase, from: '/errorpage'; to: '/errorpage' 2013-03-19 15:52:06.917 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Candidate is: '/errorpage'; pattern is /**; matched=true 2013-03-19 15:52:06.917 DEBUG FilterSecurityInterceptor Secure object: FilterInvocation: URL: /ErrorPage; Attributes: [permitAll] 2013-03-19 15:52:06.917 DEBUG FilterSecurityInterceptor Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE 2013-03-19 15:52:06.918 DEBUG AffirmativeBased Voter: org.springframework.security.web.access.expression.WebExpressionVoter@487552ca, returned: 1 2013-03-19 15:52:06.918 DEBUG FilterSecurityInterceptor Authorization successful 2013-03-19 15:52:06.918 DEBUG FilterSecurityInterceptor RunAsManager did not change Authentication object 2013-03-19 15:52:06.919 INFO LinkedPanel Model: Farmaceut 2013-03-19 15:52:06.919 INFO LinkedPanel Model: Läkare 2013-03-19 15:52:06.919 INFO LinkedPanel Model: Sjuksköterska 2013-03-19 15:52:06.925 DEBUG ExceptionTranslationFilter Chain processed normally 2013-03-19 15:52:06.925 DEBUG SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed 2013-03-19 15:52:06.985 DEBUG HttpSessionSecurityContextRepository Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@e6177874: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.985 DEBUG AnonymousAuthenticationFilter SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.985 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Converted URL to lowercase, from: '/errorpage'; to: '/errorpage' 2013-03-19 15:52:06.985 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Candidate is: '/errorpage'; pattern is /**; matched=true 2013-03-19 15:52:06.985 DEBUG FilterSecurityInterceptor Secure object: FilterInvocation: URL: /ErrorPage?wicket:interface=:24:breadcrumb:history:0:marker::IResourceListener::; Attributes: [permitAll] 2013-03-19 15:52:06.986 DEBUG FilterSecurityInterceptor Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE 2013-03-19 15:52:06.986 DEBUG AffirmativeBased Voter: org.springframework.security.web.access.expression.WebExpressionVoter@487552ca, returned: 1 2013-03-19 15:52:06.986 DEBUG FilterSecurityInterceptor Authorization successful 2013-03-19 15:52:06.986 DEBUG FilterSecurityInterceptor RunAsManager did not change Authentication object 2013-03-19 15:52:06.989 DEBUG ExceptionTranslationFilter Chain processed normally 2013-03-19 15:52:06.990 DEBUG SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed 2013-03-19 15:52:06.990 DEBUG HttpSessionSecurityContextRepository Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@e6177874: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.990 DEBUG AnonymousAuthenticationFilter SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.990 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Converted URL to lowercase, from: '/errorpage'; to: '/errorpage' 2013-03-19 15:52:06.991 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Candidate is: '/errorpage'; pattern is /**; matched=true 2013-03-19 15:52:06.991 DEBUG FilterSecurityInterceptor Secure object: FilterInvocation: URL: /ErrorPage?wicket:interface=:24:breadcrumb:history:1:marker::IResourceListener::; Attributes: [permitAll] 2013-03-19 15:52:06.991 DEBUG FilterSecurityInterceptor Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE 2013-03-19 15:52:06.991 DEBUG AffirmativeBased Voter: org.springframework.security.web.access.expression.WebExpressionVoter@487552ca, returned: 1 2013-03-19 15:52:06.991 DEBUG FilterSecurityInterceptor Authorization successful 2013-03-19 15:52:06.991 DEBUG FilterSecurityInterceptor RunAsManager did not change Authentication object 2013-03-19 15:52:06.994 DEBUG ExceptionTranslationFilter Chain processed normally 2013-03-19 15:52:06.995 DEBUG SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed 2013-03-19 15:52:06.997 DEBUG HttpSessionSecurityContextRepository Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@e6177874: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.997 DEBUG AnonymousAuthenticationFilter SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE' 2013-03-19 15:52:06.997 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Converted URL to lowercase, from: '/errorpage'; to: '/errorpage' 2013-03-19 15:52:06.997 DEBUG ExpressionBasedFilterInvocationSecurityMetadataSource Candidate is: '/errorpage'; pattern is /**; matched=true 2013-03-19 15:52:06.997 DEBUG FilterSecurityInterceptor Secure object: FilterInvocation: URL: /ErrorPage?wicket:interface=:24:breadcrumb:history:2:marker::IResourceListener::; Attributes: [permitAll] 2013-03-19 15:52:06.998 DEBUG FilterSecurityInterceptor Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e6177874: Principal: annika[name=Annika Ohlson, organization=epSOS Test:3333-222, roles=[ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE]]; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_PHARMACIST, ROLE_DOCTOR, ROLE_NURSE 2013-03-19 15:52:06.998 DEBUG AffirmativeBased Voter: org.springframework.security.web.access.expression.WebExpressionVoter@487552ca, returned: 1 2013-03-19 15:52:06.998 DEBUG FilterSecurityInterceptor Authorization successful 2013-03-19 15:52:06.998 DEBUG FilterSecurityInterceptor RunAsManager did not change Authentication object 2013-03-19 15:52:07.001 DEBUG ExceptionTranslationFilter Chain processed normally 2013-03-19 15:52:07.001 DEBUG SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed {code}

    JIRA | 4 years ago | Gareth Woodham
    java.lang.NullPointerException
  2. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at se.sb.epsos.web.model.Dispensation.<init>()
    2. se.sb.epsos
      ActionLinkPanel$1.onClick
      1. se.sb.epsos.web.model.Dispensation.<init>(Dispensation.java:31)
      2. se.sb.epsos.web.pages.DispensePrescriptionPage.<init>(DispensePrescriptionPage.java:95)
      3. se.sb.epsos.web.pages.QueryDocumentsPage$1$3.onClick(QueryDocumentsPage.java:157)
      4. se.sb.epsos.web.util.ActionLinkPanel$1.onClick(ActionLinkPanel.java:34)
      4 frames
    3. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68)
      2. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      3. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
      3 frames
    4. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      1 frame
    5. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      1 frame
    6. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      6 frames
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    8. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
      14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      15. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      17. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      19. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      20. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      21. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
      21 frames
    9. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      2 frames
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    11. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame