Skip to content

Instantly share code, notes, and snippets.

View nicolas-f's full-sized avatar

nicolas-f nicolas-f

View GitHub Profile
@nicolas-f
nicolas-f / log.txt
Created August 10, 2017 07:14
duplicati Traceback
Server has started and is listening on 127.0.0.1, port 8200
Invalid type Microsoft.WindowsAzure.Storage.Blob.BlobEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions:<EncryptionPolicy>k__BackingField
Invalid type Microsoft.WindowsAzure.Storage.Queue.QueueEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions:<EncryptionPolicy>k__BackingField
Invalid type Microsoft.WindowsAzure.Storage.Table.TableEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Table.TableRequestOptions:<EncryptionPolicy>k__BackingField
Full thread dump:
"IO Threadpool worker" tid=0x0x65b34e906700 this=0x0x65b355e35fb0 thread handle 0x42e state : interrupted state owns ()
"Threadpool worker" tid=0x0x65b34c20f700 this=0x0x65b31d61aa38 thread handle 0x8f9 state : interrupted state owns ()
@nicolas-f
nicolas-f / gist:5813901
Created June 19, 2013 12:27
stack trace 2 np
Exception occurred during event dispatching:
java.lang.NullPointerException
at org.orbisgis.view.toc.actions.cui.LegendTree.refreshIcons(LegendTree.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:57)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
@nicolas-f
nicolas-f / gist:5813790
Created June 19, 2013 12:09
stack trace
org.apache.commons.math3.exception.OutOfRangeException: valeur de quantile -87,889 hors bornes, doit être dans l'intervalle ]0, 100]
at org.apache.commons.math3.stat.descriptive.rank.Percentile.setQuantile(Percentile.java:474)
at org.apache.commons.math3.stat.descriptive.DescriptiveStatistics.getPercentile(DescriptiveStatistics.java:428)
at org.orbisgis.view.toc.actions.cui.legends.stats.Thresholds.getQuantiles(Thresholds.java:89)
at org.orbisgis.view.toc.actions.cui.legends.stats.Thresholds.getThresholds(Thresholds.java:37)
at org.orbisgis.view.toc.actions.cui.legends.PnlAbstractCategorized.onComputeClassification(PnlAbstractCategorized.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
@nicolas-f
nicolas-f / gist:5813087
Created June 19, 2013 09:46
Orbisgis PR #442 compilation error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project orbisgis-view: Compilation failure: Compilation failure:
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[45,21] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[157,20] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/panels/UomCombo.java:[18,21] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/panels/UomCombo.java:[60,20] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[160,39]
@nicolas-f
nicolas-f / Trampoline
Created May 30, 2013 07:37
DockingFrame stack trace error
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.Error: Trampoline must not be defined by the bootstrap classloader
at java.beans.EventHandler.invokeInternal(EventHandler.java:470)
at java.beans.EventHandler.access$000(EventHandler.java:261)
at java.beans.EventHandler$1.run(EventHandler.java:411)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.EventHandler.invoke(EventHandler.java:409)
at com.sun.proxy.$Proxy1.actionPerformed(Unknown Source)
at org.orbisgis.view.components.actions.DefaultAction.actionPerformed(DefaultAction.java:133)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
ERROR [AWT-EventQueue-0] (RunnableBackgroundJob.java:73) - Erreur fatale lors du processus Chargement de la source de donnée
java.lang.RuntimeException: Impossible d'ajouter la couche vers la destination
at org.orbisgis.view.toc.Toc$DropDataSourceListProcess.run(Toc.java:1319)
at org.orbisgis.view.background.Job.run(Job.java:74)
at org.orbisgis.view.background.RunnableBackgroundJob.run(RunnableBackgroundJob.java:71)
at java.lang.Thread.run(Thread.java:722)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
@nicolas-f
nicolas-f / styleBug.se
Created April 3, 2013 09:22
Throw NPE on SE simple panel editor
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:Style xmlns:ns1="http://www.opengis.net/ows/2.0" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns3="http://www.opengis.net/ows-context" xmlns:ns4="http://www.opengis.net/se/2.0/core" xmlns:ns5="http://www.opengis.net/fes/2.1" xmlns:ns6="http://www.opengis.net/gml" xmlns:ns7="http://www.opengis.net/kml/2.2" xmlns:ns8="http://www.w3.org/2005/Atom" xmlns:ns9="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:ns10="http://www.opengis.net/sld/1.2" xmlns:ns11="http://www.opengis.net/se/2.0/thematic" xmlns:ns12="http://www.opengis.net/wfs/2.1" xmlns:ns13="http://www.w3.org/2001/SMIL20/" xmlns:ns14="http://www.opengis.net/wms" xmlns:ns15="http://www.opengis.net/se/2.0/raster" xmlns:ns16="http://www.w3.org/2001/SMIL20/Language" version="2.0.0">
<ns4:Name>Unnamed Style</ns4:Name>
<ns4:Rule>
<ns4:PointSymbolizer uom="urn:ogc:def:uom:se::px" version="2.0.0">
<ns4:Name>Proportional Point</ns4:Name>
<ns4:MarkGraphic uom="urn
@nicolas-f
nicolas-f / gist:5299714
Created April 3, 2013 09:23
NPE on SE simple editor
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.orbisgis.legend.structure.stroke.constant.ConstantPenStrokeLegend.<init>(ConstantPenStrokeLegend.java:56)
at org.orbisgis.legend.structure.graphic.ProportionalWKNLegend.<init>(ProportionalWKNLegend.java:59)
at org.orbisgis.legend.thematic.proportional.ProportionalPoint.<init>(ProportionalPoint.java:78)
at org.orbisgis.legend.analyzer.symbolizers.PointSymbolizerAnalyzer.analyze(PointSymbolizerAnalyzer.java:91)
at org.orbisgis.legend.analyzer.symbolizers.PointSymbolizerAnalyzer.<init>(PointSymbolizerAnalyzer.java:62)
at org.orbisgis.legend.thematic.factory.LegendFactory.getLegend(LegendFactory.java:69)
at org.orbisgis.legend.thematic.factory.LegendFactory.getLegend(LegendFactory.java:57)
at org.orbisgis.view.toc.actions.cui.LegendsPanel.init(LegendsPanel.java:126)
at org.orbisgis.view.toc.Toc.onSimpleEditor(Toc.java:994)
@nicolas-f
nicolas-f / dp.py
Last active August 29, 2015 13:57 — forked from zed/dp.py
#!/usr/bin/env python
"""Find height, width of the largest rectangle containing all 0's in the matrix.
The algorithm for `max_size()` is suggested by @j_random_hacker [1].
The algorithm for `max_rectangle_size()` is from [2].
The Python implementation [3] is under CC BY-SA 3.0
(if you need other license, e-mail me)
[1]: http://stackoverflow.com/questions/2478447/find-largest-rectangle-containing-only-zeros-in-an-nn-binary-matrix#comment5169734_4671342