Problemas com Período e Ano Civil


#1

Olá Senhores,

estou com dificuldades para criar períodos para o Ano de 2009,
quando clico no botão para criar 12 períodos de calendário padrão,
a janela seguinte aparece “em branco”, sem nenhuma opção para
prosseguir com a criação dos períodos! alguêm tem alguma sugestão sobre esse problema?

Obrigado
Um Abraço
André Ricardo


#2

Andre,

O sistema gerou alguma mensagem de erro?

Um abraço,
Eduardo.


#3

Olá Eduardo,

esse problema que relatei gera o seguinte erro:

11:39:09.576 APanel.actionPerformed: Processing - 16 [11]
11:39:09.576 AWindow.setBusy: AWindow_117 - true [11]
11:39:09.577 APanel.setStatusLine: [11]
11:39:09.578 APanel.actionButton: VButton[Processing=N] [11]
Exception in thread “AWT-EventQueue-0” java.lang.NoSuchMethodError: org.compiere.model.GridTable.hasChanged(I)Z
at org.compiere.model.GridTab.hasChangedCurrentTabAndParents(GridTab.java:881)
at org.compiere.apps.APanel.actionButton(APanel.java:2128)
at org.compiere.apps.APanel.actionPerformed(APanel.java:1398)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

detalhes esse problema só ocorre quando estou utilizando o Adempiere com o projeto LBR,
fiz o mesmo procedimento somente com o Adempiere 3.4.3 sem problemas!

Obrigado

Um Abraço
André Ricardo


#4

Ola Andre,

Veja qual é a versão do Java que você está usando. Se usa o Java 6 deve colocar o update 11, no java 5 qualquer update funciona.

Um abraço,
Ricardo


#5

Olá Ricardo,

segui sua sugestão a passei a utilizar o Java 6 update 11, mas mesmo
assim o mesmo problema persiste.

Exception in thread “AWT-EventQueue-0” java.lang.NoSuchMethodError: org.compiere.model.GridTable.hasChanged(I)Z
at org.compiere.model.GridTab.hasChangedCurrentTabAndParents(GridTab.java:881)
at org.compiere.apps.APanel.actionButton(APanel.java:2128)
at org.compiere.apps.APanel.actionPerformed(APanel.java:1398)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6134)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5899)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


#6

Olá Andre,

O AdempiereLBR deve funcionar com o Adempiere 3.4.2s. Você deve estar usando outra versão de Adempiere, pelo que vi este método hasChanged existe no Trunk, mas não na 3.4.2.

Um Abraço,
Ricardo