This file contains 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
import android.view.View | |
import androidx.fragment.app.Fragment | |
import androidx.viewbinding.ViewBinding | |
abstract class BindingFragment<T : ViewBinding> : Fragment() { | |
private var _binding: T? = null | |
protected val views: T | |
get() = _binding!! |
This file contains 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
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Attribute 'path' not found | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at |
This file contains 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
<New id="ServerLog" class="java.io.PrintStream"> | |
<Arg> | |
<New class="org.mortbay.util.RolloverFileOutputStream"> | |
<Arg> | |
<SystemProperty name="jetty.home" default="." />/logs/yyyy_mm_dd.log | |
</Arg> | |
<Arg type="boolean">false</Arg> | |
<Arg type="int">14</Arg> | |
<Arg> | |
<Call class="java.util.TimeZone" name="getTimeZone"> |
This file contains 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
SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/iqube-dashboard] threw exception [Servlet execution threw an exception] with root cause | |
java.lang.ClassNotFoundException: org.apache.myfaces.shared.util.ClassUtils | |
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701) | |
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546) | |
at org.zeroturnaround.jrebel.myfaces.util.JrMyFacesReloader.getClassLoader(JrMyFacesReloader.java:91) | |
at org.zeroturnaround.jrebel.myfaces.util.JrMyFacesReloader.rebelAnnotationScan(JrMyFacesReloader.java:107) | |
at org.apache.myfaces.config.annotation.DefaultAnnotationProvider.getAnnotatedClasses(DefaultAnnotationProvider.java) | |
at org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:93) | |
at org.zeroturnaround.jrebel.myfaces.util.JrMyFacesReloader.reloadAnnotations(JrMyFacesReloader.java:54) | |
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(L |
This file contains 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
protected override void WndProc(ref Message m) | |
{ | |
Thread.Sleep(100); | |
switch(m.Msg) { | |
case WMConstants.WM_SYSCOMMAND: | |
if(m.WParam.ToInt32() == WMConstants.SC_MINIMIZE) | |
{ |
This file contains 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
protected override void WndProc(ref Message m) | |
{ | |
int message = m.Msg; | |
int wparam = 0; | |
if(m.WParam != null) | |
{ | |
wparam = m.WParam.ToInt32(); | |
} | |
This file contains 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
2011-02-14 12:38:07,499 DEBUG [org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction] (http-0.0.0.0-8090-3) Writing uploaded file to '/usr/local/jboss/510/server/default/tmp/embjopr/uploads/IaaPortal-ear.ear'... | |
2011-02-14 12:38:07,615 DEBUG [org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction] (http-0.0.0.0-8090-3) Wrote 25972908 bytes to '/usr/local/jboss/510/server/default/tmp/embjopr/uploads/IaaPortal-ear.ear'. | |
2011-02-14 12:38:07,636 DEBUG [org.jboss.profileservice.management.ManagementViewImpl] (ResourceContainer.invoker.nonDaemon-2) Not reloading profiles. | |
2011-02-14 12:38:07,636 DEBUG [org.jboss.remoting.InvokerRegistry] (ResourceContainer.invoker.nonDaemon-2) decremented org.jboss.remoting.transport.local.LocalClientInvoker@6a155d66's count, current count 1 | |
2011-02-14 12:38:07,637 DEBUG [org.jboss.remoting.InvokerRegistry] (ResourceContainer.invoker.nonDaemon-2) decremented org.jboss.remoting.transport.local.LocalClientInvoker@6a155d66's count, current count 1 | |
2011-02-14 1 |
This file contains 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 static int checkForNegativeAndReturnPositiveValue(int value) { | |
if (value < 0) { | |
return value * -1; | |
} else { | |
return value; | |
} | |
} |