samslunch / openmeetings

Automatically exported from code.google.com/p/openmeetings
0 stars 0 forks source link

Exception at deleting of Organisations on MySQL #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
deleting an Organisation on MySQL leads to an exception:

[ERROR] 2007-11-23 14:52:46,238 pool-3-thread-12:(
org.xmlcrm.app.data.user.Organisationmanagement.selectMaxUsersByOrganisationId
) [getUsersByOrganisationId] 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(ArrayList.java:546)
    at java.util.ArrayList.get(ArrayList.java:321)
    at
org.xmlcrm.app.data.user.Organisationmanagement.selectMaxUsersByOrganisationId(O
rganisationmanagement.java:530)
    at
org.xmlcrm.app.data.user.Organisationmanagement.getUsersByOrganisationId(Organis
ationmanagement.java:503)
    at
org.xmlcrm.app.remote.OrganisationService.getUsersByOrganisation(OrganisationSer
vice.java:102)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:217)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:123)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:163)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:435)
    at
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:14
3)
    at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:120)
    at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFilterChain.java:570)
    at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilterChain.java:299)
    at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte
rChain.java:53)
    at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
(AbstractIoFilterChain.java:648)
    at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
220)
    at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo
rFilter.java:264)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
50)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:613)

Original issue reported on code.google.com by seba.wag...@gmail.com on 23 Nov 2007 at 1:54

GoogleCodeExporter commented 9 years ago
infact it has been a wrong reference in the client

fixed in

r616 + r617

Original comment by seba.wag...@gmail.com on 23 Nov 2007 at 2:05

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 29 Aug 2011 at 8:02