Path: csiph.com!aioe.org!.POSTED!not-for-mail From: "Dr.UgoGagliardelli" Newsgroups: it.comp.java Subject: Re: Prendo fxml col bottone click me Date: Fri, 15 Jan 2016 10:38:10 +0100 Organization: Aioe.org NNTP Server Lines: 20 Message-ID: References: NNTP-Posting-Host: E3QtYtY+9s6VuQ4gw1F2hg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com it.comp.java:8841 Il 15.01.2016 10.21, Delta11 ha scritto: Allora, la gerarchia degli errori e' questa (manca la parte iniziale per cui non so dire da chi dipenda): > Exception in Application start method java.lang.reflect.InvocationTargetException [...] > Caused by: java.lang.RuntimeException: Exception in Application start method [...] > Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: > Class javafx.fxml.FXMLLoader$ValueElement can not access a member of > class javafxapplication4.FXMLDocumentController with modifiers "private" [...] > Caused by: java.lang.IllegalAccessException: Class > javafx.fxml.FXMLLoader$ValueElement can not access a member of class > javafxapplication4.FXMLDocumentController with modifiers "private" La cosa che si capisce inequivocabilmente, e' che ad un certo punto c'e' un tentativo di accedere ad un membro private (un campo o un metodo) della classe javafxapplication4.FXMLDocumentController. E' roba tua? A me non sembra roba del runtime java. L'hai copiato da qualche parte? Forse te ne manca un pezzo. Con tutta la buona volonta' non so dirti altro.