If you think that something doesn't work in Aware IM post your message here
#52012 by joben
Wed Nov 06, 2019 10:36 pm
We experienced a java.lang.NullPointerException error message when opening the edit form of a certain BO after upgrading from 8.3 Build 2623 to 8.4 Build 2705.

It turns out that the culprit was a plain text attribute using the Checkbox widget. The settings of the attribute was mostly standard. It had 13 choices in total. The only thing we had to do to fix the error was removing the attribute from the form and re-adding it again. We figured this out through the process of elimination. We have a more detailed log message from the server that we could share if it might be helpful to anyone.
#52020 by joben
Thu Nov 07, 2019 7:45 am
Code: Select allINFO   | jvm 1    | 2019/11/06 19:04:18 | Got XML request <root><query_layout_action query_name='Mina offerter - ej lämnade' >
INFO   | jvm 1    | 2019/11/06 19:04:18 | </query_layout_action>
INFO   | jvm 1    | 2019/11/06 19:04:18 | </root>
INFO   | jvm 1    | 2019/11/06 19:04:18 | WebServlet URL got request with params:
INFO   | jvm 1    | 2019/11/06 19:04:24 | Got XML request <root><get_form_data_action object_name='Offert' form_context='edit' object_id='28' screen_width="1920" screen_height="969" screen_orientation="landscape" ></get_form_data_action></root>
INFO   | jvm 1    | 2019/11/06 19:04:24 | Exception thrown java.lang.NullPointerException null
INFO   | jvm 1    | 2019/11/06 19:04:24 | java.lang.NullPointerException
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeChoices(FormSectionEncoder.java:1216)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.A.L.A(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.A.L.encodeAttributeChoices(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeStandardAttribute(FormSectionEncoder.java:695)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeAttribute(FormSectionEncoder.java:572)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeAttributes(FormSectionEncoder.java:478)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeLayoutCellData(FormSectionEncoder.java:416)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeRow(FormSectionEncoder.java:322)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encodeSectionLayout(FormSectionEncoder.java:300)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.FormSectionEncoder.encode(FormSectionEncoder.java:192)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.shared.xml.EntityFormEncoder.encode(EntityFormEncoder.java:133)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.A.H.encode(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.handlers.C.N.A(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.handlers.XMLRequestHandler.A(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.handlers.XMLRequestHandler.handleRequest(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at com.bas.webapp.thin.servlets.WebInterfaceServlet.doPost(Unknown Source)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
INFO   | jvm 1    | 2019/11/06 19:04:24 |    at java.lang.Thread.run(Thread.java:745)

Who is online

Users browsing this forum: No registered users and 4 guests