Похожие чаты

Hi, this might be a stupid question but I've tried

searching and none of the solutions/problems seem applicable to my case. I'm trying to make a JavaFX application and I'm having issues switching to a FXML view. As soon as I click the corresponding button I get the following exception:
Caused by: java.lang.IllegalAccessException: Class sun.reflect.misc.ReflectUtil can not access a member of class implementation.controller.application.ClassicControllerImpl with modifiers ""
which, as far as I can tell, means that either the class or a relevant member of the class is package protected, but also as far as I can tell I set everything to public.
This is the line where the exception happens:
BorderPane root = (BorderPane) FXMLLoader.load(getClass().getResource("/implementation/view/application/ClassicView.fxml"));
This is the relevant class: https://pastebin.com/dEhZen1J
And this is the view I'm trying to switch to: https://pastebin.com/HNDQMjEz

Can anybody help me, point out the obvious in case I'm missing it, and/or direct me to helpful resources?

2 ответов

6 просмотров
Nixola- Автор вопроса

sorry to bother; is it bad to "up" a message after 12+h ?

Nixola- Автор вопроса

found it! it was the fucking constructor. thanks JavaFX for your helpful error message

Похожие вопросы

Обсуждают сегодня

Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
40
А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
Гайз, кто-нибудь пробовал запустить probe-rs под камень, которого нет в probe-rs? Мб есть какой-нибудь пример у кого... Через target-gen попробовал сгенерировать chip-descript...
Максим Смирнов
1
Всем привет. Ребят подскажите пожалуйста. Вопрос по дизасемблировани. Начну с начала. У меня есть скомпилированная программа на ГО (я разработчик) - в ней есть защита лицензии...
Zloy
11
isn't utxo commitements pretty close though if someone wanted to get it over the finish line? my understanding is that most of the ground work was already down by verde
Luke High - Rabbi Of Bcash High Rabbi Of Bcash
23
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
пришел с работы, там тоже гента, ставил одинаково, но дома kernel-dist-bin обновляеться без проблем, на работе ядро при установки не попадает в папку /boot .Приходится вручную...
РDV
10
is the buyback program live and at what prices are the purchases fixed? excuse me for the bland PA question, sophisticated defi people keke
Imnothere
20
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Карта сайта