bessemHmidi / AngularBeans

http://bessemhmidi.github.io/AngularBeans
GNU Lesser General Public License v3.0
250 stars 90 forks source link

IllegalArgumentException during script generation. #44

Open anaili opened 8 years ago

anaili commented 8 years ago

ModuleGenerator throws an IllegalArgumentException due to changes made on ModuleGenerator.obtainFieldNameByAccessor at 34c9015.

Stacktrace: 17:05:35,068 ERROR [io.undertow.request](default task-4) UT005023: Exception handling request to /HelloWorld-1.0.0-RELEASE/angular-beans.js: java.lang.IllegalArgumentException: Unable to obtain field name from method 'setCounter'. at angularBeans.util.CommonUtils.obtainFieldNameFromAccessor(CommonUtils.java:170) at angularBeans.boot.ModuleGenerator.generateStaticPart(ModuleGenerator.java:364) at angularBeans.boot.ModuleGenerator.generateBean(ModuleGenerator.java:276) at angularBeans.boot.ModuleGenerator.generateScript(ModuleGenerator.java:133) at angularBeans.boot.ModuleGenerator$Proxy$_$$_WeldClientProxy.generateScript(Unknown Source) at angularBeans.boot.BootServlet.doGet(BootServlet.java:69) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)