Skip to main content

All Questions

Tagged with
1 vote
0 answers
81 views

Graal.js returns SafeInteger, causes !(result instanceof TruffleObject) assertion to fail in TestNG but pass in standalone Java app [duplicate]

We're migrating legacy code from Nashorn to Graal.js, and facing issues with how numeric values are mapped internally. In Nashorn, large numbers like 15-digit integers were mapped to java.lang.Double. ...
Srikanth Allapu's user avatar
0 votes
0 answers
31 views

install ENTCORE [closed]

I'm currently installing ENT open ent, (entcore, springboard, infra-front etc). I'm having some installation problems, particularly with the widgets and timeline. If any of you have already installed ...
arthur's user avatar
  • 1
0 votes
1 answer
55 views

What is needed to get a simple instance of JBCefBrowser up and running to execute JavaScript?

I'm working on making a possible contribution the Community Edition of Intellij IDEA, adding some enhancements to the Markdown preview feature. The IDEA code base is primarily Java and Java's cousin, ...
kshetline's user avatar
  • 13.8k
1 vote
1 answer
40 views

Update from Tomcat 8.5 to 9: different caching behaviour

I have a web-application, which displays some 3D objects. The 3D objects are static files in a TomCat subdirectory. The app is based on Java 8 and JavaScript. If it runs under TomCat 8.5 everything ...
RoR's user avatar
  • 33
0 votes
0 answers
63 views

Selenium throwing exception - org.openqa.selenium.JavascriptException - Failed to execute 'send' on 'XMLHttpRequest'

I am running a selenium on a site - https://ir.vishay.com/ I am trying to get the response from above url, the driver code is as simple as String url = "https://ir.vishay.com/" driver.get(...
Gunwant's user avatar
  • 979
0 votes
0 answers
32 views

Repeat ir signal for NEC (button hold)

I want to send the infrared signal of the remote control to the CD player, and I am making an application for Android. The problem is that the button holding function does not work. This button has a ...
Кино Обзорчик's user avatar
0 votes
0 answers
37 views

Failed to load resource. 404 error. Can't load images or js files

There are link problems when loading resources. Can't figure out why. I have a song-history.js file in /component folder and I'm trying to load it: <script src="/components/song-history.js&...
egor-n's user avatar
  • 83
2 votes
1 answer
92 views

Why does Postman throw a 400 status for this POST request with a pre-request script?

I'm working on an API REST with SpringBoot and I'm trying to create multiples users from Postman with a Pre-request script, but I get a 400 status code even when the users are save in the DataBase &...
Neoly Moreno's user avatar
2 votes
1 answer
51 views

unable to read a file from angular and pass it to API built using java

I have application where I am using angular. Input a csv file and add the file to form. below is the code used var fileInput = document.getElementById('chosenFile'); var fd = new FormData(); fd.append(...
Aditya Bhatnagar's user avatar
1 vote
0 answers
125 views

Cannot fetch from Spring backend due to CORS

I have a backend using Spring and a frontend using React. I already have many controllers and all methods work with current CORS: @Configuration public class Cors { @Bean public CorsFilter ...
ramil's user avatar
  • 11
1 vote
1 answer
62 views

Tryed to fetch and get error with CORS or empty response

The problem is that when requesting from the frontend to the server, it returns either an error or an empty string (just empty) to the console if you disable Cors in fetch(mode: "no-cors"). ...
ii5's user avatar
  • 21
0 votes
1 answer
48 views

Changing the form in a modal window when clicking different buttons

Here is the code for the modal window <div class="modal fade" id="userModal" tabindex="-1" aria-labelledby="userModalLabel" aria-hidden="true" th:...
Виктор Гловлюк's user avatar
1 vote
1 answer
45 views

Issue with Replacing Path Variables in URL Dynamically in Apache Camel During Unit Test (Port Defaults to 80)

I'm working on a project that uses Apache Camel, and I'm trying to dynamically replace a path variable in a service URL using a header. The URL is of the form: /abc/v1/{clientId}/lookup In my route, I'...
bateda's user avatar
  • 125
0 votes
1 answer
46 views

Next.js Slideshow Image Height Issue on Desktop & Mobile

I'm building a website using Next.js, Tailwind CSS, and the Next.js Image component, but I'm facing an issue with my image slideshow. On desktop, the height of the images is too large, and I have to ...
user29810516's user avatar
2 votes
1 answer
51 views

Android-Java-Webview-Javascript: I am not able to see source codes of some sites like instagram?

When I try to read source code of for example example.com, it works. But as I try to use it for example for instagram.com it does not work anymore and app falls. Can I ask where is the difference and ...
Mirek6's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
1411