You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/03/07 14:24:10 UTC

[Bug 60828] New: After update - injected objects are not being initialized

https://bz.apache.org/bugzilla/show_bug.cgi?id=60828

            Bug ID: 60828
           Summary: After update - injected objects are not being
                    initialized
           Product: Tomcat 7
           Version: 7.0.75
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: andra.roman@ymail.com
  Target Milestone: ---

0
down vote
favorite


I updated form Tomcat 7.0.40 to Tomcat 7.0.75 and my application crashes with
null pointer exception because the injected objects are not being initialized.
The objects are declared as @Named and @ApplicationScoped. They also contains a
@PostConstruct init() method - not called either.

This behavior only occurs with the new Tomcat.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60828] After update - injected objects are not being initialized

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60828

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Neither @Named nor @ApplicationScoped are annotations that Tomcat recognises.
You'll need to contact the support channel for whatever component provides
them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org