Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9636 closed defect (fixed)

CCE in geochat plugin due to JSON migration

Reported by: Don-vip Owned by: Zverikk
Priority: major Milestone:
Component: Plugin geochat Version:
Keywords: Cc:

Description

The mistake is mine when I switched JSON library:

java.lang.ClassCastException: org.glassfish.json.JsonStringImpl cannot be cast to javax.json.JsonNumber
	at org.glassfish.json.JsonObjectBuilderImpl$JsonObjectImpl.getJsonNumber(JsonObjectBuilderImpl.java:189)
	at geochat.ChatServerConnection$LogRequest.parseUsers(ChatServerConnection.java:430)
	at geochat.ChatServerConnection$LogRequest.process(ChatServerConnection.java:374)
	at geochat.ChatServerConnection$LogRequest.run(ChatServerConnection.java:318)
	at java.lang.Thread.run(Thread.java:744)

I admit I did it blindly. I'll try to look into it tomorrow.

Attachments (0)

Change History (2)

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in [o30262]. Sorry for delay.

comment:2 by Zverikk, 11 years ago

It works, thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Zverikk.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.