Continous exceptions in JSE 8 IDE
Hi,
Lastly, it has been happening more and more often that the IDE (SJSE8 on Linux, up to date with current patches) launchs an exception like this (or similar):
Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getJavadocFile(ClassFileInfoUtil.java:705)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getHtmlReader(ClassFileInfoUtil.java:633)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createParamsInfo(ClassFileInfoUtil.java:582)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createMethodInfo(ClassFileInfoUtil.java:213)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFileInfoUtil.java:153)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFileInfoUtil.java:66)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getResInfoFromClassFile(ResourceImpl.java:413)
I've searched in the forum and I've found previous threads about this. In some of them, it was said that this is "standard behaviour" with NetBeans and that the only workaround was to clean .jstudio/Ent8/var/cache/. So I did it, and problems went away... for a few days.
Now it is happening again, and cleaning the .../var/cache directory doesn't seem to help at all. IDE is almost unusable, because the exception is thrown every time the IDE tries to offer contextual help of methods, or check the syntax. Basically, if I leave the cursor resting for more than two seconds, the exception window appears.
Is there anything I can do to relieve the problem? I'd rather not upgrade to NB 5.5 or so if possible, because I've read that it changes the project information files and I wouldn't be able to downgrade if needed. Besides, it requires more memory (min. 512 MB) and it could be a bit too much for my laptop (512 MBytes, 1,3 GHz Celeron).
TIA
I'm curious why you are so
reluctant about moving to NetBeans 5.5 + Enteprirse
Pack 5.5. They ARE better performing and more stable
than JSE 8.Because, while I usually work in my desktop computer (AMD XP 2800+, 1 GB RAM), I want to be able to work also in my laptop (I have Linux on both machines and got a scripting procedure to keep them in sync), and my laptop only has 512 MB RAM, while Netbeans 5.5 requires just that and recommends 1 GB:
http://www.netbeans.org/community/releases/55/relnotes.html#system_requirements
And I'm not sure that's going to fix the problem. I think I'm going to try first updating JDK to 1.5.0.7 (I have 1.5.0.6).
Similar Messages
-
My messaging works for all of my contacts, using iphone or android, except one. Any ideas why?
First thing I would expect is a wrong number. Second might be something at the recipients end.
-
Why catching Exception is bad idea??
Hi,
Why it is said that catching an Exception is a bad idea. Any how we get the actual cause in stackTrace of Exception object.!
Plz helpCatching exceptions (lowercase e) is not a bad thing. Catching Exception (uppercase E) is generally bad.
Lowercase e exceptions refer to the entire Throwable hierarchy--everything that can be thrown and caught. Often you want to catch and handle them, or catch and wrap and rethrow them.
Uppercase E Exception is a particular class of exception, and it's the parent class of all checked exceptions and many unchecked exceptions. When your code has catch Exception, you're saying that almost no matter what goes wrong, you want to handle it the same way. And you're also assuming that if the methods that you're calling change to throw more or fewer exceptions, your code won't need to know or care about it.
In general you want to catch more specific subclasses of Exception, so that you can handle each one properly, and you know that your code is handling precisely the correct set of exceptions. -
Function Module CHANGEDOCUMENT_PREPARE_TABLES causing exception
halo experts
I am using FM CHANGEDOCUMENT_PREPARE_TABLES for comparing PBO and PAI records .
I am passing the PBO and PAI records as input parameters to the FM . it was working fine. Once I changed the structure of the table ( I added some CURR fields to it ) it is throwing an exception CX_SY_RANGE_OUT_OF_BOUND
Anyone has idea regarding the same
Regards
ArshadHi Arshad,
Hope you have included the new field in both Old and New Table Structure.
Regards
Bala -
Exception while creating Data Control
Good day house,
I have been doing some research on using business components design in other IDEs with Oracle ADF faces within JDeveloper 11g.
I went through the following steps
create a Java EE web application - a model and viewcontroller project
imported my EJB project jar file - but I could not get an icon to show me the beans within my jar, so I imported the source instead
On importing the source, I right click on my bean classes and chose create Data control but it comes with an exception
May 27, 2009 2:15:10 AM oracle.javatools.logging.LogUtils log
WARNING: Plugin threw exception: oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin@1439ad
java.lang.NullPointerException
at oracle.adfdtinternal.model.ide.dbpanel.jclient.JClientUtil.getContextFromEditor(JClientUtil.java:539)
at oracle.adfdtinternal.model.ide.datatransfer.jclient.PaletteItemProviderInfo.dropOnSameFile(PaletteItemProviderInfo.java:83)
at oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin.handleDataControlInfo(JClientJavaSourceNodePlugin.java:80)
at oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin.augmentImpl(JClientJavaSourceNodePlugin.java:56)
at oracle.javatools.datatransfer.AbstractTransformingDataTransferPlugin.augmentIfDesired(AbstractTransformingDataTransferPlugin.java:65)
at oracle.javatools.datatransfer.DataTransferPluginRegistry._runPlugin(DataTransferPluginRegistry.java:151)
at oracle.javatools.datatransfer.DataTransferPluginRegistry.performAugmentation(DataTransferPluginRegistry.java:98)
at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener._getTransferable(DataPanelDropListener.java:331)
at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener.drop(DataPanelDropListener.java:253)
at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener.drop(DataPanelDropListener.java:114)
at java.awt.dnd.DropTarget.drop(DropTarget.java:434)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
at java.awt.Component.dispatchEventImpl(Component.java:4358)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4036)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3890)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Hence, I have two question
1. Can I create my data control from the bean interfaces instead of the bean?
2. Why the exception? Is it a problem with my JDeveloper installation?
3. Is it also possible to create a data control from any plain java object/interface.
thanks in advanceDid you create the weblogic domain with the Oracle Webcenter Spaces option selected? This should install the relevant libraries into the domain that you will need to deploy your application. My experience is based off WC 11.1.1.0. If you haven't, you can extend your domain by re-running the Domain Config Wizard again (WLS_HOME/common/bin/config.sh)
Cappa -
IDOC send step not running with exception in BPM?
Hello,
hope this is a simple question, but we are running with a problem here which is not answered well in SAP help or sdn. Possibly I didn´t find the right blog.
Situation:
We created a BPM with a send step (IDOC receiver) in a block (after a receive step starting the BPM) (That´s simple so far!).
The send step (async IDOC) in the block is connected in its attributes in field "system error" to an exception branch defined in the same block.
In this except.branch the process should send back to sender system a message via RFC and the last step in this exception branch is to interrupt the proces.
But now we tried to do a test. In this test we modified the receiver address of the send step (IDOC reciver) so that the receiver could not be reached, which results in a system error in SXMB_MONI (Service unavailable).
But this doesn´t work. The BPM starts the send step to the unavailable receiver, SXMB_MONI shows a system error step, but then the BPM continues with the next step after the block without starting the exception branch.
Any idea why the exception branch is not called?
Best regards
DirkHello again,
we are one step further now.
We did the same with an RFC instead of the IDOC send step.
Same result:
The service is not reachable. So the step results in an system error.
But as we could see in the monitoring SXMB_MONI the block with the exception and this send step (RFC) is passed before the step gives back this error!
So it looks like connection problems do not trigger an exception?
Any help is welcome!
Best regards
Dirk -
Jdeveloper 11g + decode syntax exception
Hello,
I am using Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536.
When I add decode sql function in order by clause,following exception throws in Jdeveloper IDE. it looks like pattern issue,any clue??
SEVERE: exception visiting oracle.xml.parser.v2.XMLAttr@6e80b2
DeptView.xml [1047:1063) [45,4:45,20)
44: <ViewLinkAccessor
45: Name="EmpEOView"
46: ViewLink="model.WorksInDeptLink"
47: Type="oracle.jbo.RowIterator"
java.util.regex.PatternSyntaxException: Unclosed group near index 16
\bDECODE(DNAME\b
^
at java.util.regex.Pattern.error(Pattern.java:1713)
at java.util.regex.Pattern.accept(Pattern.java:1571)
at java.util.regex.Pattern.group0(Pattern.java:2533)
at java.util.regex.Pattern.sequence(Pattern.java:1806)
at java.util.regex.Pattern.expr(Pattern.java:1752)
at java.util.regex.Pattern.compile(Pattern.java:1460)
at java.util.regex.Pattern.<init>(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at oracle.jbo.dt.dependency.xdf.SQLReferenceFactory.getStartIndex(SQLReferenceFactory.java:286)
Thanks
RBTo anyone else encountering this:
I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
Regards,
Jacob -
Cannot get exception-type to work
WLS 60 SP1 (#101616)
Cannot get <exception-type> to work. WLS shows standard “Internal error
500” page instead of a custom error page. The custom error page is shown
if <error-code> is used instead of <exception-type>.
Any ideas? Thanks
Hi @utopian,
Welcome to the HP Forums!
I understand that you cannot scan with your HP Officejet Pro 8500 on Windows 7 using a wireless network. I am happy to look into this issue for you!
Please take a look through this scanning guide, A 'Connection Error' or 'No Computer Detected' Error Message Displays during Scanning for HP Officej....
Hope this guide helps!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
exception-type in web.xml does not appear to work
WLS 60 SP1 (#101616)
<exception-type> in web.xml does not appear to work. WLS shows standard
"Internal error 500" page instead of a custom error page. The custom error
page is shown if <error-code> is used instead of <exception-type>.
Any ideas? Thanks
Can you show me some of your code? This works for me.
Also, you say that you are working with 6.0sp3. Are you sure? sp3 hasn't been
released yet, except in a very limited beta. (I believe only internally, but I
could be wrong about that.)
David
[email protected] wrote:
Hi all,
I have created a very simple servlet and an index.html file with a link
to it, then packaged it into a WAR file with the appropriate web.xml and
ias-web.xml files. I then created an application.xml file referencing
only this servlet and adding a context root. After deployment via
"iasdeploy deployapp simple.ear" and cycling the web server, I can reach
the welcome file (index.html) correctly
-"http://localhost/NASApp/simple". When I attempt to follow the link to
the servlet ("simple servlet") the URL ends
up as "http://localhost/NASApp/SimpleServlet" whereas it should be
http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
servlet executes fine.
I've deployed this into Tomcat and get the behavior I expect. It appears
that the element in the application.xml file is ignored by
iAS.
I'm using iAS SP3 on Win2k (same problem on NT).
This is such a basic behavior that I can't believe this is an existing
bug. I must be doing something wrong...
Any ideas?
Thanks in advance,
-Glen
Files are attached.
Name: simple.ear
simple.ear Type: application/x-unknown-content-type-ear_auto_file
Encoding: base64
Description: filename="simple.ear" -
I have tried to implement jasper report but getting exceptions at run time
I have tried to implement jasper report but getting exceptions at run time and I couldn't get the reason of these exceptions. please give me idea to solve this problem.
I am using following jar files for this :
commons-beanutils-1.6.1.jar
commons-digester-1.7.jar
commons-logging.jar
jasperreports-1.2.0.jar
code is as follows:-
(1) xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jasperReport
PUBLIC "-//JasperReports//DTD Report Design//EN"
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="Simple_Report">
<detail>
<band height="20">
<staticText>
<reportElement x="180" y="0" width="200" height="20"/>
<text><![CDATA[Hello World!]]></text>
</staticText>
</band>
</detail>
</jasperReport>
(2.) java file
import net.sf.jasperreports.engine.*;
import net.sf.jasperreports.engine.xml.*;
import org.xml.sax.*;
import org.apache.commons.digester.Digester;
import org.apache.commons.digester.RuleSetBase;
import java.util.*;
public class JasperReportsIntro
public static void main(String[] args)
JasperReport jasperReport;
JasperPrint jasperPrint;
try
jasperReport = JasperCompileManager.compileReport(
"jasperreports_demo.jrxml");
jasperPrint = JasperFillManager.fillReport(
jasperReport, new HashMap(), new JREmptyDataSource());
// JasperExportManager.exportReportToPdfFile(
// jasperPrint, "jasperReports/simple_report.pdf");
catch (JRException e)
e.printStackTrace();
I am getting exceptions like:
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
/home/navneet/Simple_Report_1143636234024_954843.java:4: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
/home/navneet/Simple_Report_1143636234024_954843.java:5: package net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
/home/navneet/Simple_Report_1143636234024_954843.java:18: cannot find symbol
symbol: class JREvaluator
public class Simple_Report_1143636234024_954843 extends JREvaluator
^
/home/navneet/Simple_Report_1143636234024_954843.java:25: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:26: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_CONNECTION = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:27: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:28: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:29: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:30: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:31: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_LOCALE = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:32: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:33: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_SCRIPTLET = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:34: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
private JRFillParameter parameter_REPORT_MAX_COUNT = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:35: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
private JRFillVariable variable_PAGE_NUMBER = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:36: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
private JRFillVariable variable_COLUMN_NUMBER = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:37: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
private JRFillVariable variable_REPORT_COUNT = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:38: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
private JRFillVariable variable_PAGE_COUNT = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:39: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
private JRFillVariable variable_COLUMN_COUNT = null;
^
/home/navneet/Simple_Report_1143636234024_954843.java:62: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
^
/home/navneet/Simple_Report_1143636234024_954843.java:63: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
^
/home/navneet/Simple_Report_1143636234024_954843.java:64: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
^
/home/navneet/Simple_Report_1143636234024_954843.java:65: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
^
/home/navneet/Simple_Report_1143636234024_954843.java:66: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
^
/home/navneet/Simple_Report_1143636234024_954843.java:67: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
^
/home/navneet/Simple_Report_1143636234024_954843.java:68: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
^
/home/navneet/Simple_Report_1143636234024_954843.java:69: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
^
/home/navneet/Simple_Report_1143636234024_954843.java:70: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
^
/home/navneet/Simple_Report_1143636234024_954843.java:71: cannot find symbol
symbol : class JRFillParameter
location: class Simple_Report_1143636234024_954843
parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
^
/home/navneet/Simple_Report_1143636234024_954843.java:88: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
^
/home/navneet/Simple_Report_1143636234024_954843.java:89: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
^
/home/navneet/Simple_Report_1143636234024_954843.java:90: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
^
/home/navneet/Simple_Report_1143636234024_954843.java:91: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
^
/home/navneet/Simple_Report_1143636234024_954843.java:92: cannot find symbol
symbol : class JRFillVariable
location: class Simple_Report_1143636234024_954843
variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
^
33 errors
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at com.appnetix.app.portal.financials.reports.RoyaltyReportAction.execute(RoyaltyReportAction.java:68)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.appnetix.app.control.web.AppnetixRequestProcessor.process(AppnetixRequestProcessor.java:149)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.appnetix.app.control.web.AppnetixControllerServlet.doPost(AppnetixControllerServlet.java:262)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)You have no permission to create a report. You have to create a permisson-entry into your server.policy. Then it would be work.
-
Error in Form Printing ADS: SOAP Runtime Exception
Hi Gurus,
while printing the PF forms or form 16 for that matter i am getting an error
ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)
Any idea as to why the same is coming..and how to go about solving the issue..........
Regards
AnkushCheck with ADS (Adobe Development Server) configurations with BASIS people.
They will solve this.
Regards
...Sadhu -
Asynchronous Web Services raising NULL exception
Hello experts,
I'm consuming an asynchronous WS in my WD App, I'm not expecting any response from this WS but when I execute te request I'm getting a NULL exception.. Any ideas in how to handle this WS or how to call them.. I already tested the WS with other tools like soapUI and XI's SXMB_MONI trx and I can check that the WS is working properly with the parameters I'm sending from the WD... the thing is that I'm always getting the null exception and I don't know what else to do..
Thanx in advance
JVDetailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters_DocumentStyle(DOperationImpl.java:59)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters(DOperationImpl.java:46)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.<init>(DOperationImpl.java:40)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.initOperationNameToOperationMapping(DInterfaceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.<init>(DInterfaceImpl.java:55)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initPortNameToInterfaceMapping(DGenericServiceImpl.java:78)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:91)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:419)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:325)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:198)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1029)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:247)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.intelematica.issste.modelos.wsmifoviprevalidao.WSMIfoviPreValidaO.<init>(WSMIfoviPreValidaO.java:45)
at com.intelematica.issste.webdynpro.FIVISSSTE_Presupuesto_comp.wsMIfoviPreValidaO(FIVISSSTE_Presupuesto_comp.java:125)
at com.intelematica.issste.webdynpro.wdp.InternalFIVISSSTE_Presupuesto_comp.wsMIfoviPreValidaO(InternalFIVISSSTE_Presupuesto_comp.java:212)
at com.intelematica.issste.webdynpro.FOVISSSTE_Presupuestos_View.onActionUploadFile(FOVISSSTE_Presupuestos_View.java:272)
at com.intelematica.issste.webdynpro.wdp.InternalFOVISSSTE_Presupuestos_View.wdInvokeEventHandler(InternalFOVISSSTE_Presupuestos_View.java:153)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) -
Proper use of Exceptions..
Hi all,
I consider myself a fairly competent Java developer. However, and some of you will no doubt say I am not competent for asking this, I can't help but be mystified over the right way to use exception handling. This is a broad question, so let me narrow it down to two specific areas, the UI/client side, and the server side. I am familiar with log4J, JDK 1.4 logging, etc, so I am aware of logging exceptions at runtime for possible use in debugging a problem as well, although this may be yet another topic of discussion... is it good to log exceptions, or should they always be handled and thus never need to be logged?
So, the client/awt/swing application: When and how should they be used? Should I wrap the entire app in a try..catch block that catches Throwable, and throughout my code whereever an exception can occur, allow it to propogate to the main handler? IF so, does that handler do some checks and in some cases display a dialog to the user, and in some cases ignores them? Let's cut out the small things like a NumberFormatException where you convert a string to an int, this and others like it are generally consumed at the spot and not displayed to a user "Hey, somewhere, I tried converting this string to a number and it didn't work..". I know this isn't something you display, at least usually.
I have read that it is better to catch a general exception instead of specific exceptions, and then again I have read the opposite as well. These articles coming from supposed knowledgeable developers, so it throws a monkey wrench in figuring out what is the best way to use them. I have read that if you don't plan on handling it, rethrow it, possibly with an application specific wrapper exception to detail the issue more, OR better yet, add the throws clause and don't even try to handle it so that it gets thrown up the chain of method execution so someone else can handle it. I have read anytime you have the possibility of an exception, catch it and do something right there. So, in the case of a client/swing type of app, what is the rule of thumb?
On the server side it is of course a bit different in that nothing usually gets back to the client, or at least, most shouldn't. If a client accesses EJB that does some logic, such as a DB search and can't find results, no doubt it doesn't need to throw an exception, but instead return null, right? I do realize the scope of this is broad. Is it a client swing/web app talking to EJB via Remote objects, is the servlet in the same JVM as the ejb, does the particular error need to go back to the client, such as no results found, or should it stay, be handled and consumed on the server side? What about the case where you are running a server daemon, something that just continually runs, like an FTP server or something? How are those handled?
Anyway, I would love to really understand the nature of how these should be used in different scenarios. I look forward to some replies, detailed if necessary.
Thank you.Do NOT ever catch Exception: you lose all granularity and make
maintenance harder.I strongly disagree. 2 good reasons:
1. An error/exception might occur in between 2 operations/changes that must be synched. If one fail, the application must make sure to change back everything that is not consistent within the application.
2. An error on a low level makes no sense to the user. I use to catch exceptions at key-points of the application and restate more informative what has failed.
* Exception chaining/trees
If a bulk operation had multiple failures, the exception that came
back had a dotted list to be displayed to the user.With the new Exception in Java 1.4 forward is excellent for exception-chaining. You could improve that to be a list of errors as stated above or even an exception-tree.
* Informative information
For each exception in an exception chain you could state how informative that exception is, which must of course be done in your own Exception class. Then you might choose to only show the most informative exceptions in the chain.
* Error code
Errocode is good to be able to make a more informative documentation on the side, what different errors are.
* Status / kind
You should also keep track of what kind of exception your application throws, which once again is easier to keep track of in your own exception, eg with a "status" attribute. Then on a FATALERROR you could shut down the program etc.
This Exception may give some ideas (add "informative" attribute etc, make other exceptions inherit this one etc):
public class StatusException extends Exception{
////////////////////// constants ////////////////////////
//Operation successful - probably never used
public final static int SUCCESS=0;
//Operation failed
public final static int FAILURE=1;
//Operation successful, but some information is passed
public final static int INFORMATION=2;
//Operation failed, but retry is encouraged
public final static int AGAIN=3;
//Normal error, eg nullpointerexception
public final static int WARNING=4;
//Internal error, implementation error
public final static int INTERNALERROR=5;
//Serious error, application might need to be restarted
public final static int ERROR=6;
//Serious error and data is corrupted
public final static int FATALERROR=7;
public final static int DEFAULTSTATUS=WARNING;//default status
public final static int GENERALERROR=0;//default error code
///////////////////// attributes ////////////////////////
public int status;
public int errorCode;//a code that is free to use for anything
///////////////////// constructor ///////////////////////
public StatusException(String message, Throwable t, int status, int errorCode) {
super(message,t);
status=_status;
errorCode=_errorCode;
/////////////////////// methods /////////////////////////
public Throwable[] getThrowableTrail(){
ArrayList list=new ArrayList();
Throwable t=this;
while(t!=null){
list.add(t);
t=t.getCause();
Throwable[] trail=new Throwable[list.size()];
list.toArray(trail);
return trail;
Gil -
BSP Exception: Implementation of page changed during runtime
Hello All,
I have developed the BSP application using MVC pattern, which is working absoulutely fine in Development system.
Now I transported the application to QA system and tried to execute that. The transports were successful.
But when tried to test in Quality it gave the above exception. When I debugged the same, I found that create_view method was not executing correctly and was generating the exception message.
Any idea why its causing such problem.Do we need to add some patch to quality system?
Thanks in advance.
Regards
RajeevInfact I re-activated the entire BSP application and now its working fine.
anyways thanks for the reply.
regards
rajeev -
RMI Exception - $Proxy0
hey all,
I am trying to create a Javacard project, such that I enable a host and an applet to
communicate with each other. I created a simple applet, that compiles and is
loaded on the smartcard without problems, but when I try to communicate to it
with my host application I get an exception: "$Proxy0". has anyone idea of what
can be wrong ?
applet = new JCApplet(card, TABLE_APPLET_AID, 0, TABLE_APPLET_AID.length);
// !! NOTE: THIS LINE BELOW CAUSES THE ABOVE EXCEPTION !!!
table = (SampleInterface)RMIObjectFactory.getInitialReference(applet);
I can give the full code, which is actually not big, if someone is more interested.
Thanks in advance.
Edited by: Cih on Nov 11, 2007 9:32 AMIf you copy a class/interface to another package then it is a different class/interface.
Put the common interface in some "shared" package.
Maybe you are looking for
-
Creating a file in a removable disk in runtime
Hi, I want ti create a binary file in a removable flash card in run time. I am using win xp. this removable drive in in IDE channel as a master. there is no user interaction with the application.therefore how do i make sure the i am creating the file
-
My events photo albums have all been renamed with a number followed by IMPRT (deleting the date on which they were taken) Also the photo now showing on the top of each folder is taken from a different event and so is not actually in the album it is s
-
Create two logical columns with same LTS mapping but diff filter conditions
Hi, Problem: How to create two logical columns within same logical table mapped to same physical column but different filter conditions? I have a scenario where in, Physical layer columns - table1.employee - table1.emp_city I need a columns
-
hi, let me know if I authorize my computer with a new app ID, the other apps I purchased with my previuos app iD will be deleted?
-
Hello All, I am running into some odd behavior porting a video filter over from Windows to Mac. As far as I know, the filter is running properly on Windows. The portion of the video filter I am working on that is not necessarily custom is pretty much