This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:45:07,917 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."Censo.war#": org.jboss.msc.service.StartException in service jboss.persistenceunit."Censo.war#": Failed to start service | |
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_27] | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_27] | |
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_27] | |
Caused by: javax.persistence.PersistenceException: Unable to build EntityManagerFactory | |
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914) | |
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) | |
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebFilter(filterName = "/FiltroPaginas", urlPatterns = { | |
"/private/pages/primeiroAcessoServidor.jsf", | |
"/private/pages/principal.jsf", | |
"/private/pages/selecaoVinculo.jsf", | |
"/private/pages/alterarSenha.jsf" | |
}, dispatcherTypes = { | |
DispatcherType.REQUEST, | |
DispatcherType.FORWARD, | |
DispatcherType.INCLUDE | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root cause | |
java.util.NoSuchElementException | |
com.google.common.collect.Iterators$1.next(Iterators.java:65) | |
br.gov.frameworkdemoiselle.util.Beans.getReference(Beans.java:76) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input = [1,4,1,4,6,5,5,5,4,2,3] | |
predicate = [1,3,5] | |
output = [] | |
def init(): | |
for i in predicate: | |
if input.count(i) > 0: | |
output.append([getandpop(i) for row in range (0, input.count(i))]) | |
print output | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
primosEntreSi :: [Integer] -> Integer -> [Integer] | |
primosEntreSi [] _ = [] | |
primosEntreSi (n:ns) m = if (mod n m) == 0 | |
then primosEntreSi ns m | |
else (n) : primosEntreSi ns m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interpreter.hs:22:15: | |
`StateTransformer' is not applied to enough type arguments | |
The first argument of `Show' should have kind `*', | |
but `StateTransformer' has kind `* -> *' | |
In the instance declaration for `Show (StateTransformer)' | |
Failed, modules loaded: none. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP ERROR 500 | |
Problem accessing /palestra. Reason: | |
exception raised, check root cause for details: java.lang.NoClassDefFoundError: sun.reflect.ReflectionFactory is a restricted class. Please see the Google App Engine developer's guide for more details. | |
Caused by: | |
br.com.caelum.vraptor.InterceptionException: exception raised, check root cause for details: java.lang.NoClassDefFoundError: sun.reflect.ReflectionFactory is a restricted class. Please see the Google App Engine developer's guide for more details. | |
at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:96) | |
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/produto/novo | |
java.lang.RuntimeException: java.io.NotSerializableException: com.google.apphosting.runtime.jetty.SessionManager | |
at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:358) | |
at com.google.apphosting.runtime.jetty.DatastoreSessionStore.createEntityForSession(DatastoreSessionStore.java:71) | |
at com.google.apphosting.runtime.jetty.DatastoreSessionStore.saveSession(DatastoreSessionStore.java:93) | |
at com.google.apphosting.runtime.jetty.SessionManager$AppEngineSession.save(SessionManager.java:153) | |
at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:41) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) | |
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public synchronized V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { | |
if ((result == null) && (exc == null)) { | |
unit.timedWait(this, timeout); | |
} | |
if (exc != null) throw exc; | |
if (result == null) throw new TimeoutException("Object not returned in time allocated."); | |
return result; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DateTools { | |
private final static TimeZone GMT = TimeZone.getTimeZone("GMT"); | |
private static final SimpleDateFormat YEAR_FORMAT = new SimpleDateFormat("yyyy", Locale.US); | |
private static final SimpleDateFormat MONTH_FORMAT = new SimpleDateFormat("yyyyMM", Locale.US); | |
private static final SimpleDateFormat DAY_FORMAT = new SimpleDateFormat("yyyyMMdd", Locale.US); | |
private static final SimpleDateFormat HOUR_FORMAT = new SimpleDateFormat("yyyyMMddHH", Locale.US); | |
private static final SimpleDateFormat MINUTE_FORMAT = new SimpleDateFormat("yyyyMMddHHmm", Locale.US); | |
private static final SimpleDateFormat SECOND_FORMAT = new SimpleDateFormat("yyyyMMddHHmmss", Locale.US); |