Skip to content

Calculating 1 plus 1 results in a NullPointerException #420

@cyon-e

Description

@cyon-e

The usual Java pain:

Exception

  • User action: Skill evaluation
  • App locale: en_US
  • Version: 4.1
  • OS: Linux Android 16 - 36
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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions