Search the FirstSpirit Knowledge Base
Hallo,
seit neuerem erhalten wir einen Fehler beim Versuch, in den Project Settings per Tab von Deutsch zu Englisch zu wechseln, siehe Stacktrace unten. Die entsprechende Seitenvorlage wurde seit Monaten nicht verändert. Allerdings haben wir vor einigen Wochen einen Update des FS Server von 318 auf 427 durchgeführt. Das Problem tritt nur bei den Project Settings auf, andere Sprachwechsel-Tabs funktionieren.
Jeder Hinweis ist sehr willkommen.
Gruß
Thomas
tbauer (Thomas Bauer), session: 741911924303022694, project: 136722, ip: 10.244.32.65
(de.espirit.firstspirit.client.AbstractGuiHost): ExceptionHandler.uncaughtException() - java.lang.ArrayIndexOutOfBoundsException: -1
FSVersion=5.0.427.60223#3279;JDK=1.6.0_37 32bit Sun Microsystems Inc.;OS=Windows 7 6.1 x86;Date=22.04.2014 12:22:52
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at de.espirit.firstspirit.common.gui.TabbedPaneFacade.getTab(TabbedPaneFacade.java:142)
at de.espirit.firstspirit.ui.gadgets.swing.group.GroupSwingGadget.adoptSettings(GroupSwingGadget.java:212)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.adoptSettings(AggregatingSwingGadgetMediator.java:317)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.adoptFromLanguage(AggregatingSwingGadgetMediator.java:304)
at de.espirit.firstspirit.ui.gadgets.swing.messaging.SwingGadgetSynchronizeRequest.handle(SwingGadgetSynchronizeRequest.java:43)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.handle(AggregatingSwingGadgetMediator.java:198)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.handle(AggregatingSwingGadgetMediator.java:205)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.handle(AggregatingSwingGadgetMediator.java:205)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.handle(AggregatingSwingGadgetMediator.java:205)
at de.espirit.firstspirit.client.gui.SwingFormView.handle(SwingFormView.java:435)
at de.espirit.firstspirit.client.gui.SwingFormView.adoptFromLanguage(SwingFormView.java:459)
at de.espirit.firstspirit.client.gui.SwingMultiFormView$FormViewFacade.adoptFromLanguage(SwingMultiFormView.java:1163)
at de.espirit.firstspirit.client.gui.SwingMultiFormView.adoptFromLanguage(SwingMultiFormView.java:364)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.GomModuleView.adoptFromVisibleLanguage(GomModuleView.java:360)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.GomModuleView.setVisibleLanguage(GomModuleView.java:231)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.PSPageView.prepareView(PSPageView.java:197)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView.getComponent(AbstractAccessTabbedView.java:204)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView.access$100(AbstractAccessTabbedView.java:54)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$1.tabSelected(AbstractAccessTabbedView.java:161)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$SubTabModel$2.invoke(AbstractAccessTabbedView.java:633)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$SubTabModel$2.invoke(AbstractAccessTabbedView.java:631)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$SubTabModel.notifyListeners(AbstractAccessTabbedView.java:686)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$SubTabModel.notifyTabSelected(AbstractAccessTabbedView.java:631)
at de.espirit.firstspirit.client.gui.tree.store.AbstractAccessTabbedView$SubTabModel.selectTab(AbstractAccessTabbedView.java:621)
at de.espirit.firstspirit.client.gui.tabbing.TabContext.select(TabContext.java:170)
at de.espirit.firstspirit.client.gui.tabbing.TabButton.doSelect(TabButton.java:347)
at de.espirit.firstspirit.client.gui.tabbing.TabButton.onClick(TabButton.java:572)
at de.espirit.firstspirit.client.gui.tabbing.TabButton$3.mouseReleased(TabButton.java:155)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:133)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:117)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:110)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Werden Regeln auf der Projekteinstellungsseite verwendet?
Ja, es gibt eine Überprüfung auf E-Mail-Format für ein Feld:
<RULES>
<ON_SAVE>
<WITH>
<MATCHES regex="^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)*(\.[a-zA-Z]{2,6})$">
<PROPERTY source="pt_mailto" name="VALUE"/>
</MATCHES>
</WITH>
<DO>
<VALIDATION>
<PROPERTY source="pt_mailto" name="VALID"/>
<MESSAGE lang="*" text="Invalid e-mail address"/>
</VALIDATION>
</DO>
</ON_SAVE>
</RULES>
Kannst du die Regel temporär entfernen und dann noch mal testen?
Ich glaube aber das Beste wird sein, wenn du das an den Helpdesk meldest.