Skip to content

Calculator not working #429

Description

@Winterspell8

I ask it to add or times any numbers, even repeated the example calculator phrase verbatim and it doesn't understand or it tries to search for a song.

Exception

  • User action: Skill evaluation
  • App locale: en_AU
  • Version: 4.1
  • OS: Linux Android 15 - 35
Crash log

java.lang.NullPointerException
	at org.dicio.skill.standard.StandardRecognizerData.score(StandardRecognizerData.kt:14)
	at org.stypox.dicio.skills.calculator.CalculatorSkill.getOperation(CalculatorSkill.kt:23)
	at org.stypox.dicio.skills.calculator.CalculatorSkill.generateOutput(CalculatorSkill.kt:56)
	at org.stypox.dicio.skills.calculator.CalculatorSkill.generateOutput(CalculatorSkill.kt:15)
	at org.stypox.dicio.eval.SkillWithResult.generateOutput(SkillWithResult.kt:14)
	at org.stypox.dicio.eval.SkillEvaluatorImpl.evaluateMatchingSkill(SkillEvaluator.kt:138)
	at org.stypox.dicio.eval.SkillEvaluatorImpl.suspendProcessInputEvent(SkillEvaluator.kt:78)
	at org.stypox.dicio.eval.SkillEvaluatorImpl.access$suspendProcessInputEvent(SkillEvaluator.kt:37)
	at org.stypox.dicio.eval.SkillEvaluatorImpl$processInputEvent$1.invokeSuspend(SkillEvaluator.kt:61)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

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