Vue.js 3 router weird issue [closed] - vue.js

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 months ago.
Improve this question
I have this weird issue and here are the important things to bear in mind:
it's working perfectly fine locally
it worked perfectly fine for months (locally and prod)
I did not touch anything, only pushed completely unrelated changes
I reverted it back to a previous state, the issue persists
I rebooted the VPS, restarted PM2 etc
The error(s):
TypeError: Cannot read properties of undefined (reading '__vccOpts')
TypeError: Cannot use 'in' operator to search for 'displayName' in undefined
TypeError: Cannot read properties of undefined (reading 'split')
I get those 3 errors,"split" when I click on the route, the others if I try again.
Everything happens in vue-router.esm-bundler.js:3295 apparently
Here's an odd behaviour that I noticed. Let's say that my app has A, B, C and D routes/components.
I start the app (I'm therefore on component A), it won't let me access B, the other routes are fine.
I go to C, refresh, I get the bug. But now I can go to B. Once in B, if I refresh, the issue "teleports itself" and now B has an issue again but I can access C.
At ANY point, I can access D, no problem. This route doesn't seem to be problematic. Even if I refresh.
Problematic routes seem to be the ones with params in them... However, I can't access route B (which has params) from the root of my site (which doesn't have any). So, there is an issue even when first starting the site.
I tried to use createHashHistoryMode instead, no luck, same behaviour.
I basically can access the whole site but I need to make the bug appear somewhere (by refreshing a problematic component) and then I can access the previously problematic route...
Any idea?
It will be hard to share the code, that's a massive project with a back end and because it's working locally, I can't really replicate the behaviour on demand and like I said, it used to work for months on end so, I'd just be sharing a working code anyway.
Thanks!

Related

Page not found java project deployed using tomcat [closed]

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.

Strange prefix (/A\) in ABAP call stack

Generally I try to make my questions Reproducible.
In this case I couldn't find a way. Please feel free to guide me how to grab more details and I will attach.
In some cases, we are using the ABAP call stack programmatically to get additional info. I.E: logging user calls, accessing variables from lower calls in the stack as a last resort when there is no other proper way to retrieve them.
We have encountered a case, in which weird chars were added as a prefix in the call stack for central programs of HR module 'MP9XXX00'(Module-Pool generated programs for customer-specific PA infotypes). The weird chars are /A\.
The full string for calling program is /A\MP9XXX00.
The code used to get the whole call stack:
lt_call = cl_abap_get_call_stack=>format_call_stack_with_struct( cl_abap_get_call_stack=>get_call_stack( ) ).
There aren't such programs /A\MP9XXX00 in SE80.
Also, when tried to receive variables from calling program as mentioned, like this:
ASSIGN |( { ls_call-prog })PSYST| it failes, it caused dump. And when we looked into ST22 the stack didn't contain any /A\MP9XXX00 but just MP9XXX00 (ls_call-prog contained /A\MP9XXX00).
As said, we didn't manage to reproduce and debug it. just saw the result.
Where could those chars come from?
What we thought of
We thought that it might be related to the fact that our customer namespace starts with /A, but still, why it's shown up? why just a few times? why just the first two characters? and where did the other \ come from?
We thought that the prefix /A\ might be temporary added to (those) program names, say while importing related transport requests. And that maybe A is for Active/Activating. What made us think so is that it happens more in QA than in production.

Bitdefender detects my console application as Gen:Variant.Ursu.56053 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I've developed a console application that does a lot of routines, but the Antivirus detected it as a malware of type Gen:Variant.Ursu.56053.
How can I fix this without touching the antivirus policy because it's not allowed for us to create any exceptions for any found threat.
I'd like also to mention that If i changed the assembly name the antivirus is no longer consider the new file virus, but it looks that it considers it virus because I invoke it many times, with different parameters.
Any suggestions, I'm really suffering from this,
I know this thread is very old, but for people which will come here - to fix this issue simply add icon to the program, im not even joking, it works.
FALSE +VE ALERT!!! Many antivirus engines have name pattern matching as their Swiss-knife to detect malicious files,If any of them matches the name they have in their Database then you can't do much about it. Its simply became a False +ve !!! Also your assembly name should consist of the technology area and component description, or company name and technology area (depending on your preferance). So try changing it to more specific one. :)
Assuming that you are talking about .NET (with relation to Visual Studio) For Ex:
Project: Biometric Device Access
Assembly: BiometricFramework.DeviceAccess.dll
Namespace: ACME.BiometricFramework.DeviceAccess
I had the same problem with Bitdefender, but mine is a Gen:Variant.Ursu.787553 when I tried creating a .exe file from my C program.
I simply moved it out of quarantine manually, and it worked well. You might have to that every time you build a new program. Hope this helps!

Notepad++ starting REALLY slow and not showing text [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm just going crazy about this but I can't find a solution so I'm here to ask for a help.
I've always used Notepad++ but since I've updated to Windows 10 it started not working.
When I open it N++ takes a long time (like.... A LONG time) to be operative (in the meanwhile it stays in "Not Responding").
When finally it unfreezes and I open a file, no text is shown BUT if I try to copy something and paste it somewhere else it does it correctly so I guess it's not a problem of encoding of stuff like these.....
I've tried many times to uninstall N++, clear all the files on the HDD and even eliminate registry keys but when I install it again nothing changes....
I'm desperate please help me!!!
I started having this issue too recently, and found that I had opened up a text file on my network at work, made some changes but hadn't saved it. Then when I got home (where I didn't have access to the network) Notepad++ opened really slow...
Some ideas to try to identify the problem:
Make sure you don't have any file loaded before closing notepad++. Specially files on net shares
If using the project tree Window (Folder as Workspace), try to close it. Specially if you have a huge workspace
Check executable compatibility mode. Is it changed?
Disable any 'check for updates' option (this includes notepad++ check for itself and also all plugins that have a similar option)
Uninstall/disable any notepad++ plugin
Try with a portable version. On the notepad++ site there are both installers and zip packages
Try with 32bit and 64bit versions
Try to delete this folder: "%APPDATA%\Notepad++" (maps to C:\Users\YOUR_USER\AppData\Roaming\Notepad++)
Try to temporarily disable the antivirus. Or add some exception to the path of Notepad++/Notepad++ portable
Create a clean new user and run it from there. Perhaps this is something wrong with some registry keys, so a clean state could work
The official site is here. (Just in case you downloaded it from elsewhere)
I was looking for a solution earlier and it seems like I fixed it myself by updating the application manually (even though "auto-updater" was on). Now the startup times are greatly improved.
Go to Plugins -> Plugin Manager -> Show Plugin Manager. Click the "Updates" tab. Hit the Update button and restart the application until your list of obsolete components / plugins is empty.

Project compiles for simulator but gives 40 errors when compiling for device [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Yesterday I had a huge problem - suddenly my cocos2d project stopped compiling. You can read the story here: My cocos2d project stopped compiling! Over 40 errors! What to do?
Apparently something changed the folder name and it was the reason. I have made a new project, copied my files into it, verified that everything worked, made a snapshot and zip backup and went to sleep. Now when I did a small change to code and compiled it for simulator it worked.
But when I tried to compile it for device I got same 40 errors.
This is really killing me.
I use ARC-enabled cocos2d project.
If you want to check it out yourself here is the project - https://www.dropbox.com/s/eic1llpri6x6akt/BusterballBackupV1.0.zip
Restoring snapshot or from zip file didnt help either.
I think the problem might be with that:
When you look on the pane to the left of Xcode where you see your project layout there is a folder named Products. It contains two items in it - app itself and libcocos2d-library.a.
When I checked out fresh template they are black and have some strange path in the depth of xcode. But after I add files they go red and lose paths. What can be done about that? I cannot find that file (libcocos2d-library.a)
The problem is caused by the configuration of the static library target. The option "Always Search User Paths" should be set to NO. Here are the steps:
Choose the target cocos2d-library
In the right side, choose the Build Settings,
Find Always Search User Paths and set it to be NO
Build the project. It should be OK. The xCode version I used is Version 4.4 (4F250)