hoangduit / openmeetings

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

Creating a User fails always #400

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I get this problem whenever I try creating a user from the Admin interface. It 
won't save the user 
either. I tried filling out all the fields to no avail.

On another note, the country always changes back to Afghanistan for the first 
user whatever I 
type and there is no drop-down listing to pick from.

Which version of OpenMeetings are you running?
0.5 (latest official)

What's your operating system on client and server side?
Mac OS X w/ Safari and Firefox client/Ubuntu Server 7.10 Server with Red5 0.6.3

Is it a problem related to the client/usability or server-side?
Server

Did you have any trace/debug output?
ERROR 04-11 10:08:01.662  ? 949502 ? org.xmlcrm.app.remote.UserService 
[pool-3-thread-11] 
- [saveOrUpdateUser]: 
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Long.parseLong(Long.java:424)
    at java.lang.Long.valueOf(Long.java:518)
    at org.xmlcrm.app.remote.UserService.saveOrUpdateUser(Unknown Source)
    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:597)
    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:143)
    at 
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:120)
    at 
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFil
terChain.java:570)
    at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilte
rChain.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
(AbstractI
oFilterChain.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:26
4)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by guru...@gmail.com on 11 Apr 2008 at 3:13

GoogleCodeExporter commented 9 years ago
It seems to do with the country problem. There currently shows 1 valid country 
at a time (first it was 
Afghanistan, now it is Aland Islands, that appears only when you click the "New 
Record" button. Once the 
Country is chosen, it stops crashing.

Original comment by guru...@gmail.com on 11 Apr 2008 at 7:47

GoogleCodeExporter commented 9 years ago
Apparently it's some type of caching issue. After updating the new user I 
created with a value out of the 
database, the field starts working correctly

Original comment by guru...@gmail.com on 11 Apr 2008 at 7:50

GoogleCodeExporter commented 9 years ago
You have to input all necessary fields, to see the countries you just need to 
type
the first character in the input-field.

Original comment by seba.wag...@gmail.com on 12 Apr 2008 at 8:31

GoogleCodeExporter commented 9 years ago
You can close this issue. It was a problem on my side, the issue didn't 
reappear later on. 

Original comment by guru...@gmail.com on 17 Apr 2008 at 11:37

GoogleCodeExporter commented 9 years ago
ok

Original comment by seba.wag...@gmail.com on 18 Apr 2008 at 6:27

GoogleCodeExporter commented 9 years ago

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