|
|
|
|
|
|
Re: Adding tables programmatically [message #1611781 is a reply to message #1165610] |
Wed, 11 February 2015 16:07 |
|
Are tablefields that are subclassed in a TabBox unaccessable by FormData?? I have a beanTableField inside a TabBox and I keep getting nullPointerException error saying that one of the column properties is not found in the TableRowDataMapper but the field is there. Does it matter if the field is hidden? Not sure what is going on here.
Errors log posted below.
!ENTRY org.eclipse.scout.rt.client 2 0 2015-02-11 11:00:00.682
!MESSAGE org.eclipse.scout.rt.client.ui.basic.table.TableRowDataMapper.<init>(TableRowDataMapper.java:61) No column found for property [fabricator.shared.core.ui.forms.ItemFormData$PriceList$PriceListRowData#priceNr]
!ENTRY org.eclipse.scout.rt.client 4 0 2015-02-11 11:00:00.692
!MESSAGE org.eclipse.scout.rt.client.services.common.exceptionhandler.internal.InternalClientExceptionHandlerService.differentiatedLog(InternalClientExceptionHandlerService.java:116) ProcessingException: ProcessingStatus[ERROR code=0 ItemForm / Unexpected java.lang.NullPointerException]
Unexpected
!STACK 0
ProcessingException[ProcessingStatus[ERROR code=0 ItemForm / Unexpected java.lang.NullPointerException]]
at org.eclipse.scout.rt.client.ui.form.AbstractFormHandler.onLoad(AbstractFormHandler.java:184)
at org.eclipse.scout.rt.client.ui.form.AbstractForm.loadStateInternal(AbstractForm.java:1293)
at org.eclipse.scout.rt.client.ui.form.AbstractForm.startInternal(AbstractForm.java:756)
at fabricator.client.core.ui.forms.ItemForm.startModify(ItemForm.java:92)
at fabricator.client.core.ui.desktop.outlines.pages.FinishedGoodsTablePage$Table$EditItemMenu.execAction(FinishedGoodsTablePage.java:293)
at org.eclipse.scout.rt.client.ui.action.AbstractAction.doActionInternal(AbstractAction.java:271)
at org.eclipse.scout.rt.client.ui.action.AbstractAction.doAction(AbstractAction.java:253)
at org.eclipse.scout.rt.client.ui.action.AbstractAction$P_UIFacade.fireActionFromUI(AbstractAction.java:604)
at org.eclipse.scout.rt.ui.swing.action.SwingScoutAction$1.run(SwingScoutAction.java:148)
at org.eclipse.scout.rt.ui.swing.concurrency.SwingScoutSynchronizer$1.runVoid(SwingScoutSynchronizer.java:71)
at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at fabricator.client.core.ui.forms.ItemForm$ModifyHandler.execLoad(ItemForm.java:717)
at org.eclipse.scout.rt.client.ui.form.AbstractFormHandler.onLoad(AbstractFormHandler.java:178)
... 13 more
|
|
|
|
Re: Adding tables programmatically [message #1611926 is a reply to message #1611832] |
Wed, 11 February 2015 18:03 |
|
Nevermind, I figured that one out too. Sorry for being so hasty in my post. The problem was in the plugin.xml. I had moved a service into another package and forgot to update the location in the xml so the registry found no service. I updated that and everything works fine.
|
|
|
Powered by
FUDForum. Page generated in 0.03226 seconds