0% found this document useful (0 votes)
84 views5 pages

System & App Errors With Solutions-References

The document describes an error encountered while running a command of a Linux live kit tool. The error was due to insufficient disk space. The solution is to free up disk space and rerun the command.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views5 pages

System & App Errors With Solutions-References

The document describes an error encountered while running a command of a Linux live kit tool. The error was due to insufficient disk space. The solution is to free up disk space and rerun the command.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Ref

Company: ACISM
Project: Playlott
Eclipse Project: Lott-algo

Issue:
Error while running FindWinners_test.java in Eclipse.

Error:
org.jongo.marshall.MarshallingException: Unable to unmarshall result to class Playlott.CustServiceRepo.types.Order
from content { "_id" : { "$oid" : "617986afda568669f4d4fd9a"} , "user_id" : "user5" , "status" : "active" , "claim_amount" :
36000 , "player_mobile" : 2.348735344E9 , "draw_time" : { "$date" : "2021-10-15T04:30:00.000Z"} , "barcode" :
347346556 , "game" : "2D" , "confirmation_time" : null , "response_time" : 0.435 , "lott_date" : { "$date" : "2021-10-
15T00:00:00.000Z"} , "amount" : 15000}

Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type


`java.util.ArrayList<java.lang.Object>` from Embedded Object (token `JsonToken.VALUE_E

Solution:
Source: https://stackoverflow.com/questions/58539657/com-fasterxml-jackson-databind-exc-
mismatchedinputexception-cannot-deserialize

You need to enable ACCEPT_SINGLE_VALUE_AS_ARRAY feature. Probably in POJO you have a List but when there is
only one element in a List JSON payload is generated without array brackets.

You need to enable ACCEPT_SINGLE_VALUE_AS_ARRAY feature. Probably in POJO you have a List but when there is
only one element in a List JSON payload is generated without array brackets.
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;

import java.io.File;
import java.util.List;

public class JsonApp {

public static void main(String[] args) throws Exception {


File jsonFile = new File("./src/main/resources/test.json");

ObjectMapper mapper = new ObjectMapper();


mapper.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY);

Orgnization root = mapper.readValue(jsonFile, Orgnization.class);


System.out.println(root);
}
}

##################

Date: 2021-11-03
Issue: Notepadqq crash.
Solution:

Need to analyze & find the solution.

#################################

Tool: Linux Live Kit


Command: ./build
Use: The tool is used to make a live iso copy of the existing os state.
Date: 27-02-2022

Issue: Error while running the ./build command of Linux Live Kit tool.

av@Hamsathwani:/tmp/linuxlivekit/linux-live-2.4$ sudo su root


root@Hamsathwani:/tmp/linuxlivekit/linux-live-2.4# ./build
Changing current directory to /tmp/linuxlivekit/linux-live-2.4
Building intramfs image...
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /tmp/linux-data-12373/linux/01-core.sb, block size 1048576.
[=========================\
] 125453/825739 15%
Write failed because No space left on device

FATAL ERROR:Failed to write to output filesystem


[=========================|

Solution: Free up space & re-run the ./build command.

###########################

You might also like