Skip to content

Possible bug in Fiji plugin - JsonPrimitive #269

Description

@saramcardle

I'm new to Ultrack, so this might be my fault, but when I tried to use the Fiji plugin, I got an error and it wouldn't run. I using 'auto detect foreground and edges from image' mode, guessed at some settings, selected the image, and then hit Run. I got this error:


Requesting images: 
image_channel_or_path
{"experiment":{"name":"Unnamed Experiment","config":{"data":null,"segmentation":{"min_area":100,"min_area_factor":4,"max_area":1000000,"n_workers":1,"min_frontier":0,"threshold":0.5,"max_noise":0,"random_seed":"frame","ws_hierarchy":"area","anisotropy_penalization":0},"linking":{"max_distance":15,"n_workers":1,"max_neighbors":5,"distance_weight":0,"z_score_threshold":5},"tracking":{"solver_name":"","appear_weight":-0.001,"disappear_weight":-0.001,"division_weight":-0.001,"image_border_size":null,"n_threads":-1,"window_size":null,"overlap_size":1,"solution_gap":0.001,"time_limit":36000,"method":0,"link_function":"power","power":4,"bias":0,"dismiss_weight_guess":null,"include_weight_guess":null}},"image_channel_or_path":"D:\\Chen Sun\\E29\\E29_P1_Carvykti.czi"},"detect_foreground_kwargs":{"sigma":15,"remove_hist_mode":false,"min_foreground":0},"robust_invert_kwargs":{"sigma":1}}
[ERROR] Runtime exception during onWebsocketMessage
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $
	at com.google.gson.internal.bind.TypeAdapters$34$1.read(TypeAdapters.java:1010)
	at com.google.gson.Gson.fromJson(Gson.java:1227)
	at com.google.gson.Gson.fromJson(Gson.java:1137)
	at com.google.gson.Gson.fromJson(Gson.java:1047)
	at com.google.gson.Gson.fromJson(Gson.java:982)
	at org.czbiohub.royerlab.JavaConnector.onMessageConsumer(JavaConnector.java:169)
	at org.czbiohub.royerlab.UltrackWebsocketClient.onMessage(UltrackWebsocketClient.java:99)
	at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:644)
	at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
	at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
	at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:402)
	at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:234)
	at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:527)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Then it said:Closed with exit code 1006. additional info: There is no additional info.
I can't find the version, but I installed it via the update site today (April 20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions