Is getJavaType() what concerns me. This method may throw exceptions if it can't be parsed correctly. But I guess you are right. 

> Em 13/04/2014, às 10:14, Robert Balent <notifications@github.com> escreveu:
> 
> In javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui/NewFieldWizard.java:
> 
> > @@ -214,9 +221,22 @@ public Boolean call() throws Exception
> >                       && (Date.class.getName().equals(typeValue) || Calendar.class.getName().equals(typeValue));
> >           }
> >        });
> > +
> > +      enumType.setEnabled(new Callable<Boolean>() {
> > +
> > +         @Override
> > +         public Boolean call() throws Exception
> > +         {
> > +            JavaClassSource targetEntityType = targetEntity.getValue().getJavaType();
> targetEntity is marked as required, it should be not possible to have here Runtime exception.
> 
> —
> Reply to this email directly or view it on GitHub.