Skip to content

Mockator throws exception "java.lang.reflect.invocationTargetException" #1

@JoergMoeller

Description

@JoergMoeller

Expected Behavior

Converting a C function into a Mock function liked described here https://www.cute-test.com/guides/mocking-with-cute/#mockfunctions

Actual Behavior

Setup:
Software under Test: C++ Static Libraray, C++ 11, name: SUT
Test Code: Cute Project, Cute Project, C++ 11, name: testSUT, linked to SUT project

1.) Problem:
After selecting C function from SUT code ( myfunc ) and selecting "Source / Mock Function", the dialog "New Cute Suite File" pops up. After naming the new test suite "xyz" and selecting "Link to runner" it doesn't provide a runner, though one is present.

2.) Problem:
After hitting the "Finish" button it throws an expecetion "java.lang.reflect.InvocationTargetException". No files are created.

CUTE or CUTE Eclipse Plug-in Version, Operating System and Compiler

I've attached a zip archive of the Workspace, the error log file and screenshots of the error message.

I've also tried with the latest CEvelop version, 1.10.1 Release, with the same behaviour.

Cute_ErrorLog.txt

cute_errordialog

cute_installedsoftware

MockatorBug.zip

If you need more information I'll happily provide it.

Regards
Joerg

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