java.lang.InstantiationException: com.example.ejbconstructorinjection.org$jboss$weld$bean-ejbconstructorinjectionbugforum-SessionBean-GreeterEjb_$$_WeldProxy

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via Oracle Community by arendvr.com, 1 year ago
com.example.ejbconstructorinjection.org$jboss$weld$bean-ejbconstructorinjectionbugforum-SessionBean-GreeterEjb_$$_WeldProxy
java.lang.InstantiationException: com.example.ejbconstructorinjection.org$jboss$weld$bean-ejbconstructorinjectionbugforum-SessionBean-GreeterEjb_$$_WeldProxy
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
at org.jboss.weld.bean.SessionBean.create(SessionBean.java:332)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
178 times, 5 months ago
2 times, 6 months ago
8 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.