IntelliJ IDEA giving null pointer exception while starting the debugger - intellij-idea

Whenever I am trying to start the debugger session in my IntelliJ it start giving the following error, throwing pull pointer I am not sure if any configuration need to be changed as it was working fine a week back.
Is there any plugin is needed Extra or cache clean is required?

Related

ResourceNotFoundException with full deploy to prod

I have a fully developed set of functions which work fine in the "dev" stage and it's now time for me deploy to production. Unfortunately every time I try to deploy it goes for a long time but after printing "Checking Stack update progress" it fails with a 404 error:
An error occurred: SentinelLambdaFunction - Function not found: arn:aws:lambda:us-east-1:837955377040:function:xyz-services-prod-sentinel (Service: AWSLambda; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 38f86b7a-99cd-11e8-af06-fffd92e40dc5).
This error is non-sensical to me as this function does exist and executing precisely the same full deployment to "dev" results in no error. Note that in both environment/stage, we are deploying 10 functions with a fully deployment.
I tried removing the function which was being complained about first, with the hope that I could re-include it on a second deployment but then it simply complained about a different function not existing.
I also thought maybe the "--force" parameter might push this deployment into place but it has had no impact on the error I get.
The cycle time for each attempt is very long so I'd be very grateful if anyone could help to point me in the right direction on this.
Below is a screenshot of the output when run in "verbose" mode:
In attempt to get around the error I thought maybe I'd have a better chance if I went into CloudFormation and explicitly deleted the template for prod. I attempted to do this from the GUI and got the following:
This actually has further convinced me that this removal is important but I'm not sure what to do next.
For me, the solution was:
serverless remove
and then try deploying again.
So the solution to this problem was to ensure that all previous traces of the CloudFront stack was removed. In my case I had manually taken out a few functions from Lambda and the 401 errors I was getting were likely occuring in the removal attempts rather than my assumption that it was related to adding these functions.
Bear in mind you may find yourself -- like I did -- where the first attempt to delete fails. In this case try again and make sure to check off any checkboxes exposed by UI that indicate what had caused the issues the prior attempt.
Once I'd done that I was able to deploy as per normal from the serverless framework.

Getting Error 'HasFile' is not a member of 'FileUpload' VB.NET

I randomly get an error saying HasFile is not a member of FileUpolad.
I'm using a file upload button to upload images to a server. This usually runs; however, every once in a while it errors out. Sometimes the error is caught by Visual Studio during run time, other times it will be a Server Error in Application. Compilation Error when I load the page in debug mode. I've check dependencies and everything seems to be fine. Even the IntelliSense brings up HasFile with I am writing the code.
Usually re-writing the line or restarting Visual Studio resolves the issue, but it keeps coming up randomly.
I happened to figure out what the problem was. Since it was my first time doing this I had a test class in the solution. The test class was named FileUpload. Rookie mistake. I can't believe I didn't catch that earlier!

The specified procedure could not be found - how to identify?

I'm developing plugins for a program. Whenever I try to load my plugin in that program it crashes with an the specified procedure could not be foundbut nothing more.
Well to have an insight I tracked with Process Monitor (or ProcMon). I set the filter to just print messages for the process of my main program. However that application shows me including the libraries ends (after wandering through PATH) at the right file - i.e. Result: SUCCESS.
So my computer left me pretty clueless, yet refuses to work. Has anyone an idea how identify the missing procedure?
N.B.: Additionally I ran the DependencyWalker which gave me the usual error message because it's deprecated (dependency walker gives me errors on the system that runs correctly) - which could indicate that all dependencies are found.

IntelliJ IDEA and Play Framework very slow

I am using IDEA 15 for a Play! 2 Application, but I am having problems that the compiler seems to get stuck. Generally when I change a file and save it compiles in a second and I can test. But often it gets 'stuck'.
No warning or message, but refreshing the page just keeps waiting.
And sample is one Scala template which took 43 seconds to compile, and often the only way to get back going is to restart the debug session, but that takes a few minutes as I sometimes have run a 'activator clean' and have to reload all my test data.
Is there a setting somewhere the I might have missed?

VS 2012 invalid compile errors. Only way to fix is to wait like an hour

I am getting some really weird issues.
In VS2012:
I copy the code from an existing page to a new page, make some changes. Then change the referenced user control to a control that does not exist yet.
Then create the new user control and paste code from another control, make some changes and save.
VS will fail to build because of 'xxx' not declared errors. Which is bogus they are declared.
restart VS, restart machine, build, rebuild, clean and rebuild. All fails to fix the errors.
BUT, after a seemingly random amount of time (like, hours), the problem will fix itself.
I can't wait hours every time. How can I tell VS to stop being silly and build the project! Anybody know why it is failing?