nioNeoDbPersistence turned null - neo4j

I am using neo4j as a backend, I started to have a weird error (see below). After looking up on neo4j#googlegouprs.com I figured out that may be I'm trying to use a DB that has been shutdown. Since I'm pretty sure that my code is not executing any shutdown() instruction I just disabled the shutdownHook(), yet, nothing happens. Someone please has an idea about what is happening or (and) a clue how to solve it.
Thank you in advance
java.lang.NullPointerException
at org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource.createReadOnlyResourceConnection(NioNeoDbPersistenceSource.java:96)
at org.neo4j.kernel.impl.persistence.PersistenceManager.getReadOnlyResource(PersistenceManager.java:222)
at org.neo4j.kernel.impl.persistence.PersistenceManager.getReadOnlyResourceIfPossible(PersistenceManager.java:245)
at org.neo4j.kernel.impl.persistence.PersistenceManager.loadLightNode(PersistenceManager.java:73)
at org.neo4j.kernel.impl.core.NodeManager.getNodeByIdOrNull(NodeManager.java:308)
at org.neo4j.kernel.impl.core.NodeManager.getNodeById(NodeManager.java:325)
at org.neo4j.kernel.InternalAbstractGraphDatabase.getNodeById(InternalAbstractGraphDatabase.java:912)

Related

Wrong path, how do I change it?

I hope someone here can help me solve my technical issue.
Since I installed R and RStudio on my work computer I have had the same error message when I try to compute the first command. It says:
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="//regsj.intern/homedir$/m/name": Adgang nægtet
(where 'Adgang nægtet' is Danish for 'Access denied' and 'name' in the path has replaced the original text in the path).
Through Google (often directing me to this site) I have seen some possible solution, but I haven't had succes making any of them work. Maybe I'm doing it wrong? Maybe that simply does not solve my specific problem.
The problem, I think, is that the path is a network/drive with more strict administration, so I want the path to direct to my local C-drive.
Please, let me know if you have a possible solution, and if so, please explain in details how to do it, because my technical skills are very basic.
Kind regards
Mathilde
PS Most often the error message does not seem to interfere with my use of RStudio, but some times I experience problems out of the blue, such as problems with knitting my Markdown file to pdf - and I suspect the above error message to be the cause.
I tried to uninstall R and then reinstall, and that solved the problem the first time I opened RStudio, but after closing at reopening it, the same error message occured.

Invalid block type error in cytoscape

I am facing an error while opening a cytoscape file. It was all ok when I saved it and closed cytoscape, but when I tried to open it after a day it says "invalid block type". Not sure what is the problem. Please help, as it has things I have been working on for quite a while.
Thanks in advance
Best
Devyani
So, are you talking about a session file? If so, can you send the file to us so we can diagnose what might be happening. Unfortunately, that error comes from the unzip process, I think, which probably means that the file is corrupted. I've seen this happen when the write gets interrupted for some reason...
-- scooter

Umbraco Site Publishing

I am using umbraco v 4.11.6 (Assembly version: 1.0.4834.19775) the issue is every time the server shuts down or restarts I need to republish the pages which are not loaded.
So please let me know the root cause for this issue if anyone knows or any other things that can be done to over come from this
Thanks in Advance
In version 4.6 there was an issue which had the same behavior when the SQL database was not available at boot time of the website. But with version 4.11 this should be fixed a long time.
I would investigate the logs (~/app_data/logs/). You might find some clue there. Append logs to your post if you can not find the issue.
This might be a problem with some ApplicationEventHandlers not running properly. Or with write permissions on the proper folders. Try adding more logs to the code, so you are sure what runs (and what doesn't).
If you can not find the answer, try the umbraco forums : http://our.umbraco.org/forum

Termination caused websites executing no more

I had a perfectly well running asp.net mvc application and I was debugging message sending via SignalRand I decided to stop debugging and went to edit some code. However, there was an error saying something about IIS termination and whether I want to do that because something (I assume - the application) cannot be stopped. (I am really sorry, but I didn't read it at the time). So now I try to relaunch my program and it just won't open. The website is trying to be opened but the loading circle in chrome just kept on spinning forever.
What I tried to do was:
1. restarted VS - didn't help
2. restarted PC - didn't help
3. created a new project, brought all files to it and launched it and it worked!
So then it worked for ~10 minutes or so and then just stopped again (this time no error message or anything). I tried changing a port in the settings of the project. Didn't work. Tried changing back and it launched successfully. For a minute or so... :(
So finally, I tried putting a break point right at the
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
-> {
The breakpoint was hit, it successfully passed the next line
RouteTable.Routes.MapHubs();
and just disappeared at
AreaRegistration.RegisterAllAreas();
Many times I tried and it always disappears at the same location. Going deeper is not an option since this is system method. I suspect something can be problematic with that, but I am not experienced with much configuration of asp.net.
P.S. many times VS was acting strange and even tho I set the breakpoint at the place I marked above, it showed the breakpoint with a message that it won't be hit because the source differs from the current code (But I didn't change a thing since before the very first crash! The only place I modified a few symbols at was at MyHub.cs which is an extended class for a Hub for SignalR)
Lastly, I tried deleting everything from bin folder so it got fully rebuilt, but without any success to revive my application.
What could be a possible problem, maybe someone had anything at least similar to this? Or maybe someone would be kind to help me at choosing better keywords while searching in google because "IIS termination" and "AreaRegistration.RegisterAllAreas(); not working" didn't bring me much :(
This is a known bug: https://github.com/SignalR/SignalR/issues/1335.
We have been unable to successfully reproduce this issue on our servers. We've seen that using a different web server will resolve the issue. If you're able to post a reproduction project to the linked Issue, chances are it will be resolved promptly.
Apparently, the solution I marked isn't the exact thing that helped me. This link was the thing that miraculously helped me and I was able to finally get back to work. However, I found the winning link because of N. Taylor Mullen, so he deserves the full credit :) But letting others know if anyone comes to this question :)

Openfaces 3.0 running in WebSphere 7

Has anyone around gotten Openfaces 3.0 to run on WebSphere 7.0?
I keep on getting the following error:
java.lang.NullPointerException
at javax.faces.application.ResourceWrapper.getRequestPath(ResourceWrapper.java:118)
at org.openfaces.application.OpenFacesResource.getRequestPath(OpenFacesResource.java:36)
at org.openfaces.util.Resources.getInternalURL(Resources.java:133)
at org.openfaces.util.Resources.getUtilJsURL(Resources.java:234)
at org.openfaces.util.UtilPhaseListener.appendHeaderContent(UtilPhaseListener.java:60)
at org.openfaces.application.OpenFacesApplication.headAddedToView(OpenFacesApplication.java:79)
Any ideas? Thanks in advance.
floshton.
I don't do OpenFaces/Websphere, so I can't go in detail about this, but given the fact that ResourceWrapper#getRequestPath() delegates as per its source code the call as follows
return getWrapped().getRequestPath();
Where ResourceWrapper#getWrapped() is an abstract method which is to be implemented properly by the implementor. Given the trace, it's the org.openfaces.application.OpenFacesResource which is incorrectly returning null on getWrapped().
What the underlying cause is, is unclear since I don't have the hands on OpenFaces source code directly. I'd start by reporting this issue to the OpenFaces guys on their forum and/or issue tracker.

Resources