Weird i change ocurrencia from private to public and then i used fin.ocurrencia=item.ocurrencia; and the error disapeared... i just don't like to use the object properties directly, and i can't understand why this happened... i know that this is now off-topic, but someone has a clue of what happened there? Greetings
>________________________________ >De: Carlos de Luna Saenz <cdelunasa...@yahoo.com.mx> >Para: "java-user@lucene.apache.org" <java-user@lucene.apache.org> >Enviado: Jueves, julio 28, 2011 1:43 P.M. >Asunto: akward exception > >I am using netBeans 7 and my project s targetd to java 6. >i am having the following exception: >java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: >(Occur)void > at >Apendice2010.utils.FuncionesGenerales.GeneralizaBusqueda(FuncionesGenerales.java:300) > at >Apendice2010.DAO.Impl.TesisPalabraDAOImpl.getIusPorPalabra(TesisPalabraDAOImpl.java:95) > >Te code goes to a setter of the BooleanClause.Occur field... ¿Any ideas? >Teh line of the code: >fin.setOcurrencia(item.getOcurrencia()); > >the setter and the getter on the sentence: >public BooleanClause.Occur getOcurrencia() { > return Ocurrencia; > } > > public void setOcurrencia(BooleanClause.Occur ocurrencia) { > this.Ocurrencia = ocurrencia; > } > >Greetings > > >