Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I've got one java web based project. Build using JDK 1.8 and Using Intellij as IDE.
Using tomcat to deploy the product
Essentially in our product I was trying to test a few things with a class.
Very recently what has happened is whenever I am compiling and putting it inside our project it is saying page not found.
So, I reverted my code base to Out of the box state, compiled and put it back. Still it
s giving me page not found error.
One annoying this about this error is, In the logs I don't have a single error.
So it's not even hinting on where to look or what's going on.
Second annoying this was, like I did some series of changes , but for every change I took a back up. Think of it like, if default OTB was Revision 1, My changes are in Revision 2,3,4. From revision 4 I started to get this error. But when I take revision 1 and put it back. Still getting page not found. But if I take Revision 2 or 3. It is working.
I've compared all revisions and code wise there's no such change, which could break anything. I've a strong doubt that it could be one of the project structure settings.
I checked local history, but apparently local history refreshes every time you rebuild a project so no luck there.
I want to understand and resolve this problem.
Any tips on how to handle this, will help greatly.
Thanks
So, the answer to this problem was Embarrassingly simple.
Our project was last certified with OpenJDK11 but I mixed two of my tasks and started using openJDK12.
I don't understand what exactly in OpenJDK12 broke this.
And I want to inspect what went wrong.
But for the current task at hand. 1 solution is as simple as reverting back to OpenJDK11. After that when I used this modified class it was working perfectly.
PS: Still not 100% sure if it was due to jdk version. But If it was I wonder why in logs it was not mentioning that error. Which says compiled using higher version of Java.
Related
So everybody that works with React Native probably know the frustration. Everything was working fine and all of a sudden the project doesn't built anymore. Most of the times it breaks on gradlew assembleRelease.
How is this even possible? It happened to me over the course of the last few years over and over again. Litterally no changes, and boom, random errors. Most of the times you trace the error to some question on stackoverflow and you apply some random fix, downgrade of libraries e.t.c.
But my question is: why does this even happen in the first place? Does react-native / gradle auto update stuff? Sometimes when I run from Android Studio I notice in the status bar that Gradle seems to download/sync a lot of stuff.
How can you work reliable on software if it breaks out of nowhere? My most recent example is this one. From my github repo I know for sure there has not been a single change.
My most recent example? This one. The person that asked the question is saying the same. Changed nothing, and project breaks.
More than one file was found with OS independent path 'lib/armeabi-v7a/libfbjni.so'
Off course people come up with solutions, such as upgrade your RN to a patch version. But no one seems to answer the most obvious question; why and how does this even break in the first place when no changes are made?
Off course people come up with solutions, such as upgrade your RN to a patch version. But no one seems to answer the most obvious question; why and how does this even break in the first place when no changes are made?
I have a problem with several references in my VB.NET project.
For example I have this line of code:
Dim m As New Chilkat.Email
It comes from the library "ChilkatDotNet45.dll".
When I click on "References" and locate this dll, I can see that it has the settings "Use local copy" and "Do not include interop types".
When I switch to Release mode, the compiler tells me that "Chilkat.EMail" is not defined.
I have this problem with several DLLs, so it is not specific to Chilkat.
Can somebody tell me what I did wrong?
Thank you.
One of the standard approaches to solving any programming-related issue is trying to reduce the scope of the investigation. If you have a big project, in which something doesn't work, try to create a smaller project, and try to replicate desired functionality in it. Reduce as much as possible, down to a brand new project with maybe 5-10 lines of code in it.
If you were unable to solve your problem after making a reduced test case, now it's good time to post it on StackOverflow. I am usually reducing problems while writing a question on SO (not before, as one might think), constantly thinking "ok, is it minimized enough"; and this is how 90% of the questions never get posted - I often find a solution along the way of reducing my question to bare bones. :)
In your case, can you build a simplified project which has this problem and post a link here? We could then try switching Debug to Release on our machines and see if the we can reproduce. There are too many options to do the guesswork.
Afternoon all,
I am receiving a buttload of
error 0 No summary was found for this file
when spitting out phpdocs on quite a large project. My documenting is absolutely fine but no matter what I do I can not get rid of this error and would really like to have a clean error log. I have read in other SO posts that this is a throwback from phpdocs 1.x days and I understand why it is occuring.
My question is, like excluding a directory can I also exclude specific rules?
Answering my own question after a conversation with one of the phpdocumentor devs.
At the moment, no. It is a feature that was requested some time ago and has become more popular recently and thus has been scheduled for the next development sprint.
I will come back and update this question once/if its implemented.
I am trying to use core plot with an ios app I am writing, but I am unable to build after following the instructions to set up the library for use. I am getting the following message.
'CorePlot0' does not contain a valid pid
Sorry the tutorial I used is here http://recycled-parts.blogspot.com/2011/07/setting-up-coreplot-in-xcode-4.html
This has been asked (and answered) a number of times on this site alone. The most helpful suggestion on those (many) similar questions that reference the blog post you mentioned says you should read that post's comments since the post refers to older code.
If all else fails, create a new test project and try following the (comment-updated) instructions again. If it still doesn't work, update your question with much more detail regarding what you tried and where it went wrong. Include build logs, run logs, etc. - we're not mind readers.
I've been trying to use the JFace ProjectionViewer to implement folding in a standalone Java app. I got the idea from this article:
http://www.eclipse.org/articles/Article-Folding-in-Eclipse-Text-Editors/folding.html
However the source code provided with the article is for an Eclipse plug-in, not for a standalone.
The particular problem I'm having is that I can't get the VerticalRuler to respond and cause folding/unfolding.
Since I get the expected results, i.e. line numbers in the ruler, when I change from using a VerticalRuler to a LineNumberRuler while leaving everything else the same, I think my problem is specific to the implementation of the relationship among the ProjectionViewer, the VerticalRuler, and the Annotations.
My exact question is whether anyone has gotten this to work in a stand-alone code and, if so, how?