I am facing a strange problem: When running my application everything works fine, the code compiles, the debugger shows that everything is in order but stages different to the primary stage do not show their continent, they appear just empty white.
I cannot provide a reproducible code sample because it works on my other system just OK.
So my question is: What could cause the stages not to display their content?
I am using JavaFX 11 with ZuluFX 11.
UPDATE: I just tried to run version which was built on a system where the displaying works and I have the same effect: Empty windows.
Screenshot:
It's hard to say without further information, but try to start the application with -Djavafx.verbose=true -Dprism.verbose=true and check if you get some error message which might help you.
Apparently, using SW rendering works fine. I am not sure how large the impact of SW rendering is.
Related
If I ctrl-click a link in my app and open ~10 tabs, for 2-3 of them I get the
I have no idea where to start investigating this 🤷
I am working on ASP.NET (.NET6) MVC + Knockout, dunno if this is relevant.
Looks like a memory leak of some sort, that Chrome can't handle.
Chrome Error code: STATUS_BREAKPOINT
Edge (also based on chromium) Error code: STATUS_ACCESS_VIOLATION
Try making sure Chrome has all the permissions, also make sure you singed in before you started using it. If this doesn't work. Unistall it and install it again. If you have the same problem. Debug it with Python/Pycharm. Hope it helps.
I am having problems using the Ikonli icon packs. I am creating FontIcon objects and then using those to set the graphics on buttons. Icons taken from the FontAwesome5 pack work great. Icons taken from the Material2 pack seem to shift somehow - for example, I try to get mdal-6_ft_apart but what actually gets displayed is mdal-loyalty. And no matter which Icon I load from MaterialDesign2, all I see is an empty box.
I'm running this through Eclipse, and everything looks fine when stepping through with the debugger. This is the value of the button graphic:
ObjectProperty [bean: mdal-6_ft_apart:15:0xffffffff, name: iconCode, value: MDAL_6_FT_APART]
and yet, on the screen, it's something completely different.
This is a Maven project using OpenJDK 16 and JavaFX 16. I've tried loading just a single icon pack instead of all 3, but no difference. Also, there are never any errors retrieving the icons. The ServiceProviders are all found, and the icons are available.
I made a small Hello World program and everything runs fine, so it's definitely an issue with my program and not the library. But I have no idea what the problem is, and I've been staring at this for almost 2 hours. Has anyone come across this before? I'd appreciate any help, because I'm out of ideas.
Answering this myself in case it saves someone else some time. I was installing the Ikonli library in order to replace the FontAwesomeFX library that is no longer available. I had gotten partway through replacing the icons when I ran the app in order to check the progress, and that's when I saw the errors.
The problem turned out to be an interference between the two libraries - FontAwesomeFX was throwing of Ikonli. The icon shift didn't actually occur until the code displayed a FontAwesomeFX icon, which made it seem a little random depending on the order I would open the dialogs when testing. I'm assuming an issue with the Service Handlers, though I'm not positive because I stopped troubleshooting once I realized the problem and just finished the replacement.
Once I stopped displaying FontAwesomeFX icons and the dependency was removed, Ikonli worked fine.
A few weeks ago I worked with breakpoints in Rstudio. It worked as I expected: stopping at breakpoints.
However, now I need to use it again, I can't get it to work; more specifically: when I set a breakpoint in Rstudio a red dot is appearing next to the code line (see screenshot), but when running the code, it does not stop at the break point.
I created a simple code example for this post to show what I want: run a for loop line for line.
Perhaps I am just not understanding something :) So, could anyone help me with getting these usefull debugging tools in Rstudio to work?
Thanks in advance.
Breakpoints also do not work for me on shiny app developed in RStudio, I am using browser() instead of breakpoints, and it works.
see this
M
I'm new to an approximately 50K-line Java project using JavaFX, and I'm getting a bug nobody else in the group seems to be able to duplicate. Unfortunately I can't share any code, so this is just a hope that this is a familiar issue to anyone else, or that there are suggestions about how to think about and solve this problem.
The application itself is a launcher with five different modes. The minimum working system requires running two different instances of the application and starting mode #1 in the first and mode #2 in the second. The two communicate with each other over IP.
Mode #1 works fine, stays open indefinitely; at any rate, I haven't been able to make it close unexpectedly. Mode #2 is the problem. After opening Mode #2, if I click on any other window, taking focus off of it, the window disappears within a second or two. I get no error message or any other symptom. The eclipse console just reads at the top. If I don't click elsewhere, it runs several minutes at least without comment.
I have no idea how to go about solving this problem. I can't seem to use a debugger because it doesn't seem to hold onto memory after crashing. There's nothing about crashing when the focus is taken off that matches up with any of my knowledge.
It's a simple window, two buttons, a menu, and an output text box.
With these clues, do you have any suggestions about how to proceed?
Everything worked normally untill yesterday. Today morning when I tried to debug java script function (in aspx), it is not hitting the debug points...
I thought debug thing is not working ..so to test I added debug points in code behind file..it is firing them..the only problem is with aspx page..
I tried the following:
Clean solution Re-Build..
close and re open visual studio..
Restart my machine..
iisreset
I am confused what might be the reason..Can anybody please help me out?
I had the same problem recently and this checklist helped me solve my issue:
Some ideas.
Make sure it's a debug build and not release
Turn off optimizations in your project properties if they are on
Try inserting Debugger.Break() in your code instead of a breakpoint in VS
Make sure breakpoints are enabled (Debug->Windows->Breakpoints toolbar), and breakpoint symbol should be solid red circle, not a red outline of a circle
Execute your application. Load Debug->Window->Modules window. Check your assembly to see if symbols are loaded. It may give a relevant status message if not.
Have you been adjusting the date on your computer at all? This can really screw up a build process. If so, delete all your obj/bin folders manually and recompile.
This was copied from the an answer found in this post:
VS2012 Breakpoints are not getting hit
There are many other helpful suggestions there as well, im sure one of them should work!
In your aspx, find the tag <script runat="server">.....abx xyz... </script> then delete the content of this tag.