import org.flarrison.scripts.flarrifarm.tasks.livid.DetectLivid;
I'm getting a Package not found error. It doesn't show up as error before i compile. I used the auto completion for it to import. I even clicked CTR-Z until i got back to where the script did run. But it's not now and i have no clue what to do.
Is there any way to get it to recognize it's there? Because it definitely is.
Its telling me that the package "livid" isn't there. BUT IT IS!
Related
I am using Nuxt to develop an application.
Currently, when I ran into error, the stack trace looks like this.
This is very difficult to debug and find the error.
Is there any way to make it show the source file, the function, or the line that is causing the error?
The project has been working, and there's been no architectural changes whatsoever.
Suddenly, an import statement that was working is no longer working. The error message is
Cannot find a delcaration to go to
File: CaseSteps.java
Package: e2e.case
import e2e.caselist.CaseListSteps
- This is the line getting the error
File: CaseListSteps
Package: e2e.caselist
If I start typing "import e2e.caselist." in the CaseSteps page, the autocomplete actually shows .CaseListSteps, and lets me select it. But it's marked with red for the "CaseListSteps" part, with the above error.
What on earth is this?
Whenever I try to read the frame of an UIView for example while debugging, I get this error:
error: property 'frame not found on object of type 'UIView *'
error: 1 errors parsing expression
After searching for a solution, I found out that I can use this command to solve this without adding (annoying and in some cases complicated) casts:
expr #import UIKit;
But I still find it annoying to have to do this every time (why doesn't Xcode do this by default?!), so I thought I should be able to do this using the .lldbinit file, but I couldn't get it to work.
I don't know much about that file, I have this in it atm:
command script import /usr/local/opt/chisel/libexec/fblldb.py
so I tried adding the UIKit import command at the end of the file but it didn't look that it worked. I also tried prefixing it with command to no avail. Is this possible or not? (please say yes; it will save my life)
lldb will auto-import modules that the debug info tells us the program imports fairly soon now. All the pieces weren't in place to do that for the first Xcode 7 releases.
Statements in the .lldbinit get run before the main file is read in, it is supposed to help set up the environment to read in your program. But at that point there's nothing into which to import these symbols. You need to do it after the main binary is read in (and you really need to do it after you have run, since I think we need to run some code to do this.)
At present, the simplest way to do this is to make an auto-continue breakpoint at main, and attach the expr #import UIKit statement as a debugger command in that breakpoint. You'll have to do this once per new project you make, but if you're working on the same project for a while, it's not such an inconvenient workaround.
Before everything was fine but since some time i get "cannot find Symbol” when i try to compile.
The errors are on my own classes.
If i jump to source and then click the error icon i get this:
But the constructor already exists.
I have no idea of how to get rid of it. I did a lot of searching but none of the solutions like clean worked.
My project is under VCS which i don't really understand (how to set up etc). So maybe it has to do something with that. I only don't know how to get rid of it. Can someone help?
edit:
Here is the zip of the project folder and one folder that includes a library that is used.
I try to compile with build artifacts.
https://dl.dropboxusercontent.com/u/17630770/temp/doekeLibsArchive.zip
I hope someone can give it a try. I would love to continue on this project.
The problem is coming from the fact you have two BezierVertex classes,
a public one nl.doekewartena.path.BezierVertex
and a nested one nl.doekewartena.path.BezierVertexPath.BezierVertex
when you are inside BezierVertexPath, intellij is right nl.doekewartena.path.BezierVertexPath.BezierVertex does not have the constructor shown on your screenshot, it is nl.doekewartena.path.BezierVertex which has it, so you should use the fully qualified name of that class.
Am I missing something ?
When debugging ExtJS 4 (tried both versions 4.1.0 and 4.1.1), FireBug repeatedly shows the following error: An invalid or illegal string was specified
http://docs.sencha.com/ext-js/4-1/extjs/ext-all.js
Line 18. It does not break on the error, though that option is specified. Additionally, neither my code or ext-debug.js and it's loader seem to actually call ext-all.js.
This error gets logged to Firebug's console about once per minute, which is annoying. What bothers me is that I cannot get the error to go away. Is this a FireBug bug? An ExtJS bug? Aliens? How can I debug the debugger?
I had the same problem before and I've solved it by removing a special character at the end of my JS file! (app.js I think)
It was weird, but the problem came from hidden special characters like: Zero-width non-joiner or Right-to-left mark.
Open another JS file but do not copy/paste your code there. Just write it again and check whether the problem exists or not.
And don't forget to check your data if you have some. As this article explains about the problem: http://www.ashorlivs.fr/javascript-jquery/article/an-invalid-or-illegal-string-was
For general debugging see this link http://www.sencha.com/learn/debugging-ext-js-applications/
You can also use ext-all-dev.js while in development mode.
There is another excellent tool on top of firebug, at this link http://www.illuminations-for-developers.com/
PS: I still didn't figured out how to post a comment. I guess it comes when I have more points/reputation. Hence adding it as an answer. thanks.