Skip to content

Content Tagged "error"

Page 1 of 2

Content Tagged "error"

Fix 418 Unused Error on Dreamhost

September 6, 2018Category: IT
TL;DR: Have a look at the error log and then to the violated rule. Suddenly, I started to get 418 errors on one of my sites. I'd just get 418 from the source and as they say: that was that . Normally, I don't even notice such errors, but this one broke a bunch of pages. The 418 errors look in…

Fix Not Found Package Errors with .staging Warnings on Npm Install

September 5, 2018Category: Software
TL;DR : Clean the npm cache and the package-lock.json The other day I started to get ENOENT warning when running npm install like: only to have the compilation failing with something like: I've looked into it and the conclusion was that the error occurred because I've updated my node/npm…

Fix TS1144 for e.g. flex-layout

September 5, 2018Category: Software
TL;DR: Update your typescript version dependency. These days we're updating some angular apps to the most recent version (6 at the time of writing this entry). Everything is nice, with the exception of various errors we get because of the other dependencies. The most recent one was a TS114…

Don't Symlink Indices in ElasticSearch!

November 9, 2017Category: IT
The other day I've been trying to improve the downtime when updating an index in elasticsearch (ES) and I've decided the best approach would be to create a new index and do a symlink to the active one, keeping the valid index. so, my structure would be: Note: this is likely not a best practice…

Fix Jenkins POM Freezer "Wrong Relative POM" Error

October 31, 2017Categories: IT, Tutorial
If you get a build error in Jenkins like: Then you have a POM freezing issue with the parent POM. I.e., the Jenkins plugin has failed to freeze the POM version from a 1.0-SNAPSHOT to an actual 1.0-6034-79 . A cause can be the plugin expects a certain sequence of tags in the POM and doesn't find…

Display a Function's Errors in Oracle

June 30, 2017Categories: Software, Tutorial
TL;DR: Use the power of DBMS_OUTPUT.PUT_LINE , Luke! I've built a function along the lines of: When using the function, I got some 0 results and I wanted to know why. The solution I got was using DBMS_OUTPUT.PUT_LINE : Now, all you have to do is enable DBMS_OUTPUT in your environment and you…

Fix "Multiple dex files define L..." Errors

July 22, 2016Category: Software
Today I got an error when building the APK: Multiple dex files define L/... My scenario is that of a project with 2 modules: a core and an app . Both modules use a plugin named androiddevmetrics , which generate some code, including a class which has the same signature in both modules. The…

Fix Gradle Error: UNEXPECTED TOP-LEVEL EXCEPTION

February 10, 2016Category: Software
Today I got the lovely UNEXPECTED TOP-LEVEL EXCEPTION from the dexer in android. Looking on the net yielded several causes and resolutions. Note : I'm using Gradle 2.10, Android Studio 2.0.0-beta2 Caching Apparently, sometimes Gradle is shooting itself in the foot with the caching. The first thing…

Butterknife: ClassCastException: Symbol$VarSymbol ...

July 10, 2015Category: Software
The other day I decided to update my Butterknife from 6.x.x to 7.x.x. Immediately I noticed some refactoring (e.g. @InjectView became @Bind). I updated my code and got build (from Android Studio's "make"). Unfortunately, when I tried to test it, I got: java.lang.ClassCastException: com.sun.tools…
Next

All tags