I get nullpointer exception when try to load properties from file.  I read some solution,    putting property file next to the class loading with our without using GetClassLoader   No success  see the pic   Load fails, not the access, what did I wrong ?  Thanks for your help in advance.  Cs
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?
How long is a 'block'? Under Windows 7, how can I delete a folder whose name ends with "..."? Proof that a sequence is convergent I'm asked to prove the convergence of the sequence $$X_n=\left(1+\frac12\right)\left(1+\frac14\right)\left(1+\frac18\right)\cdots\left(1+\frac{1}{2^n}\right)$$   I proved that it is increasing through the ratio test and then I want to prove that it is bounded.  My question is the following : is it enough to say that $X_n&lt;\left(\frac32\right)^n$ for $n&gt;1$ or not ? Namely, can we say that a sequence is bounded if $\forall$  $n$ ,  $\exists$ a $N$ such that $X_n&lt;N$ or do I have to find a N such that $\forall$  $n$ , $X_n&lt;N$?  In other words, can a bound depend on $n$ ?  Thanks for your help. The category Set has the property that any morphism f can be decomposed into an epimorphism $e$ and a monomorphism $m$ with $f$ = $m\circ e$. (The intermediary set object is the image of $f$.)  Is there a name for this construction?  Is there a name for this property of categories?  In Set, the intermediary object is unique up to isomorphism. Is this the case for all categories with the property? How to check if a row exists in MySQL? (i.e. check if an email exists in MySQL) Why didn't Skynet kill Kyle Reese? Prove that $T$ has a cyclic vector iff its minimal and characteristic polynomials are the same Let us assume a shared ownership house, where everything is 50/50 in terms of deposit, monthly payments, bills, and eventually estate agent costs, and lawyer costs when the house is sold.  If the mortgage is over 25 years and for the first 5 years both owners live in the house and split everything 50/50, how do the calculations and ownership percentages change if one of the owners decides to move on and rent elsewhere, leaving the other owner to pay 100% of the mortgage bills etc etc?  After the 25 years, do both owners still get 50/50 when the house is sold? What happens if you use Polyjuice potion after saving hair or nails? Suppose you cut a five year old's hair, save it for 10 years, and then use it for a Polyjuice transformation. What age do you turn into: The toddler or the teenager? How to find the most famous questions on Stack Overflow? How to find questions with   most comments most votes most viewed   I have seen following question, but seems like there is no easy way.   Is there way to bookmark a page so that the same URL can be used to update data (which will be very seldom) at each hit? I have opened a new blender file and deleted the default cube, then imported an obj file . I did not see any thing so i selected it and i zoomed ,nothing appears.In the outliner i saw the object name ,But in the info panel i see that there isn't any verts/faces/edges.  When i opened the obj file in a text editor i found Mesh data in it. I tired this in all blender versions (2.78c/2.78.5/7.9). Can any one help how to view the mesh? How to create a Java application which can be run by a click? What is the difference between CentOS "DVD" vs "Everything" ISOs Why is the unit for capacitance so large? How can I start the Blood on the Ice quest? I am currently part of the Stormcloaks and just finished Rescue from Fort Neugard. The Jarl wants to make me a thane and is telling me to buy a house, but his steward is telling me the house is unavailable due to some unpleasantness. I have already completed the 5 quests to help people of Eastmarch.  From what I can see online, I need to begin the Blood on the Ice quest. It is supposed to begin by walking in the windhelm graveyard at night, however every time I go there I don't see anyone.  Someone online said it's possible to miss the scene that triggers the quest if you go into Windhelm and leave without triggering it, but I am hoping this isn't the case. I am in Windhelm a lot because the Enchanting table, Blacksmith, and Fence are all in one location, so find it very convenient. The lady who is supposed to be murdered in the Graveyard (Susanna) is still alive in Candlehearth Hall, so I think I'm not bugged.  The wiki suggests that you have to "The quest will initiate after you entered Windhelm four times from another hold", however I have entered and left quite a few times during the course of my game and know I've been here way over 4 times.  I tried pickpocketing the key, however I don't automatically get the quest on entering the house, and there are a bunch of "Investigate InvestigationTarget" spots in the house. Also, I was reading the Butcher's journal and he was saying he almost caught Susanna when she left Candlehearth, however I have never seen her leave Candlehearth. Perhaps my glitch is she never leaves? I'll have to head to Windhelm on another character and check it out.  Also, I saw something online saying this quest won't trigger if you go past 245 in-game days. Would someone be able to confirm this for me? (Have the XBox version, so waiting 245 days is annoying)  Can someone tell me the exact steps to begin this quest? is exactly what I'm looking for. I want my description environment to produce this:  Label is long   text  lab2            blalballalaa label3          possible second rule label four      hello world   Someone offered this:  \newenvironment{mydescription}[1]                                                   {\begin{list}{}%    {\renewcommand\makelabel[1]{##1:\hfill}%    \settowidth\labelwidth{\makelabel{#1}}%    \setlength\leftmargin{\labelwidth}    \addtolength\leftmargin{\labelsep}}}   {\end{list}}   Which works great (the parameter is the longest label), except I think the enumitem should be able to do this. Unfortunately, the documentation for it is extremely confusing to me. Could someone show me how to achieve the same result with enumitem? I'm using biblatex and I have it set up like this:  In my bib file I have 3 sorts of entrys, online, booklet, and book.   And in my thesis I want them printed separate like this:  \printbibliography[heading=subbibliography,title={Books},type=book, nottype=url, nottype=booklet, nottype=online] \printbibliography[heading=subbibliography,title={Websites},type=online, nottype=book, nottype=booklet, nottype=url] \printbibliography[heading=subbibliography,title={Misc},type=booklet]   For some reason this won't work, it still puts the websites where the books should be. And vice versa. The booklet thing does work though, it only shows my booklet entries there.  I recently started using biblatex so this might be a stupid question. Note: I am very new to the more advanced side of electricity. I do not have a firm grasp on the exact mechanics.  Lets say I have an example circuit:  5V Power Supply -&gt; LED -&gt; Resistor -&gt; Ground  Now the LED is receiving 20ma and 5V. If I were to switch the LED and the resistor however, the LED should receive less voltage but the same current, so wouldn't it be dimmer? Or would it receive the same voltage?  I've looked at these two threads and their answer doesn't help. Why isn’t singular ‘they’ used with 3Sg verb forms? There are many (duplicate) questions about the acceptance, popularity and history of singular they (and their, them and themself) around here, it even got a tag of its own. If I didn’t miss anything, however, the proper verb form hasn’t been questioned yet.  As we all know, English third person singular pronouns (it, she, he and one, +body), names (Alice, Bob, …) and nouns (student, teacher, …) demand the +(e)s suffix be added to the finite verb form in simple present, where some auxiliary verbs have a “special” form (is &lt; *bes / *ares and has &lt; *haves). All other subjects don’t, including plural third person pronoun they.  When the plural you replaced thou (with thee, thy / thine), the other marked verb form that had remained in English – i.e. suffix +(e)st or +t – vanished, too. The first and second persons only ever appear as pronouns (I, we; you), not names or nouns, so there was no strong inclination to keep the verbal inflection.  The second person precedent would suggest that singular they be used with uninflected verb forms which is how it’s usually encountered in the wild. Assuming that they someday replaces he and she (and maybe it) it would lead to disagreement with the words the pronoun stands in for:        Alice         goes to her   place  by herself.   Bob           goes to his   place  by himself.   Alice and Bob go   to their place  by themselves. – (common)   Alice and Bob go   to their places by themselves. – (separate)                  She  goes to her   place  by herself.   He   goes to his   place  by himself.   They go   to their place  by themselves.   They go   to their places by themselves.                  They ?goes to their place  by themself.   ditto   They  go   to their place  by themselves.   They  go   to their places by themselves.                  They ?go to their place  by ?themselves.   ditto   They  go to their place  by  themselves.   They  go to their places by  themselves.      So why doesn’t singular they afford s on present-tense verbs like all other third person singular subjects do?   I learned about singular they only long after I had been taught English as a second language in school. That’s why it’s still a conscious decision to use it and hence I could easily adapt to use s forms with it, but would that sound and look funny / strange / wrong to native speakers? How to subtract a day from a date?