Play Framework:#6ddhe2a72 - Internal server error, for (GET) [/tasks] - playframework-2.1

I have followed the PlayFramework 2.1's tutorial and when I was running the application ,the index page shows normally,but when I click the Button "Create" to create the task,it didn't work,and the console shown that #6ddhe2a72 - Internal server error, for (GET) [/tasks].
I'm puzzled now.
Please help me.

You should run playframework in development mode to see the full error. We cannot help you without that.
Instead of play start, simply launch play run (read this page for more details)
You could also see the stacktrace in the file log/application.log.

Related

automate electron based desktop app using testcafe not working

i am trying to automate tests for 'lens' electron based desktop application.i was following this link enter link description here to setup the test for electron app.This link expects a 'mainwindowurl' but application doesn't have any main page, but testcafe give suggestion of the mainwindowurl as an error so tried it works but am not convinced with the suggrstion urls ,but same way want to give fixture page url on the test what should be the url should i need to give? then have got one more error ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.Please can you guys suggest what to do?
Each and every Electron application has to navigate to a page after opening a window.
I guess that the mentioned Lens app is an Kubernetes IDE: https://github.com/lensapp/lens.
This app uses the BrowserWindow.loadURL function to navigate to the main page:
https://github.com/lensapp/lens/blob/a61425124f18b1cc2d8a507084a472029acc3e6b/src/main/window-manager.ts#L101.
Digging the code a bit more, I found that the main window URL is just localhost with some port:
https://github.com/lensapp/lens/blob/a61425124f18b1cc2d8a507084a472029acc3e6b/src/main/window-manager.ts#L33.
I guess it is possible to determine or set the port number by looking at the code a bit more or asking Lens developers about it.

How can I see an actual error from server (react native)?

I send a request:
And get an error:
How can I see details of this error?
You can use the debugger to look at all of your Network requests.
The answer to this question will allow you to view your requests.
(Assuming you're on iOS) - Once you've added the code and your application is running, click on Hardware > Shake Gesture and then select Debug JS Remotely.
Once the debugger opens, you should start to see your requests on the Network tab.

JDeveloper deployment "Page can't be displayed" error

For development, I'm using the integrated weblogic feature in JDeveloper. So far, this has worked fine. I was recently put onto a different project, however, and when I try to deploy it, I'm having trouble. Here are the steps I take:
Run->Debug Server Instance (IntegratedWeblogicServer)
In the Projects, I right-click on Web Content->index.html and select Debug.
According to the log, the applicatoin deploys successfully with the target URL of http://localhost:7101/Myapp-Myapp-context-root/index.html and it then attempts to open the page.
However, this gets me a "This page can't be displayed" in Internet Explorer. No error messages in JDeveloper's log or IE's console. I realize this doesn't give a lot of information to work with, but it's all I've got right now.
One other thing, and I don't know how relevant this is, but if I attempt to refresh the page or enter it into a different browser, it redirects to https://localhost:7102/Myapp-Myapp-context-root/index.html
I figured it out. It switching to a secure port was related, as the finalized product is supposed to do that. Development requires the security-constraint fields in the web.xml to be commented out.

VB publishing error

I'm trying to publish an application I am working on and am receiving the following error...
Error 1 Failed to connect to 'C:\Users\me\Desktop\' with the following error: Unable to create the Web site 'C:\Users\me\Desktop'. Unable to create the Web site location 'C:\Users\me\Desktop'. Access is denied.
I am not trying to publish to a website so don't understand why it is presenting this problem?
Check that you have chose the right application for the project in the first place. but the error is indicating that its trying to load a website, while your writing or normal programming application. Hope that helps
I have checked and cannot identify the problem.
If you're running you program from a network location, as I am, you can change your Install Mode Mode and Settings to "The application is available online only".
Open your Project
Click the "Project" menu
Select "Properties" as the last item in the drop down menu
Select "Publish" from the list on the left
Change your Install Mode & Settings.
This worked for me...

Amazon Git Eb Tools not deploying

I followed the help page here
and I created my application through the eb tools command line tools. I can see the application on command line, however when I log into my AWS Management console and select the region area, and click on "elastic beanstalk" I see the welcome screen asking me to create a new application,my question is why cant I see my application on the web interface? Also the application is running on the web because when I visit the url the link is active, but I see this message "Could not find rake-10.0.2 in any of the sources (Bundler::GemNotFound)" (which if anyone knows how to fix that would also help)
Thanks in advance
It turns out that somehow amazon changed my secret keys, and my instanced where not showing. When I updated the keys on my local machine everything began working correctly.