Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Bug adding project/mission comment (500) #42

Open
nfreear opened this issue Apr 15, 2016 · 0 comments
Open

Bug adding project/mission comment (500) #42

nfreear opened this issue Apr 15, 2016 · 0 comments
Labels

Comments

@nfreear
Copy link
Contributor

nfreear commented Apr 15, 2016

Reported by Mike S.

Exception:

HTTP Status 500 - Handler processing failed;
    nested exception is java.lang.NoSuchMethodError:
        org.greengin.nquireit.dao.UserProfileDao.commentNotifications
            (Ljava/lang/Long;Ljava/lang/Long;)Ljava/util/List;

Code:

public List<Comment> commentsPost(@PathVariable("projectId") Long projectId, @RequestBody CommentRequest data, HttpServletRequest request) {
        return createProjectManager(projectId, request).comment(data);
    }
context.getUserProfileDao().commentNotifications(project.getId(), user.getId()),

Stack trace:

...
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
root cause

java.lang.NoSuchMethodError: org.greengin.nquireit.dao.UserProfileDao.commentNotifications(Ljava/lang/Long;Ljava/lang/Long;)Ljava/util/List;
    org.greengin.nquireit.logic.project.ProjectActions.comment(ProjectActions.java:329)
    org.greengin.nquireit.controllers.projects.ProjectController.commentsPost(ProjectController.java:127)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...

[iet:5592723]

@nfreear nfreear added the bug label Apr 15, 2016
nfreear added a commit to IET-OU/nquire-web-compiled that referenced this issue Apr 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant