#method not calling

1 messages · Page 1 of 1 (latest)

deep light
#

So I have made different method but when calling them in in main the method runs but methods after that dont run. can anyone help me. ExcelToJson(excelFilePath,jsonFilePath).

vast mauveBOT
#

<@&987246399047479336> please have a look, thanks.

lilac crater
deep light
#

I mean the main is calling thr methods. Because it shows nothing in cli just show the output of ExceltoJson method only

deep light
#

I can send you the whole code

deep light
#

sorry my laptop was shut down due to low battery i am sending you. sorry for making you wait

#

this is the output

#

I can send you the complete code

lilac crater
deep light
#

thats an exception the program was running fine when i called the last two methods inside the exceltojson method

#

but i wanna call them seperate because i wanna pass agruments in main class

#

please look at the code maybe i am calling the methods wrong actually this the first time i am working in errors

lilac crater
# deep light

It can clearly see in the console that it is calling it

#

so what are you talking about ?

deep light
#

the red lines methods are not running

#

can you please look at the respective methods to see may there is some error in those methods

lilac crater
# deep light

"Creating Json file..."
This is from processJsonBatches

#

so they are running

deep light
#

creating json file is part of exceltojson method

lilac crater
#

wait

#

ah yes

deep light
#

thats what i am saying that only exceltojson is working only

lilac crater
deep light
#

json file that is created from excel in first methods contain 415 objects

lilac crater
deep light
#

wait let me send you something

#

its not even printing it

lilac crater
#

ah

#

well yes

#

you have to fix this error

#

this error happens in ExcelToJson

deep light
#

can you please tell me whats an error in ExceltoJson file?

lilac crater
#

please read it

deep light
#

Thanks @lilac crater So there was dependencies version error. solved it. thank you so much.